Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add NPC-Worldwide/npcsh --skill ctx-guidegit clone --depth 1 https://github.com/NPC-Worldwide/npcshWrote 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.
[](https://agentmods.dev/skills/npc-worldwide/npcsh/ctx-guide)<a href="https://agentmods.dev/skills/npc-worldwide/npcsh/ctx-guide"><img src="https://agentmods.dev/badge/skills/npc-worldwide/npcsh/ctx-guide/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.
<a href="https://agentmods.dev/skills/npc-worldwide/npcsh/ctx-guide"><img src="https://agentmods.dev/badge/skills/npc-worldwide/npcsh/ctx-guide.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00709 |
| Opus 5.5 | $0.00000 | $0.00284 |
| Sonnet 5.5 | $0.00000 | $0.00142 |
| Haiku 4.5 | $0.00000 | $0.00071 |
Grade A, and why
ctx-guide 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 13d 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.
How it starts
The opening of the file, as written. The whole thing — 89 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ctx-guide
Reference guide for .ctx team context files: structure, reserved keys, user-defined keys, and how they are preserved.
What-Is-Ctx
A .ctx file is a YAML document that defines team-level context shared by all NPCs.
npcsh.ctx is the default context file loaded from the team directory.
It is read by Team._load_team_context_file() in npcpy.npc_compiler.
Reserved-Keys
These keys are managed by the framework and updated from source on /sync:
name: team name.context: shared directive text injected into all NPC system prompts.databases: list of database paths the team uses.forenpc: default NPC name at startup.mcp_servers: list of configured MCP servers.providers: named provider configurations.available_executables: allow-lists for read/write/execute shell commands.SKILLS_DIRECTORY: optional extra directory to load skill jinxes from.
User-Defined-Keys
Any key not in the reserved list is preserved across /sync updates.
Examples: COMPRESSION_INSTRUCTIONS, custom instruction hooks, project-specific variables.
The shell merges these preserved values back into the newly copied npcsh.ctx.
Custom-Instructions
Blank user-customizable fields can be added to npcsh.ctx:
COMPRESSION_INSTRUCTIONS: ""
Jinxes read them at runtime by scanning .ctx files in the team directory.
This lets users tune behavior without editing framework jinxes.
File-Example
context: |
The npcsh NPC team is devoted to providing a safe and helpful environment...
databases:
- ~/npcsh_history.db
forenpc: corca
mcp_servers: []
providers: []
available_executables:
read: [cat, ls, head, tail, wc, git]
write: [cp, echo, mkdir, mv, rm, touch]
execute: [bash, python, python3, sh]
COMPRESSION_INSTRUCTIONS: ""
Loading-Order
- Team context file(s) are loaded first.
- Jinxes are loaded and first-pass rendered.
- NPCs are loaded; their files can reference jinxes by name via the Jinx() helper because the jinx path map already exists.
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.
- 13d ago First seen · 89 lines · 0 tokens per session scan A 6e156550cf9b
ctx-guide is a skill published in the GitHub repository NPC-Worldwide/npcsh (511 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 709 tokens. 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-11-17.
ctx-guide compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ctx-guideNPC-Worldwide/npcsh | Skill | 511 | 3d ago | MIT | A | 0 | Claude Code, Codex |
| ralplanYeachan-Heo/oh-my-claudecode | Skill | 41k | today | MIT | A | 21 | Claude Code |
| rememberYeachan-Heo/oh-my-claudecode | Skill | 41k | today | MIT | A | 20 | Claude Code |
| test-warp-uiwarpdotdev/warp | Skill | 66k | yesterday | AGPL-3.0 | A | 55 | Claude Code |
| x-scorecardx-cmd/x-cmd | Skill | 4.8k | 6d ago | Apache-2.0 | A | 57 | Claude Code, Codex |
| handoverme2resh/apexyard | Skill | 555 | 6d ago | MIT | A | 25 | Claude Code |
| moai-ref-ui-polishmodu-ai/moai-adk | Skill | 1.3k | today | Apache-2.0 | A | 98 | Claude Code |