agents-plugins: Instructions file for Claude Code

AGENTS.md

agents-plugins AGENTS.md is an instructions file for Claude Code, Codex, OpenCode from CitiesSkylinesModding/agents-plugins. It costs 3,741 tokens per session, scanned A, original, MIT.

Repository instructions for developing and maintaining a marketplace of coding-agent add-ons for Claude Code and OpenAI Codex CLI. It documents the project structure, tools, commands, and plugin-specific rules.

In plain words
What is it for?
Use it when adding or updating plugins, checking the repository layout, running development commands, or working on the Coherent Gameface and Unity development tools.
Why use it?
It gives coding agents the project context they need before changing files, reducing mistakes caused by using the wrong structure, commands, or assumptions.

Instructions file for Claude CodeCodexOpenCode

Written for Claude Code and Codex and OpenCode: PostToolUse hook event, but also the file is AGENTS.md. Also seen: reads .claude/ paths; mentions .claude-plugin; mentions CLAUDE.md.

This is CitiesSkylinesModding/agents-plugins's own configuration. It tells Claude Code, Codex and OpenCode how to work on agents-plugins itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agents-plugins configures →

Reuse

Borrowing it

Nothing to install: this file belongs to CitiesSkylinesModding/agents-plugins. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/CitiesSkylinesModding/agents-plugins/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/CitiesSkylinesModding/agents-plugins

