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/havingautism/codemini-cli/agents-mdgit clone --depth 1 https://github.com/havingautism/Codemini-CLIWhat 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.00697 | $0.00697 |
| Opus 5 | $0.00349 | $0.00349 |
| Sonnet 5 | $0.00139 | $0.00139 |
| Haiku 4.5 | $0.00070 | $0.00070 |
Grade A, and why
Codemini-CLI 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.
How it starts
The opening of the file, as written. The whole thing — 44 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
This repo is Codemini CLI, a local-first coding agent with a CLI, Web UI, project indexing, skills, memories, approvals, and Windows-first shell ergonomics.
Commands
- Install dependencies:
npm install - Run all tests:
npm test - Build bundled Web UI:
npm run build:web - Run CLI locally:
npm start
Task Routing
- CLI command dispatch: start in
src/cli.js, thensrc/commands/. - Chat/session runtime behavior: start in
src/core/chat-runtime.js. - System prompt composition: start in
src/core/system-prompt-composer.jsandsrc/core/default-system-prompt.js. - Project map and file index behavior: start in
src/core/project-index.js. - Skill discovery, routing, and rendering: start in
src/core/command-loader.js, thensrc/core/skill-registry.js. - Skill hooks (Claude-compatible discover/run/session): start in
src/core/skill-hooks-*.js, wired fromsrc/core/chat-runtime.jsandsrc/core/agent-loop.js. - Hook Profiles (custom/global/project plus skill-backed profiles):
src/core/hook-profiles.jsandsrc/core/project-hooks.js; Web UI entry under Skills in the sidebar. - Tool matcher aliases (Claude Bash→run etc.):
src/core/skill-hooks-tool-aliases.js. - Reflect-to-skill behavior: start in
src/core/reflect-skill.js. - Built-in tool behavior: start in
src/core/tools.js. - Subagent delegation (
run_subagent): start insrc/core/chat-runtime.js(runSubAgentTask+onRunSubAgent),src/core/subagent-orchestrator.js, andsrc/core/subagent-handoff-store.js. - Fork branches (
fork_task, same-state parallel branches sharing the parent prefix): fork-point capture insrc/core/agent-loop.js, branch execution insrc/core/chat-runtime.js(runForkTask+onForkTask). - Web UI API routes: start in
codemini-web/server.js. - Web UI state and chat behavior: start in
codemini-web/client/src/context/app-context.jsxand relevant components undercodemini-web/client/src/components/.
Verification
- General runtime changes: run
npm test. - Skill routing / hooks changes: run
node --test tests/skill-hooks-*.test.js tests/web-skill-editor-layout.test.js. - Project index changes: run
node --test tests/chat-runtime.test.js tests/tools.test.js. - Web UI changes: run
npm run build:web; add focused tests when behavior crosses the server/client boundary.
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 · 44 lines · 697 tokens per session scan A d83233f02ffd
Codemini-CLI AGENTS.md is an instructions file published in the GitHub repository havingautism/Codemini-CLI (192 stars, last pushed 6d ago), licensed MIT. It adds 697 tokens to every session, about $0.0035 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
dsh-TUI AGENTS.md
Instructions for ccch1mneyyy/dsh-TUI, covering agents.md, 仓库布局, 命令, 上游边界与契约 and 约定与红线.
Tianshu-harness CLAUDE.md
Instructions for huiliyi37/Tianshu-harness, covering 天枢 (tianshu) / rivet, build & test, architecture, conventions and known constraints.
cocode AGENTS.md
Instructions for cocode-agency/cocode, covering agents.md, 仓库布局, 仓库边界, cocode-gui/ and cocode-tui/.
peri CLAUDE.md
Instructions for KonghaYao/peri, covering claude.md — perihelion, 先读什么, 跨仓库契约, 任务路由 and 代码定位.
Whale AGENTS.md
AGENTS.md instructions for usewhale/Whale, covering repository guidelines, project structure & module organization, build, test, and development commands, coding style & naming conventions and testing guidelines.
devo AGENTS.md
Instructions for 7df-lab/devo, covering agents.md, rust, tests, test assertions and protocol and session settings.