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/mochow13/keen-code/agents-mdgit clone --depth 1 https://github.com/mochow13/keen-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.00273 | $0.00273 |
| Opus 5 | $0.00137 | $0.00137 |
| Sonnet 5 | $0.00055 | $0.00055 |
| Haiku 4.5 | $0.00027 | $0.00027 |
Grade A, and why
keen-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.
Copies of this mod
1 near-identical copy found in the catalogue:
- keen-agent AGENTS.md — 92% identical, 9 lines differ
What it actually says
Keen Code
CLI-based coding agent powered by AI using Firebase Genkit for LLM interactions.
Important Guidelines
- Minimal comments only when strictly necessary
- Test critical paths, not aiming for 100% coverage
- Always run
go test -race ./...after finalising a change - Always run
go mod tidyafter each change - Always run
gofmton modified Go files before committing - Commit messages should be concise and focus on the key changes with bullet points
- Commit messages should follow the
feat(category): descriptionformat - Always check both tracked and untracked files for creating the commit message
- Never add co-authors or made-with AI tags to the commit message
Architecture
- internal/tools - LLM tools (read_file, write_file, edit_file, glob, grep, bash)
- internal/filesystem - Guard for safe file access
- internal/cli/repl - Interactive REPL UI
- internal/llm - Genkit-based LLM client
Permission System
Guard checks paths before filesystem operations:
PermissionGranted- Allowed (working directory)PermissionPending- User approval required (outside working dir)PermissionDenied- Blocked (system paths, .gitignore files)
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 · 25 lines · 273 tokens per session scan A 97e8f02c070b
keen-code AGENTS.md is an instructions file published in the GitHub repository mochow13/keen-code (60 stars, last pushed 2d ago), licensed MIT. It adds 273 tokens to every session, about $0.0014 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
vix AGENTS.md
AGENTS.md instructions for get-vix/vix, covering agents.md, project overview, architecture, instance control channel and development commands.
Tlamatini CLAUDE.md
Instructions for XAIHT/Tlamatini, covering tlamatini - claude.md, project identity, ⚠️ use only tlamatini's agents when asked (mandatory), the newest stone — adding-external-mcp (tracked 2026-08-19) and standing rules (do not weaken).
Tlamatini GEMINI.md
Instructions for XAIHT/Tlamatini, covering 🌟 golden rule: always proceed, everything everywhere! 🌟, tlamatini - gemini.md, project identity, ⚠️ use only tlamatini's agents when asked (mandatory) and the newest stone — adding-external-mcp (tracked 2026-08-19).
PiDeck AGENTS.md
Instructions for ayuayue/PiDeck, covering agents.md, 项目简介, 代码结构与跨层契约, 架构规则(硬性) and 模块内聚与低耦合(硬性).
SztuCode CLAUDE.md
Instructions for rojim666/SztuCode, covering claude.md, commands and architecture.
codex-mobile AGENTS.md
Instructions for friuns2/codex-mobile, covering agents.md, git workflow, commits, pr review bots and performance.