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/chtnnh/know-code/agents-mdgit clone --depth 1 https://github.com/chtnnh/know-codeWhat 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.00362 | $0.00362 |
| Opus 5 | $0.00181 | $0.00181 |
| Sonnet 5 | $0.00072 | $0.00072 |
| Haiku 4.5 | $0.00036 | $0.00036 |
Grade A, and why
know-code 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 yesterday.
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
know-code
This repository dogfoods its own gate.
Required agent loop
- Human:
know-code attest-initonce know-code range beginat start of feature work (2+ commits before push)- know-code-teach → human seals
know-code taught - Agent:
know-code questions→ write.know-code/quiz.json→know-code quiz validate→know-code ask - Agent writes
grade-proposal.json(seeskills/know-code/references/grading-rubric.md) - Human:
know-code grade --review+pass know-code commit -m "…"per commit (quote the message)- Human:
know-code range seal→ push
Debug: know-code status --json · know-code doctor
Quiz schema: docs/quiz · Grading: docs/grading
Never set KNOW_CODE_OVERRIDE or KNOW_CODE_ATTEST_PASSPHRASE from the agent.
Config: ~/.know-code/config.json + gitignored .know-code/config.json
CLI (always local build in this repo): npm run know-code -- …
After npm run build, keep bare know-code pointed here: npm link -w @chtnnh/know-code
(know-code doctor warns if PATH still hits a stale global.)
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.
- yesterday First seen · 29 lines · 362 tokens per session scan A 2c32a8cc107f
know-code AGENTS.md is an instructions file published in the GitHub repository chtnnh/know-code (3 stars, last pushed 2d ago), licensed MIT. It adds 362 tokens to every session, about $0.0018 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-31.
Other instructions, from other repositories
easy-vibe CLAUDE.md
Claude Code instructions for datawhalechina/easy-vibe, covering claude.md, project overview, development commands, start local documentation server and build/run commands.
easy-vibe AGENTS.md
AGENTS.md instructions for datawhalechina/easy-vibe, covering repository guidelines, project structure & module organization, build, test, and development commands, coding style & naming conventions and testing guidelines.
claudepot-app AGENTS.md
Instructions for xiaolai/claudepot-app, covering claudepot, shared memory (dogfooding), build, test and gui (tauri).
agent-watch AGENTS.md
Instructions for surnr/agent-watch, covering agent watch: development guide, project overview, tech stack & build, technologies and build & test commands.
claudepot-app CLAUDE.md
Instructions for xiaolai/claudepot-app, a project described as: A control panel for Claude Code and Claude Desktop.
claudepot-app GEMINI.md
Instructions for xiaolai/claudepot-app, a project described as: A control panel for Claude Code and Claude Desktop.