documentation-lookup

documentation-lookup is a skill for Claude Code from Klavis-AI/klavis. It costs 57 tokens per session (451 once invoked), scanned A, original, Apache-2.0.

A documentation lookup guide for questions about programming libraries, frameworks, and APIs. It directs the assistant to find current technical documentation and use it when explaining setup or writing code.

In plain words
What is it for?
Answering setup questions, finding API references, and writing code involving tools such as React, Vue, Next.js, Prisma, Supabase, and similar frameworks.
Why use it?
Software libraries change, so relying only on memory can produce outdated or incorrect instructions. Looking up the relevant documentation keeps examples and configuration advice tied to the right version and project.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the context7-plugin plugin — 1 skill, 1 command, 1 agent shipped together

Good fit Answering setup questions, finding API references, and writing code involving tools such as React, Vue, Next.js, Prisma, Supabase, and similar frameworks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/klavis-ai/klavis/documentation-lookup
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,801 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.

Any agent
npx skills add Klavis-AI/klavis --skill documentation-lookup
Clone the repo
git clone --depth 1 https://github.com/Klavis-AI/klavis

Made for: Claude Code.

Or install context7-plugin, the plugin that ships this one along with the rest of its 1 skill, 1 command, 1 agent.

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 documentation-lookup

README.md
[![agentmods](https://agentmods.dev/badge/skills/klavis-ai/klavis/documentation-lookup/github.svg)](https://agentmods.dev/skills/klavis-ai/klavis/documentation-lookup)
Your own site
<a href="https://agentmods.dev/skills/klavis-ai/klavis/documentation-lookup"><img src="https://agentmods.dev/badge/skills/klavis-ai/klavis/documentation-lookup/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 documentation-lookup

Your own site · 80×15
<a href="https://agentmods.dev/skills/klavis-ai/klavis/documentation-lookup"><img src="https://agentmods.dev/badge/skills/klavis-ai/klavis/documentation-lookup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 451 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found 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.00057 $0.00451
Opus 5 $0.00028 $0.00226
Sonnet 5 $0.00011 $0.00090
Haiku 4.5 $0.00006 $0.00045

Measured 10d ago against content hash 17320b699acf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

documentation-lookup 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 10d 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

Copies of this mod

3 near-identical copies found in the catalogue:

mcp_servers/context7/plugins/claude/context7/skills/documentation-lookup/SKILL.md · 54 lines

What it actually says

When the user asks about libraries, frameworks, or needs code examples, use Context7 to fetch current documentation instead of relying on training data.

When to Use This Skill

Activate this skill when the user:

  • Asks setup or configuration questions ("How do I configure Next.js middleware?")
  • Requests code involving libraries ("Write a Prisma query for...")
  • Needs API references ("What are the Supabase auth methods?")
  • Mentions specific frameworks (React, Vue, Svelte, Express, Tailwind, etc.)

How to Fetch Documentation

Step 1: Resolve the Library ID

Call resolve-library-id with:

  • libraryName: The library name extracted from the user's question
  • query: The user's full question (improves relevance ranking)

Step 2: Select the Best Match

From the resolution results, choose based on:

  • Exact or closest name match to what the user asked for
  • Higher benchmark scores indicate better documentation quality
  • If the user mentioned a version (e.g., "React 19"), prefer version-specific IDs

Step 3: Fetch the Documentation

Call query-docs with:

  • libraryId: The selected Context7 library ID (e.g., /vercel/next.js)
  • query: The user's specific question

Step 4: Use the Documentation

Incorporate the fetched documentation into your response:

  • Answer the user's question using current, accurate information
  • Include relevant code examples from the docs
  • Cite the library version when relevant

Guidelines

  • Be specific: Pass the user's full question as the query for better results
  • Version awareness: When users mention versions ("Next.js 15", "React 19"), use version-specific library IDs if available from the resolution step
  • Prefer official sources: When multiple matches exist, prefer official/primary packages over community forks
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. 10d ago First seen · 54 lines · 57 tokens per session scan A 17320b699acf

Subscribe to this mod's changes

documentation-lookup is a skill published in the GitHub repository Klavis-AI/klavis (5,801 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 57 tokens to every session and 451 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

android-architecture

Default Android app architecture: MVVM, three Gradle modules, Jetpack Compose, Hilt, Coil, Ktor, Room, DataStore. Use when creating or changing Android, Kotlin, Jetpack Compose, Gradle modules, Activities, ViewModels, or Android libraries in an app that has not already chosen a different pattern.

sergenes/mini_agent · 71 tokens

ios-architecture

Default iOS and macOS app architecture: MVVM, SwiftUI, @Observable, async/await, URLSession. Use when creating or changing iOS, iPadOS, macOS, SwiftUI, ViewModels, Swift packages, or Xcode app targets that have not already chosen a different pattern.

sergenes/mini_agent · 67 tokens

new-project

Bootstrap a new product repository for agentic development. Use when starting a new app, empty repo, greenfield project, or when the user asks to stand up the factory, the start loop, or what to install before the first feature.

sergenes/mini_agent · 51 tokens

web-architecture

Default web app architecture: TypeScript, feature folders, a view / state / client split in the same spirit as MVVM. Use when creating or changing web UI, TypeScript/JavaScript frontend, React or similar SPA/SSR pages, CSS, or browser API clients in an app that has not already chosen a different pattern.

sergenes/mini_agent · 71 tokens

agentcore-investigation

Investigate Bedrock AgentCore runtime sessions via CloudWatch Logs Insights — resolve session/trace IDs, query OTEL spans, filter noise, build timelines. Use when debugging AgentCore agent sessions, tracing tool calls, or analyzing latency.

awslabs/mcp · 52 tokens

amazon aurora dsql

Deprecated compatibility redirect for Aurora DSQL guidance. Use when a request concerns DSQL, Aurora DSQL, distributed SQL, DSQL schemas, migrations, queries, authentication, performance, or application development.

awslabs/mcp · 46 tokens