Skip to content
Skill

Cs2 ag2 npc runtime

Guides an agent through diagnosing and driving CS2 AnimGraph2 NPC animation safely

Cs2 ag2 npc runtime is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
Python
Platforms
Claude Code
GitHub stars
10
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Cs2 ag2 npc runtime

This skill helps an AI coding agent work on animation presentation for server-owned NPCs in Counter-Strike 2, built around an existing AnimGraph2 model on a prop_dynamic_override or similar entity. It sets a strict investigation order: read the compiled graph contract first, then confirm that the graph definition and instance actually materialize, and only then write parameters through typed engine calls.

The workflow covers graph inspection with a bundled Python summary script, packaging the full resource closure for a Workshop addon, controller diagnostics, a typed parameter bridge for Linux with fail-closed signature handling, and mapping gameplay states to graph inputs. It also lays out layered validation from static resources through clean-client Workshop tests, and it directs general NPC gameplay, asset porting and weapon graph work to other skills.

The skill expects a CS2 server plugin setup, most examples use ModSharp, and it requires the user to supply their own lawful model assets since none are distributed.

When your agent uses it

Diagnose and drive CS2 AnimGraph2 NPC presentation: graph contracts, controllers, typed parameters, Linux signatures, and Workshop delivery. Excludes gameplay AI/nav/combat and asset authoring.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 24 files (163 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

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

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

Or copy only this skill to ~/.claude/skills/cs2-ag2-npc-runtime:

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

For one project only, put the folder in .claude/skills/cs2-ag2-npc-runtime inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/cs2-ag2-npc-runtime to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/AbsilDylan/cs2-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/cs2-ag2-npc-runtime &&
cp -R "$tmp/cs2-ag2-npc-runtime" ~/.agents/skills/cs2-ag2-npc-runtime &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/cs2-ag2-npc-runtime inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/cs2-ag2-npc-runtime to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/AbsilDylan/cs2-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/cs2-ag2-npc-runtime &&
cp -R "$tmp/cs2-ag2-npc-runtime" ~/.cursor/skills/cs2-ag2-npc-runtime &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/cs2-ag2-npc-runtime inside it instead.

Cursor docs on skills

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

gemini skills install https://github.com/AbsilDylan/cs2-skills.git --path cs2-ag2-npc-runtime

Or copy the folder to ~/.gemini/skills/cs2-ag2-npc-runtime yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/cs2-ag2-npc-runtime:

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

For one project only, put the folder in .github/skills/cs2-ag2-npc-runtime inside it instead.

VS Code docs on skills

Get the folder:

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

Then copy cs2-skills/cs2-ag2-npc-runtime into your agent's skills folder as cs2-ag2-npc-runtime. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Graph contract discovery
Reads compiled AnimGraph2 resources to list control parameters, types, transitions, clips and events.
Controller materialization checks
Confirms the primary, definition and instance layers of an animated NPC step by step.
Typed parameter bridge
Describes strict, game-thread native setters for Bool, Float and ID parameters on Linux.
Behavior-to-animation mapping
Turns server-side NPC states, velocity and one-shot actions into graph parameter updates.
Workshop packaging validation
Covers compiling the complete resource closure and testing it from a clean client download.
Fail-closed signature policy
Disables native writes when signatures are missing or ambiguous after a game update.

Good for

  • Diagnose why a CS2 NPC model stays in its static pose
  • List the animation parameters a compiled AnimGraph2 graph exposes
  • Map NPC attack and recovery states to graph inputs
  • Package an animated NPC model for a Workshop addon
  • Validate an NPC animation bridge after a CS2 update

Cs2 ag2 npc runtime FAQ

When does Cs2 ag2 npc runtime apply instead of the server NPC skill?

It covers animation presentation for model entities with a CBaseAnimGraphController. Targeting, navigation, combat and cleanup belong to cs2-server-npc-runtime, and weapon or item graphs belong to cs2-animgraph2-authoring.

Does Cs2 ag2 npc runtime write animation parameters directly into memory?

No. It requires writes through engine functions with the exact discovered parameter type, and it forbids direct graph or controller memory writes and pointer scanning.

Are the model assets included?

No. The skill states that extracted Valve or third-party compiled assets are not redistributed, and users must supply their own lawful resource closure.

Which framework does the bundled example use?

The bundled example targets ModSharp. The skill says other frameworks need their own scanner, gamedata and entity APIs.

How do I install Cs2 ag2 npc runtime in Claude Code?

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

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Cs2 ag2 npc runtime?

The closest alternatives to Cs2 ag2 npc runtime are Cs2 animgraph2 authoring, Cs2 server npc runtime, Cs2 player model porting, Rpgmaker authoring and Orchestration.

Where this comes from

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

More from AbsilDylan/cs2-skills

  1. Guides an agent to design and diagnose native Source 2 particle effects with evidence

    • Open source
    • 10 GitHub stars
    • Game design
  2. Guides building and packaging custom CS2 AnimGraph2 graphs and clips for NPCs and weapons

    • Open source
    • 10 GitHub stars
    • Developer tools
  3. Guides porting, repairing and validating CS2 player character models and their physics

    • Open source
    • 10 GitHub stars
    • Developer tools
  4. Guides design, audit and debugging of server-side gameplay for CS2 NPCs

    • Open source
    • 10 GitHub stars
    • Developer tools
  5. Guides an agent to author and revise native CS2 particle effects as VPCF files

    • Open source
    • 10 GitHub stars
    • Design and media