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/nanmicoder/cc-haha/copilot-instructionsgit clone --depth 1 https://github.com/NanmiCoder/cc-hahaWhat 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.00620 | $0.00620 |
| Opus 5 | $0.00310 | $0.00310 |
| Sonnet 5 | $0.00124 | $0.00124 |
| Haiku 4.5 | $0.00062 | $0.00062 |
Grade A, and why
cc-haha 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
AI Coding Instructions
Follow the root AGENTS.md and the nearest nested AGENTS.md for the files you edit.
For every feature, bugfix, refactor, or workflow change:
- Treat tool access as capability, not authorization. Do not commit, push, open/merge a PR, release, run live providers, or change repository settings unless explicitly requested.
- Inspect
git status --short, identify the changed surface, define the intended behavior and failure signal, and inspect the nearest implementation and tests before editing. - Identify the changed surface before coding:
desktop,server/runtime,adapter,native,docs,provider/runtime,agent-loop,persistence,policy/ci, orrelease. - Add same-area tests with the production change. Do not leave production behavior untested unless the PR explicitly carries the maintainer override
allow-missing-tests. - Preserve or improve the coverage ratchet. New or changed executable production lines must pass the changed-line coverage threshold in
scripts/quality-gate/coverage-thresholds.json; do not edit coverage baselines or thresholds without maintainer approval viaallow-coverage-baseline-change. - Use unit tests for pure logic, API/request-shape tests for server/provider/runtime behavior, Testing Library/Vitest for desktop UI and stores, and E2E or desktop UI smoke for user-visible cross-boundary flows.
- Ad-hoc browser automation (manual verification, screenshots, exploratory UI checks) goes through the
ego-browserskill. Theagent-browserbinary is reserved for the committedcheck:desktop-ui-smokelane anddesktop/scripts/e2e-*-agent-browser.sh; do not reach for it as a general browser tool. - Provider/auth/runtime-env/model-window/proxy changes require offline
bun run check:provider-contract; desktop chat/WebSocket/session-runtime changes requirebun run check:chat-contract. - Required PR evidence must be deterministic: use fake credentials, temporary config/home paths, mocked or loopback transports, explicit cleanup, and restored environment state. Never call a real provider or use saved machine credentials in required tests.
- For agent loop, tool execution, provider routing, model selection, file editing, permissions, session resume, and desktop chat changes, include mock/fixture/contract tests. Live smoke is trusted-maintainer evidence only and requires explicit authorization; finding local credentials is not authorization.
- Run the focused regression first, then
bun run check:impactand every selected surface/contract check. Runbun run verifyonly before claiming PR-ready/push-ready or when full validation was requested. - Do not present skipped, blocked, not-run, mock, build-only, or stale evidence as passed live/runtime verification.
- In the final handoff or PR description, include changed files, tests added, commands actually run with pass/fail counts, checks not run, coverage report path when generated, deterministic E2E evidence, live report path or explicit maintainer-only deferral, and known residual risk.
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 · 20 lines · 620 tokens per session scan A 395f41471b6c
cc-haha copilot-instructions.md is an instructions file published in the GitHub repository NanmiCoder/cc-haha (14,259 stars, last pushed today), licensed MIT. It adds 620 tokens to every session, about $0.0031 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
ii-agent AGENTS.md
Instructions for Intelligent-Internet/ii-agent, covering ii-agent contributor guide, quick start, repository map, mandatory rules and architecture.
intelligent-terminal rust.instructions.md
Concise Rust coding conventions for this repository.
InvestSkill GEMINI.md
Instructions for yennanliu/InvestSkill, covering investskill — gemini cli setup & usage guide, installation & setup, quick start, navigate to the investskill directory and start gemini cli (loads gemini.md automatically).
sortie copilot-instructions.md
Instructions for sortie-ai/sortie, covering sortie coding & review standards, 1. layered imports (downward only; violation is critical), 2. concurrency safety, 3. workspace path safety (critical: security boundary) and 4. persistence (sqlite).
crust AGENTS.md
Instructions for chenxin-yan/crust, covering tests, documentation, changesets, agent skills and issue tracker.
she-love-me CLAUDE.md
Instructions for 863401402/she-love-me, covering claude.md and 唯一工作流.