docs

docs is a command for Claude Code from Klavis-AI/klavis. It costs 6 tokens per session (290 once invoked), scanned A, a copy of docs, Apache-2.0.

A command for finding documentation and code examples for a software library, optionally tied to a specific version.

In plain words
What is it for?
Use it to look up topics such as React hooks, Next.js authentication, Prisma relations, or Supabase security rules.
Why use it?
It helps developers use guidance that matches the library and version in their project.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it to look up topics such as React hooks, Next.js authentication, Prisma relations, or Supabase security rules.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/klavis-ai/klavis/docs
About the project

Klavis AI is a platform that connects AI agents to external tools through MCP integrations, which are standardized servers and clients for giving agents access to services. It serves developers who need prebuilt connectors, hosted or self-managed MCP environments, SDK access, or a REST API. The catalogue entries provide an MCP integration and related agent workflow components for Klavis.

Klavis-AI/klavis · 5,829 stars · on GitHub · klavis.ai

Install

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.

Clone the repo
git clone --depth 1 https://github.com/Klavis-AI/klavis

Made for: Claude Code.

Wrote 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.

agentmods badge for docs

README.md
[![agentmods](https://agentmods.dev/badge/commands/klavis-ai/klavis/docs/github.svg)](https://agentmods.dev/commands/klavis-ai/klavis/docs)
Your own site
<a href="https://agentmods.dev/commands/klavis-ai/klavis/docs"><img src="https://agentmods.dev/badge/commands/klavis-ai/klavis/docs/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for docs

Your own site · 80×15
<a href="https://agentmods.dev/commands/klavis-ai/klavis/docs"><img src="https://agentmods.dev/badge/commands/klavis-ai/klavis/docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 6 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 290 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 92% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00006 $0.00290
Opus 5.5 $0.00002 $0.00116
Sonnet 5.5 $0.00001 $0.00058
Haiku 4.5 $0.00001 $0.00029

Measured 2mo ago against content hash 984a187fc621, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 2mo 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.

Origin

This is a copy

92% identical to docs — 7 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.

mcp_servers/context7/plugins/claude/context7/commands/docs.md · 46 lines

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

  1. If the library starts with /, it's used directly as the Context7 ID
  2. Otherwise, resolve-library-id finds the best matching library
  3. query-docs fetches documentation relevant to your query
  4. 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.

Changes

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.

  1. 2mo ago First seen · 46 lines · 6 tokens per session scan A 984a187fc621

Subscribe to this mod's changes

docs is a command published in the GitHub repository Klavis-AI/klavis (5,829 stars, last pushed yesterday), licensed Apache-2.0. It adds 6 tokens to every session and 290 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 92% identical to docs, differing in 7 lines, and is treated as a copy.

Related

docs compared with commands from other repositories

docs next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
docsKlavis-AI/klavisCommand5.8kyesterdayApache-2.0A6Claude Code
add-toolqfoldit/UEFN-TOOLBELTCommand625d agononeA0Claude Code
checklistgithub/spec-kitCommand148kyesterdayMITA13Claude Code
clarifygithub/spec-kitCommand148kyesterdayMITA27Claude Code
specifygithub/spec-kitCommand148kyesterdayMITA13Claude Code
analyzegithub/spec-kitCommand148kyesterdayMITA26Claude Code
convergegithub/spec-kitCommand148kyesterdayMITA35Claude Code