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 agentmods add instructions/thegreencedar/codestory/copilot-instructionsgit clone --depth 1 https://github.com/TheGreenCedar/CodeStoryWhat 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 | $0.00139 | $0.00139 |
| Opus 5 | $0.00069 | $0.00069 |
| Sonnet 5 | $0.00028 | $0.00028 |
| Haiku 4.5 | $0.00014 | $0.00014 |
Grade A, and why
CodeStory copilot-instructions.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.
What it actually says
CodeStory Grounding
Use CodeStory proactively for repository questions. Do not wait for the user to mention it by name.
Before making source claims, planning edits, choosing tests, or reviewing changes in this repository:
- Call the CodeStory tool that matches the task and pass the repository's absolute root as
project. - If it reports
preparingorupdating, retry that same tool after its reported delay. Do not poll status. - Use
statusorcodestory://statusonly to diagnose a failed or unexpectedly slow call. - If MCP is missing, inspect source normally and report that CodeStory was unavailable for the task.
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.
- 2d ago First seen · 11 lines · 139 tokens per session scan A 657ffb1a7323
CodeStory copilot-instructions.md is an instructions file published in the GitHub repository TheGreenCedar/CodeStory (37 stars, last pushed 2d ago), licensed Apache-2.0. It adds 139 tokens to every session, about $0.0007 per session on Opus 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-30.
Other instructions, from other repositories
kivgraph AGENTS.md
Instructions for Luqueee/kivgraph, covering instrucciones de desarrollo de kivgraph, mapa de instrucciones, identidad del proyecto, qué pregunta contesta cada tool de kivgraph and la puerta delante de grep.
astra copilot-instructions.md
Copilot instructions for nimelkot/astra: Astra uses the official MCP Python SDK and targets Python 3.10+. The MCP server is stdio-based and exposes the same core services as the CLI.
cartograph AGENTS.md
Instructions for adder-factory/cartograph, covering existing project rule, architecture and hard requirements, step 0 — install the binary, step 1 — choose database ownership and managed local database (macos/linux).
kivgraph CLAUDE.md
Instructions for Luqueee/kivgraph, a project described as: A local MCP server for cross-repository semantic code intelligence in TypeScript and Go, backed by a persistent LadybugDB graph.
repobrain copilot-instructions.md
Copilot instructions for study8677/repobrain, covering github copilot bootstrap instructions and hard rule — query the repobrain hub first.
roam-code AGENTS.md
Instructions for Cranot/roam-code, covering agents.md — roam-code development guide, what this project is, documentation hub, where files go (private vs public) and quality discipline (from internal/dogfood/ + agi-in-md).