# Source2 particle materials

> Source2 particle materials is an open-source agent skill for design and media. Create and check native Source 2 particle textures, flipbooks and material bindings. 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-materials
- **Repository:** https://github.com/absildylan/cs2-skills
- **GitHub stars:** 10
- **License:** Apache-2.0
- **Skill name:** source2-particle-materials
- **Collection:** https://github.com/AbsilDylan/cs2-skills
- **Categories:** [design and media](https://ai-powered.com/categories/design-and-media)
- **Listing updated:** 2026-12-03

## About

This skill guides an agent through making particle textures, flipbook sheets and material bindings for Source 2 effects in CS2 or Deadlock. It asks the agent to settle the target game, installed build and renderer class before choosing shader names or property keys, since the two games do not share a guaranteed material contract. The agent is pointed to reference files covering texture authoring, renderer and material bindings, compilation and resource closure, and evidence.

The workflow centres on creating the smallest asset set that achieves the requested look, then testing how the target renderer uses it. Native sprite and trail renderers can reference VTEX resources directly, so a VMAT is only added when the chosen renderer or model path requires one. The skill stresses checking alpha channels over dark and light backgrounds and compiling definitions with the game's own tools, then reading the compiled resource back to catch silently discarded fields.

A small standard-library Python helper generates deterministic test sprites, trails and expanding-ring flipbook sequences as RGBA TGA files with a manifest, and can emit a source VTEX from an included template. Work is expected to be done with an image editor and the target game's compilation tools, which the agent must supply.

## When your agent uses it

> Create and diagnose native Source 2 particle textures, flipbooks, VTEX/MKS and material bindings in CS2 or Deadlock, with compilation and resource closure.

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

## Features

- **Test sprite generation:** A Python helper creates deterministic sprite, trail and flipbook test textures as RGBA TGA files.
- **Flipbook sheet output:** Generates an MKS file and manifest for animated eight-frame style flipbook sequences.
- **Renderer binding checks:** Guides choosing between native sprite renderers and VMAT materials based on the target renderer.
- **Compilation and readback:** Asks the agent to compile definitions with game tools and read back the output to confirm fields survived.
- **Dependency and evidence reporting:** Requires listing game-provided and authored dependencies and separating source, compile and render checks.

## Good for

- Make a soft smoke sprite for a CS2 particle effect
- Build an animated flipbook explosion sheet for Deadlock
- Diagnose why a particle material does not show its texture in-game
- Create a trail texture with alpha for a weapon effect
- Check that a VTEX and MKS compile and load in the target game

## 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-materials`:

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

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

### Codex

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

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

### Cursor

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

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

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

### VS Code

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

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

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

## FAQ

### What does the skill need to run?

The Python helper uses only the standard library, but the target game's native compilation and inspection tools are needed to compile and verify resources, and an image editor or generation model is needed for production art.

### Does Source2 particle materials work for every Source 2 game?

No. It targets CS2 and Deadlock and notes that they do not share a guaranteed shader, operator or serialization contract. s&box's ParticleEffect is treated as a separate target.

### Does Source2 particle materials add a material file to every sprite?

No. It says not to invent a VMAT for every sprite and to use one only when the selected renderer or model requires it.

### Has the output been tested in game?

The included evidence covers CS2 compilation and readback of a sprite and an eight-frame sheet, without native rendering or Deadlock certification, so new outputs still need their own checks.

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

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

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 materials?

The closest alternatives to Source2 particle materials are Source2 particle authoring, Source2 particle reference research, Game assets 2d, Blender pbr materials and Ascii backdrop.

## Where this comes from

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

## Alternatives

- [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 reference research](https://ai-powered.com/skills/source2-particle-reference-research): Source2 particle reference research is an open-source agent skill for game design.
- [Game assets 2d](https://ai-powered.com/skills/game-assets-2d): Game assets 2d is an open-source agent skill for design and media.
- [Blender pbr materials](https://ai-powered.com/skills/blender-pbr-materials): Blender pbr materials is an open-source agent skill for design and media.
- [Ascii backdrop](https://ai-powered.com/skills/ascii-backdrop): Ascii backdrop is an open-source agent skill for design and media.
- [Blender](https://ai-powered.com/skills/blender): Blender is an open-source agent skill for design and media.
- [Game engine](https://ai-powered.com/skills/game-engine): Game engine is an open-source agent skill for design and media.
- [Animation patterns](https://ai-powered.com/skills/animation-patterns): Animation patterns is an open-source agent skill for design and media.

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