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 commands/klavis-ai/klavis/docsgit clone --depth 1 https://github.com/Klavis-AI/klavisWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/klavis-ai/klavis/docs)<a href="https://agentmods.dev/commands/klavis-ai/klavis/docs"><img src="https://agentmods.dev/badge/commands/klavis-ai/klavis/docs.svg" alt="Measured on agentmods" height="20"></a>What 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.00006 | $0.00290 |
| Opus 5 | $0.00003 | $0.00145 |
| Sonnet 5 | $0.00001 | $0.00058 |
| Haiku 4.5 | $0.00001 | $0.00029 |
Grade A, and why
docs 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 4d 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.
This is a copy
92% identical to docs — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
What it actually says
/context7:docs
Fetches up-to-date documentation and code examples for a library.
Usage
/context7:docs <library> [query]
- library: The library name, or a Context7 ID starting with
/ - query: What you're looking for (optional but recommended)
Examples
/context7:docs react hooks
/context7:docs next.js authentication
/context7:docs prisma relations
/context7:docs /vercel/next.js/v15.1.8 app router
/context7:docs /supabase/supabase row level security
How It Works
- If the library starts with
/, it's used directly as the Context7 ID - Otherwise,
resolve-library-idfinds the best matching library query-docsfetches documentation relevant to your query- Results include code examples and explanations
Version-Specific Lookups
Include the version in the library ID for pinned documentation:
/context7:docs /vercel/next.js/v15.1.8 middleware
/context7:docs /facebook/react/v19.0.0 use hook
This is useful when you're working with a specific version and want docs that match exactly.
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.
- 4d ago First seen · 46 lines · 6 tokens per session scan A 984a187fc621
docs is a command published in the GitHub repository Klavis-AI/klavis (5,798 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 6 tokens to every session and 290 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. It is 92% identical to docs, differing in 2 lines, and is treated as a copy.
Other commands, from other repositories
review-pr
Command "review-pr" from modelcontextprotocol/python-sdk, covering step 1: resolve the pr, step 2: gather the diff, step 3: collect pr discussion context, step 4: find and read linked issues and step 5: analyze and validate.
serve
Start the main 1MCP runtime with 1mcp serve and use it for CLI mode, direct HTTP MCP clients, and template-aware runtime behavior.
inspect
Use the inspect command to list servers, inspect a server's tools, and view tool schemas from a running 1MCP serve instance.
proxy
Use 1mcp proxy as the maximum-compatibility bridge to a running 1MCP HTTP runtime.
admin
Manage CLI Admin sessions for Runtime Target Contexts.
cli-setup
Use the cli-setup command to install 1MCP startup docs and hooks for Codex or Claude in global or repo scope.