Made for: Claude Code, Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agents-plugins AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/citiesskylinesmodding/agents-plugins/agents-md/github.svg)](https://agentmods.dev/instructions/citiesskylinesmodding/agents-plugins/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/citiesskylinesmodding/agents-plugins/agents-md"><img src="https://agentmods.dev/badge/instructions/citiesskylinesmodding/agents-plugins/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agents-plugins AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/citiesskylinesmodding/agents-plugins/agents-md"><img src="https://agentmods.dev/badge/instructions/citiesskylinesmodding/agents-plugins/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,741 This file is loaded in full into every session.
When invoked 3,741 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.03741 $0.03741
Opus 5.5 $0.01496 $0.01496
Sonnet 5.5 $0.00748 $0.00748
Haiku 4.5 $0.00374 $0.00374

Measured 2d ago against content hash a115706559ef, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agents-plugins AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 134 lines

How it starts

The opening of the file, as written. The whole thing — 134 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AGENTS.md

Project overview

agents-plugins is the CS Modding marketplace (csmodding) of agent plugins for Claude Code and OpenAI Codex CLI.

  • plugins/coherent-gameface/: flagship plugin. Drives a running Coherent Gameface UI (Cohtml) over a direct CDP WebSocket; TypeScript MCP server (npm @csmodding/gameface-devtools-mcp) + skills.
  • plugins/unity-devtools/: drives a running Unity Mono development build over the Mono Soft Debugger protocol (SDB); C# MCP server + SDB class library.

Both are generic toolkits, developed and verified against Cities: Skylines II as the reference target. Each plugin documents its own architecture and gotchas in its AGENTS.md (with a CLAUDE.md symlink).

Everything a plugin ships MUST live inside its plugins/<name>/ directory: marketplace installs copy only that subtree. New plugins get a sibling directory and an entry in both marketplace files.

Tech stack

  • mise-en-place: dev tools, env vars and tasks.
  • Bun workspaces: the root package.json carries lint/format tooling (oxfmt.config.ts, oxlint.config.ts), lefthook, and what scripts/ and bench/ import; the gameface mcp/ is the only workspace package, and bun.lock lives at the root.
  • .NET 10 SDK: the unity-devtools C# projects, grouped by agents-plugins.slnx at the repo root.

Repository structure

  • .claude-plugin/marketplace.json and .agents/plugins/marketplace.json: the Claude Code and Codex CLI marketplace files. Both list every plugin.
  • .mcp.json (root): LOCAL DEV ONLY, wiring both MCP servers for sessions in this repo (gameface from its committed bundle, unity from sources via dotnet run). Installed users get each plugin's own .mcp.json; keep them in sync when changing server wiring.
  • scripts/: check-plugin-sync.ts (manifest consistency) and check-skill-content.ts (the cs2-modding shipped-prose rules, plus the marker spelling and the baseline lines of the gameface skills), both part of mise check; check-skill-changelog.ts (mise skills:check-changelog, network-dependent, not in CI); research-cite-audit.ts (mise research:cite-audit, the cs2-game-update sweep's cite step, reads a local decompile so not in CI).
  • .agents/hooks/check-line-length.ts: PostToolUse hook reporting .ts/.cs lines over 100 characters. Synced verbatim from the scrolls repo, which is why oxlint ignores .agents/hooks and oxfmt all of .agents. Markdown is deliberately out of scope: these docs are agent-facing and unwrapped by design.
  • .agents/skills/: repo-only maintenance skills, each symlinked from .claude/skills/ and shipped by no plugin. cs2-game-update is the cs2-modding version sweep: the VOLATILE: markers and the baseline lines are its checklist, and it edits docs/research/ and docs/SOURCES.md, which is why it cannot ship. gameface-update sweeps the gameface plugin after the reference target's engine moved, and keeps the probe catalogue beside it. scan-mcp-failures mines this machine's transcripts for failed gameface and unity calls, and feeds the Hits of docs/ROADMAP.md entries. terra-nil-debuggee launches a release Mono game from this machine's Steam library as a second debuggee for the unity server, the shape of a BepInEx-community report.
  • docs/ROADMAP.md: planned facets. docs/solutions/: one file per hard-won problem, linked from where it bites. docs/adr/: numbered decision records.
  • docs/authoring/: standing authoring contracts. The ticket template any spec's tickets take, pointed at from docs/agents/cantrips-loop.md's publish-tickets verb; and the cs2-modding reference pipeline's own — one shape doc per reference family and the reference-ticket protocol — disclosed out of the plugin's AGENTS.md because only an authoring pass reaches them. check-skill-content.ts enforces both families' prose-line budgets.
  • docs/SOURCES.md: every source the cs2-modding pipeline may read, what each settles, and how to locate it. Other files point at it; keep it pointing at as few as possible.
  • bench/: the skill-efficacy benchmark, measuring what the four cs2-* skills are worth to an agent writing mod code against the same model without them. Its README.md holds the invocation contract, the task format, and how a run is resumed, calibrated and promoted; core.ts holds every decision and run.ts is a thin, deliberately untested shell. results.md is the tracked baseline, written only by mise bench:promote from an Opus run, never by hand.
  • docs/research/: the cs2-modding pipeline's cited stage, sitting outside plugins/ so none of it ships. Its README.md holds the conventions a research file satisfies; nothing under plugins/ may reference it or SOURCES.md, and check-skill-content.ts fails any shipped link resolving outside the plugin directory, since existence alone passes one that works here and dead-ends for every installed user.

Read the full file on GitHub · 134 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago Changed · +39 tokens per session a115706559ef
  2. 20d ago Changed · +44 tokens per session 5c15e7f03acb
  3. 29d ago Changed · +36 tokens per session 7834bac94de4
  4. 1mo ago Changed · +1 lines · +165 tokens per session ecc3498b62b2
  5. 1mo ago Changed · +1 lines · +58 tokens per session dce75cabc9dc
  6. 1mo ago Changed · -57 tokens per session f37010547d50
  7. 1mo ago First seen · 132 lines · 3,456 tokens per session scan A a4e24bf9281a

Subscribe to this mod's changes

agents-plugins AGENTS.md is an instructions file published in the GitHub repository CitiesSkylinesModding/agents-plugins (8 stars, last pushed today), licensed MIT. It adds 3,741 tokens to every session, about $0.0150 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,715 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,461 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 4,261 tokens