# Source2 particle validation

> Source2 particle validation is an open-source agent skill for game design. Checks CS2 particle effects via native compilation, readback and runtime evidence. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/AbsilDylan/cs2-skills/tree/main/source2-particle-validation
- **Repository:** https://github.com/absildylan/cs2-skills
- **GitHub stars:** 10
- **License:** Apache-2.0
- **Skill name:** source2-particle-validation
- **Collection:** https://github.com/AbsilDylan/cs2-skills
- **Categories:** [game design](https://ai-powered.com/categories/game-design)
- **Listing updated:** 2026-12-03

## About

This skill guides an agent through validating Counter-Strike 2 particle effects authored for Source 2. It keeps four results separate: whether the native Workshop Tools compiler accepts the source, whether authored properties survive into compiled output, how the effect behaves at runtime, and how it looks visually. Passing one check does not imply the others pass, and the skill warns against concluding that all properties work from a zero exit code alone.

The workflow centers on a Python helper that stages a fresh isolated addon, compiles textures before dependent assets, and records logs, hashes and fresh outputs. It supports a plan mode that inspects the inventory without writing or launching tools. Separate reference notes cover compiler failures, compiled property readback, control point behavior and visual or game-versus-editor discrepancies.

It expects an installed CS2 Workshop Tools compiler, Python 3.10 or newer using only the standard library, and absolute paths for the game root, source and work folders. An optional Source 2 Viewer CLI can capture binary readback text.

## When your agent uses it

> Validate CS2 particles with the native compiler, compiled-property readback, resource closure and PET/game observations; keep runtime and visual evidence separate.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs Python scripts](https://github.com/AbsilDylan/cs2-skills/tree/HEAD/source2-particle-validation)
- [No network calls found in its scripts](https://github.com/AbsilDylan/cs2-skills/tree/HEAD/source2-particle-validation)
- [License: Apache-2.0](https://github.com/AbsilDylan/cs2-skills/tree/HEAD/source2-particle-validation)

## Features

- **Native compiler run:** Runs the Workshop Tools compiler on a staged addon and records logs, exit status and output digests.
- **Compiled property readback:** Checks whether authored particle properties are retained in compiled output rather than dropped or defaulted.
- **Control point verification:** Tests control point index, position and timing behavior, including nonzero control points.
- **Resource closure inventory:** Lists external materials, textures and models separately to confirm dependencies are accounted for.
- **Visual and runtime separation:** Keeps in-game runtime behavior and visual appearance as distinct evidence from compilation.
- **Isolated addon staging:** Builds a fresh addon for each test and refuses to reuse or overwrite existing addons or assets.

## Good for

- Check whether a CS2 particle effect compiles with the native Workshop Tools compiler
- Find out why a particle property is ignored or reset after compilation
- Verify that a control point moves or rotates the particles as intended
- Confirm that all textures and models a particle effect references are present
- Compare how an effect looks in the game against the editor preview

## Install

### Claude Code

This skill ships in the `cs2-skills` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add AbsilDylan/cs2-skills
/plugin install cs2-skills@absildylan-cs2-skills
```

Or copy only this skill to `~/.claude/skills/source2-particle-validation`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/AbsilDylan/cs2-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/source2-particle-validation &&
cp -R "$tmp/source2-particle-validation" ~/.claude/skills/source2-particle-validation &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/source2-particle-validation` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/source2-particle-validation` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/AbsilDylan/cs2-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/source2-particle-validation &&
cp -R "$tmp/source2-particle-validation" ~/.agents/skills/source2-particle-validation &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/source2-particle-validation` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/source2-particle-validation` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/AbsilDylan/cs2-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/source2-particle-validation &&
cp -R "$tmp/source2-particle-validation" ~/.cursor/skills/source2-particle-validation &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/source2-particle-validation` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/AbsilDylan/cs2-skills.git --path source2-particle-validation
```

Or copy the folder to `~/.gemini/skills/source2-particle-validation` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/source2-particle-validation`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/AbsilDylan/cs2-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/source2-particle-validation &&
cp -R "$tmp/source2-particle-validation" ~/.copilot/skills/source2-particle-validation &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/source2-particle-validation` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/AbsilDylan/cs2-skills.git
```

Then copy `cs2-skills/source2-particle-validation` into your agent's skills folder as `source2-particle-validation`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to run?

Python 3.10 or newer using only the standard library, an installed CS2 Workshop Tools compiler, and absolute paths for the CS2 root, source root and work root. An optional Source 2 Viewer CLI can capture readback text.

### Does a successful compile mean the effect works in game?

No. The skill states that a successful compile still leaves property retention and native visual or runtime behavior unverified.

### Does the skill modify existing addons or Workshop items?

It says it never reuses an existing addon or deletes assets, and it should not change another addon, game configuration, launch option or published Workshop item to complete an isolated test.

### Is the skill tied to one CS2 build version?

No. The build number only dates a check. Historical observations guide probes but do not establish how the currently installed build behaves.

### How do I install Source2 particle validation in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/source2-particle-validation to use it in all your projects, or to .claude/skills/source2-particle-validation in one project. Or install the cs2-skills plugin, which includes it: /plugin marketplace add AbsilDylan/cs2-skills, then /plugin install cs2-skills@absildylan-cs2-skills.

### Does Source2 particle validation run scripts?

Yes. It runs Python scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Source2 particle validation?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Source2 particle validation?

The closest alternatives to Source2 particle validation are Source2 particle control points, Source2 particle reference research, Source2 particle behavior and Source2 particle schema.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Source2 particle control points](https://ai-powered.com/skills/source2-particle-control-points): Source2 particle control points is an open-source agent skill for game design.
- [Source2 particle reference research](https://ai-powered.com/skills/source2-particle-reference-research): Source2 particle reference research is an open-source agent skill for game design.
- [Source2 particle behavior](https://ai-powered.com/skills/source2-particle-behavior): Source2 particle behavior is an open-source agent skill for game design.
- [Source2 particle schema](https://ai-powered.com/skills/source2-particle-schema): Source2 particle schema is an open-source agent skill for game design.

---
Source: https://ai-powered.com/skills/source2-particle-validation
