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/copilotkit/aimock/claude-mdgit clone --depth 1 https://github.com/CopilotKit/aimockWhat 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.00525 | $0.00525 |
| Opus 5 | $0.00262 | $0.00262 |
| Sonnet 5 | $0.00105 | $0.00105 |
| Haiku 4.5 | $0.00052 | $0.00052 |
Grade A, and why
aimock CLAUDE.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.
How it starts
The opening of the file, as written. The whole thing — 57 lines — stays where its author put it; the contents beside it link to each section on GitHub.
aimock
Before Every Commit
Run these checks on all changed files before committing:
pnpm run format:check # prettier
pnpm run lint # eslint
pnpm run test # vitest
If prettier or eslint fail, fix with:
npx prettier --write <files>
npx eslint --fix <files>
A pre-commit hook (husky + lint-staged) runs prettier and eslint automatically on staged files, but always verify manually before pushing — CI checks the entire repo, not just staged files.
Project Structure
src/— TypeScript source (server, router, helpers, responses, types)src/__tests__/— Vitest test suitedocs/— GitHub Pages website (static HTML)fixtures/— Example fixture JSON files shipped with the package
Testing
- Tests live in
src/__tests__/and use Vitest - When adding features or fixing bugs, add or update tests
- Run
pnpm testbefore pushing
Drift Remediation
There is no LLM/agent in the remediation loop. Automated remediation is
deterministic and scoped to model-family churn only; general drift is caught by
the daily drift test and fixed by a human. Lives in scripts/:
scripts/drift-report-collector.ts— runs drift tests, producesdrift-report.jsonscripts/drift-sync.ts— zero-LLM model-family sync (mechanical registry edit or needs-human note file) + reusable git/PR plumbingscripts/drift-sync-check.ts— the deterministic gate (changed-file allowlist, checksum-pin re-assert, clean re-collect) replacing remediation-diff review
See DRIFT.md for full documentation and .github/workflows/fix-drift.yml for the CI workflow.
Forbidden Paths
- NEVER commit internal planning documents (specs, plans, design docs) to this repo. No
docs/superpowers/, nodocs/plans/, nodocs/specs/. These are gitignored. Store them in Notion or~/.claude/instead.
Commit Messages
- This repo enforces conventional commit prefixes via commitlint:
fix:,feat:,docs:,test:,chore:,refactor:, etc. - No Co-Authored-By lines
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 · 57 lines · 525 tokens per session scan A e67650cf2ebf
aimock CLAUDE.md is an instructions file published in the GitHub repository CopilotKit/aimock (902 stars, last pushed yesterday), licensed MIT. It adds 525 tokens to every session, about $0.0026 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
opik copilot-instructions.md
Instructions for comet-ml/opik, covering copilot code review instructions, project overview, 1. git workflow & branch management, branch naming convention and commit message standards.
mockserver-monorepo AGENTS.md
Instructions for mock-server/mockserver-monorepo, covering mockserver — agent instructions, instruction priority, project overview, local development environment and project documentation.
gptme AGENTS.md
Instructions for gptme/gptme, covering agent instructions for gptme, git workflow, code style, testing and project structure.
GPT-RAG copilot-instructions.md
Instructions for Azure/GPT-RAG, covering repository development and release instructions, branching strategy, default behavior, feature development workflow and branch creation.
AstrBot copilot-instructions.md
Copilot instructions for AstrBotDevs/AstrBot, covering astrbot development instructions, working effectively, bootstrap and install dependencies, running the application and dashboard build (vue.js/node.js).
codexia AGENTS.md
Instructions for milisp/codexia, covering agents.md, project info, project tech, common commands and project structure.