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/tw93/kami/agents-mdgit clone --depth 1 https://github.com/tw93/KamiWhat 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.05574 | $0.05574 |
| Opus 5 | $0.02787 | $0.02787 |
| Sonnet 5 | $0.01115 | $0.01115 |
| Haiku 4.5 | $0.00557 | $0.00557 |
Grade A, and why
Kami AGENTS.md scanned grade A with 1 finding 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
deploy: verify them with `curl -sI` against the preview URL, never locally. How it starts
The opening of the file, as written. The whole thing — 354 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Kami Agent Guide
Project
Kami is a document-generation skill and template system: self-contained editorial HTML
templates rendered to PDF / PPTX / PNG, plus reference specs, demo assets, and a
packaged skill archive. SKILL.md is the runtime manual for producing a document.
This file is the maintenance guide for changing the repository itself, and it records
the traps that a fresh read of the code does not reveal.
Repository Map
Only the entries whose role is not obvious from the filename:
SKILL.md- skill routing plus the document-side build and verify commands.CHEATSHEET.md- quick design reference. Both ship inside the package.references/design.md,writing.md,production.md,diagrams.md- full specs.production.mdPart 4 is the single source of truth for render failures, their verified causes, and their fixes; add pitfalls there, not here.docs/release.md- release notes, release flow, demo screenshot regeneration.anti-patterns.md,resume-writing.md,mermaid.md,deck-preflight.md,brand-profile.mdandbrand.example.md- scoped guides.references/tokens.json(color tokens, drift-checked byscripts/tokens.py),references/mermaid-theme.json(Kami to beautiful-mermaid theme, kept in sync withtokens.json),references/checks_thresholds.json(rhythm / density / orphan / visual thresholds read bychecks.pyandvisual.py). These are live inputs to gates: editing a number changes what passes.references/schemas/- one JSON Schema subset per document type. The$commentfields carry the per-field quality bar distilled fromwriting.md, so schema edits andwriting.mdedits move together.scripts/shared.py- the canonical registries (HTML_TEMPLATES,SCREEN_TEMPLATES,PPTX_TEMPLATES,MARP_TEMPLATES,DIAGRAM_TEMPLATES) and each template'sbuild_max_pages.build.pyderives its internal build targets from them; Marp stays discovery-only because it uses an external CLI. Add or remove a template or diagram here, never in a per-script dict.scripts/render.py- the single render entry (render_pdf,build_slides, PDF metadata stamping).build.py,verify.py, andmcp_server.pyall call it; never open a second WeasyPrint call site.scripts/mermaid_normalize.py- re-themes a beautiful-mermaid SVG to the Kami palette and makes it WeasyPrint-safe. Pure Python, no Node, ships in the package.scripts/mcp_server.py- zero-dependency MCP stdio server exposingkami_templates/kami_doctor/kami_render/kami_check/kami_screenshot, so an MCP-capable agent can diagnose, render, and verify without readingSKILL.md. Register withclaude mcp add kami -- python3 <checkout>/scripts/mcp_server.py.scripts/site_facts.py- public-site fact drift checks (install commands, version, template and diagram counts acrossindex*.html,README.md,llms.txt), wired intobuild.py --check.scripts/check-update.sh- quiet daily update check invoked fromSKILL.md; writes a local cache marker, then resolves the latest published GitHub Release at most once per day. It uploads no user document or task content and stays silent on failure.assets/showcase/- README and public-site screenshots only.assets/demos/- README showcase demos.scripts/package-skill.shexcludes both from the ZIP.assets/diagrams/src/*.mmd- Mermaid source of the sequence / class / er diagrams.assets/templates/marp/- the Markdown-first Marp deck variant.dist/kami.zip- tracked release archive, committed with release changes.plugins/kami/,.claude-plugin/marketplace.json, and.agents/plugins/marketplace.jsonare generated; see Generated Mirrors below.- Public site surface:
index.htmlplusindex-zh|en|ja|ko|tw.html, the English-only prose pagesdevelopers|about|contact|privacy.html,styles.css,llms.txt,robots.txt,sitemap.xml,vercel.json.styles.cssis Kami's own site shell (language switcher, gallery, responsive behavior,.hero.doc/.prosefor the prose pages); generic template rules never belong there. - Agent-facing site surface:
index.md(Markdown twin of the homepage;vercel.jsonredirects/here forAccept: text/markdownand/?mode=agent, because Vercel appliesrewritesonly after the filesystem and/always matchesindex.html),developers|about|contact|privacy.md,developers/llms.txt, and the generated.well-known/agent-skills/index.json,.well-known/mcp/server-card.json,feeds/catalog.jsonld,schemamap.xml. Every new prose page needs its.mdtwin, arewritesentry for the extensionless URL, and asitemap.xmlrow. Thehas-conditioned redirects and theLinkheaders are only observable on a deploy: verify them withcurl -sIagainst the preview URL, never locally. .github/workflows/check.yml(PR/push CI) andrelease.yml(tag-triggered build and asset upload).
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 · 354 lines · 5,574 tokens per session scan A 6bdf8f957c49
Kami AGENTS.md is an instructions file published in the GitHub repository tw93/Kami (11,071 stars, last pushed today), licensed MIT. It adds 5,574 tokens to every session, about $0.0279 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
next.js AGENTS.md
Instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.