# Source2 particle control points

> Source2 particle control points is an open-source agent skill for game design. Helps an agent author and debug native CS2 particle control points offline. 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-control-points
- **Repository:** https://github.com/absildylan/cs2-skills
- **GitHub stars:** 10
- **License:** Apache-2.0
- **Skill name:** source2-particle-control-points
- **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 designing and checking Source 2 particle control point (CP) contracts for Counter-Strike 2 effects. It asks for each CP's index, role, value kind, coordinate space, external driver, internal writer, readers and update timing, and warns against assuming a universal meaning for CP0 or CP1. It also covers attachment drivers, transforms, providers and child bindings, and separates declaration evidence from compiled-asset and in-game behavior.

The bundled Python 3 standard library script can list and query an embedded snapshot of CS2 particle classes, enums and fields by module, class or field name, and run a verification mode. Reference notes cover typed inputs and rotations, patterns for beams, distance controls, animation and children, and the provenance of the data. The skill expects a working knowledge of Valve's particle editor (PET) and VPCF files, and it requires no game install or network access for lookup.

The guidance favors explicit test scenarios: distinct endpoint values, a translated origin, a non-identity orientation and motion after emission. It asks for compile logs and fresh property readback before claiming an effect works.

## When your agent uses it

> Author and diagnose native CS2 particle control points, transforms, providers, attachment drivers and child bindings using offline typed contracts.

## 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-control-points)
- [No network calls found in its scripts](https://github.com/AbsilDylan/cs2-skills/tree/HEAD/source2-particle-control-points)
- [License: Apache-2.0](https://github.com/AbsilDylan/cs2-skills/tree/HEAD/source2-particle-control-points)

## Features

- **Control point contracts:** Defines each CP by index, role, value kind, coordinate space, driver and readers.
- **Offline native class lookup:** Queries an embedded CS2 snapshot of particle classes, enums and fields without a game install.
- **Typed input safeguards:** Warns against mixing quaternion, QAngle and provider field types with similar names.
- **Attachment and child bindings:** Separates static preview drivers from runtime attachment and child CP mapping.
- **Verification scenarios:** Lists tests for endpoints, translated origins, orientation and post-emission motion.
- **Portable catalogue tests:** Includes a unittest suite that checks the lookup script and typed invariants.

## Good for

- Design a beam effect that takes its endpoints from two control points
- Debug why a particle effect ignores an attachment driver
- Check which CP field type a distance control expects
- Set up a PET preview that matches a game-provided control point
- Verify compiled particle properties after changing a control point

## 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-control-points`:

```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-control-points &&
cp -R "$tmp/source2-particle-control-points" ~/.claude/skills/source2-particle-control-points &&
rm -rf "$tmp"
```

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

### Codex

Copy the skill folder to `~/.agents/skills/source2-particle-control-points` 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-control-points &&
cp -R "$tmp/source2-particle-control-points" ~/.agents/skills/source2-particle-control-points &&
rm -rf "$tmp"
```

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

### Cursor

Copy the skill folder to `~/.cursor/skills/source2-particle-control-points` 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-control-points &&
cp -R "$tmp/source2-particle-control-points" ~/.cursor/skills/source2-particle-control-points &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/source2-particle-control-points` 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-control-points
```

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

### VS Code

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

```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-control-points &&
cp -R "$tmp/source2-particle-control-points" ~/.copilot/skills/source2-particle-control-points &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/source2-particle-control-points` 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-control-points` into your agent's skills folder as `source2-particle-control-points`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Does Source2 particle control points need the game or a network connection?

No. It states the lookup folder is self-contained and needs only Python 3 standard library, with no game, network or other checkout required.

### How do I query the native class data?

Run the bundled cp_contracts.py script with options such as --list, --class, --field, --module, --enum or --verify from the skill directory.

### Does Source2 particle control points guarantee behavior in every CS2 build?

No. The catalogue covers an explicit selection of declarations and is not proof of every engine behavior or build, so native behavior still needs the listed tests.

### How do I install Source2 particle control points in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/source2-particle-control-points to use it in all your projects, or to .claude/skills/source2-particle-control-points 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 control points 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 control points?

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 control points?

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

## Where this comes from

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

## Alternatives

- [Source2 particle validation](https://ai-powered.com/skills/source2-particle-validation): Source2 particle validation is an open-source agent skill for game design.
- [Source2 particle authoring](https://ai-powered.com/skills/source2-particle-authoring): Source2 particle authoring is an open-source agent skill for design and media.
- [Source2 particle schema](https://ai-powered.com/skills/source2-particle-schema): Source2 particle schema 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 reference research](https://ai-powered.com/skills/source2-particle-reference-research): Source2 particle reference research is an open-source agent skill for game design.

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