# Cs2 animgraph2 authoring

> Cs2 animgraph2 authoring is an open-source agent skill for developer tools. Guides building and packaging custom CS2 AnimGraph2 graphs and clips for NPCs and weapons. 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/cs2-animgraph2-authoring
- **Repository:** https://github.com/absildylan/cs2-skills
- **GitHub stars:** 10
- **License:** Apache-2.0
- **Skill name:** cs2-animgraph2-authoring
- **Collection:** https://github.com/AbsilDylan/cs2-skills
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill walks an agent through authoring original CNmGraphDocument sources and VNMClip animation resources for Counter-Strike 2 server-owned NPCs, weapons and items. It covers building graphs from a declared manifest, compiling them against the installed toolchain, routing private first- and third-person graph roots, and assembling an allowlisted Workshop package.

The workflow emphasizes reproducibility: it asks for recorded tool and source hashes, preflight validation, sentinel poses to prove each graph branch, and explicit evidence labels so that compilation is not reported as runtime success. Destructive staging and changes to installed game configuration require explicit approval, a backup and a restoration plan.

The skill expects a Python-based toolchain and a working CS2 installation with its tools. It references bundled scripts and several reference documents for graph generation, Blender scene setup, DMX clip export, routing and Workshop delivery. It hands controller materialization and NPC behavior off to separate companion skills.

## When your agent uses it

> Author, compile, debug, and package original CS2 AnimGraph2 graphs and clips for server-owned NPCs, weapons, and items, including CNmGraphDocument, private roots, routing, and Workshop delivery.

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

## Features

- **Original graph authoring:** Generates private CNmGraphDocument sources from a deterministic graph description.
- **Clip export and compilation:** Exports DMX clips in the compiler frame and compiles them in dependency order.
- **Private graph routing:** Sets up first- and third-person graph roots and routes client-observed weapon identities.
- **Sentinel route proofs:** Assigns distinct test poses to each action so every graph branch can be verified.
- **Allowlisted Workshop packaging:** Builds a VPK limited to project-owned compiled resources with recorded hashes.
- **Server proxy integration:** Describes how a server plugin hands off predicted items and restores state on switch or death.

## Good for

- Create a custom animated weapon with its own third-person hold poses
- Build a private AnimGraph2 graph for a server-owned NPC
- Compile and inspect a custom reload clip for a CS2 item
- Verify that each animation action in a graph is reached in-game
- Package a Workshop addon containing only project-owned compiled resources

## 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/cs2-animgraph2-authoring`:

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

For one project only, put the folder in `.claude/skills/cs2-animgraph2-authoring` inside it instead.

### Codex

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

For one repository only, put the folder in `.agents/skills/cs2-animgraph2-authoring` inside it instead.

### Cursor

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

For one project only, put the folder in `.cursor/skills/cs2-animgraph2-authoring` 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 cs2-animgraph2-authoring
```

Or copy the folder to `~/.gemini/skills/cs2-animgraph2-authoring` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/cs2-animgraph2-authoring`:

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

For one project only, put the folder in `.github/skills/cs2-animgraph2-authoring` inside it instead.

### Other agents

Get the folder:

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

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

## FAQ

### What does Cs2 animgraph2 authoring need to run?

It relies on the current installed CS2 toolchain and bundled Python scripts, plus Blender for the scene and clip work described in its references.

### Does compiling a graph prove Cs2 animgraph2 authoring works in game?

No. The skill states that compilation only shows syntax acceptance, and runtime validation requires separate client checks.

### Does Cs2 animgraph2 authoring modify the installed game files?

Installed CS2 or Workshop configuration changes require explicit approval, a preimage hash, a backup and a restoration plan.

### Which tasks are handled by other skills?

Player model rigging goes to a player-model porting skill, NPC controller runtime to an NPC runtime skill, and NPC behavior to a server NPC runtime skill.

### How do I install Cs2 animgraph2 authoring in Claude Code?

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

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 Cs2 animgraph2 authoring?

The closest alternatives to Cs2 animgraph2 authoring are Cs2 ag2 npc runtime, Cs2 server npc runtime, Cs2 player model porting, Skill creator and Writing agents.

## Where this comes from

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

## Alternatives

- [Cs2 ag2 npc runtime](https://ai-powered.com/skills/cs2-ag2-npc-runtime): Cs2 ag2 npc runtime is an open-source agent skill for developer tools.
- [Cs2 server npc runtime](https://ai-powered.com/skills/cs2-server-npc-runtime): Cs2 server npc runtime is an open-source agent skill for developer tools.
- [Cs2 player model porting](https://ai-powered.com/skills/cs2-player-model-porting): Cs2 player model porting is an open-source agent skill for developer tools.
- [Skill creator](https://ai-powered.com/skills/skill-creator-base44): Skill creator is an open-source agent skill for developer tools.
- [Writing agents](https://ai-powered.com/skills/writing-agents-xiaolai): Writing agents is an open-source agent skill for developer tools.
- [Writing plugins](https://ai-powered.com/skills/writing-plugins-xiaolai): Writing plugins is an open-source agent skill for developer tools.
- [Skill creator](https://ai-powered.com/skills/skill-creator-melandlabs): Skill creator is an open-source agent skill for developer tools.
- [Skill creator](https://ai-powered.com/skills/skill-creator-jdforsythe): Skill creator is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/cs2-animgraph2-authoring
