# Cs2 server npc runtime

> Cs2 server npc runtime is an open-source agent skill for developer tools. Guides design, audit and debugging of server-side gameplay for CS2 NPCs. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/AbsilDylan/cs2-skills/tree/main/cs2-server-npc-runtime
- **Repository:** https://github.com/absildylan/cs2-skills
- **GitHub stars:** 10
- **License:** Apache-2.0
- **Skill name:** cs2-server-npc-runtime
- **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 helps an agent build or review the gameplay runtime of a Counter-Strike 2 server-controlled NPC. It covers entity ownership and identity, perception, behavior planning, navigation, collision-checked movement, attacks, damage, death, cleanup, scheduling and hot reload, and keeps health and damage authoritative on the server while animation is treated as a projection of game state.

The skill gives the agent a workflow: freeze the runtime contract (build, framework, NAV provenance, collision hull), define ownership before spawning, separate decision, route, motor, combat and presentation layers, then validate in stages from pure state-machine tests up to a current-build canary. Route and motor failures are kept as typed results rather than booleans, and work is bounded and cadence-separated.

It expects a Counter-Strike 2 server environment and a framework-specific port for entity creation, traces, NAV adapters and native calls, since the bundled C# file is a design scaffold rather than a working plugin. Animation graph work is delegated to a separate AnimGraph2 skill, and asset authoring to others.

## When your agent uses it

> Design, audit, and debug server-authoritative CS2 NPC gameplay: lifecycle, AI, navigation, collision movement, combat, scheduling, hot reload, and validation. Excludes asset authoring.

## What it can access

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

- [Instructions only, no scripts](https://github.com/AbsilDylan/cs2-skills/tree/HEAD/cs2-server-npc-runtime)
- [License: Apache-2.0](https://github.com/AbsilDylan/cs2-skills/tree/HEAD/cs2-server-npc-runtime)

## Features

- **Entity Ownership And Identity:** Defines immutable archetype profiles, per-instance state, and identity tied to entity handle and world generation.
- **Transactional Spawn Rollback:** Covers spawn dispatch and cleanup of partially created entities, children and effects if setup fails.
- **Navigation And Motor Outcomes:** Surfaces NoNav, NoPath, Blocked, Stuck and unsupported traversal results to behavior without silent fallbacks.
- **Attack State Machine:** Models attacks as windup, active and recovery phases with deadlines and impact-time revalidation.
- **Bounded Scheduling:** Sets queue limits, staggered perception and replanning, and worker results applied behind generation guards.
- **Layered Validation Matrix:** Lists test layers from pure logic through isolated server, crowd load, map change and hot reload checks.

## Good for

- Design the lifecycle and state model for a new server-controlled CS2 NPC
- Audit an existing NPC repository for unsafe spawn, cleanup or damage handling
- Debug an NPC that gets stuck on ledges or fails to find a path
- Plan a layered test suite for NPC behavior before deploying to a server
- Check that a hot reload or round reset leaves no orphaned entities or timers

## 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-server-npc-runtime`:

```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-server-npc-runtime &&
cp -R "$tmp/cs2-server-npc-runtime" ~/.claude/skills/cs2-server-npc-runtime &&
rm -rf "$tmp"
```

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

### Codex

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

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

### Cursor

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

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

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

### VS Code

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

```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-server-npc-runtime &&
cp -R "$tmp/cs2-server-npc-runtime" ~/.copilot/skills/cs2-server-npc-runtime &&
rm -rf "$tmp"
```

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

## FAQ

### Does Cs2 server npc runtime include a working CS2 plugin?

No. The bundled C# file is described as a compilable design scaffold, not an operational ModSharp or CS2 plugin, and it leaves framework-specific entity creation, traces, NAV adapters and native calls to version-specific ports.

### Does Cs2 server npc runtime handle NPC animation?

Only as a presentation projection. AnimGraph2 controller inspection is routed to a separate cs2-ag2-npc-runtime skill, and character geometry and weapon graph authoring to other skills.

### What does Cs2 server npc runtime expect as input?

It expects the CS2 build, server platform, framework version, map and NAV provenance, tick rate, collision hull and expected NPC count to be recorded before work begins.

### Are the bundled examples runnable?

The skill states that the bundled runtime is not bundled proof, and every new integration starts unverified and needs its own tests and a current-build canary.

### How do I install Cs2 server npc runtime in Claude Code?

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

No. It is instructions only, with no 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 server 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 server npc runtime?

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

## 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 animgraph2 authoring](https://ai-powered.com/skills/cs2-animgraph2-authoring): Cs2 animgraph2 authoring 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.
- [Rpgmaker authoring](https://ai-powered.com/skills/rpgmaker-authoring): Rpgmaker authoring is an open-source agent skill for developer tools.
- [Dotnet MCP builder](https://ai-powered.com/skills/dotnet-mcp-builder): Dotnet MCP builder is an open-source agent skill for ai models and llm tooling.
- [Minecraft plugin development](https://ai-powered.com/skills/minecraft-plugin-development): Minecraft plugin development is an open-source agent skill for developer tools.
- [Enterprise agent ops](https://ai-powered.com/skills/enterprise-agent-ops): Enterprise agent ops is an open-source agent skill for developer tools.
- [System commandline CLI](https://ai-powered.com/skills/system-commandline-cli): System commandline CLI is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/cs2-server-npc-runtime
