docs-lookup

docs-lookup is a skill for Claude Code from krzysztofsurdy/code-virtuoso. It costs 77 tokens per session (1,439 once invoked), scanned A, original, MIT.

A version-aware documentation lookup procedure for answering exact questions about libraries and tools. It checks the project's installed version and prefers official sources before suggesting code.

In plain words
What is it for?
It helps verify method signatures, argument order, configuration keys, command-line flags, and version-specific usage.
Why use it?
It reduces errors caused by outdated or invented method names, options, and configuration settings. This matters because APIs can change between versions.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the knowledge-virtuoso plugin — 6 skills shipped together

Good fit It helps verify method signatures, argument order, configuration keys, command-line flags, and version-specific usage.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/krzysztofsurdy/code-virtuoso/docs-lookup
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 krzysztofsurdy/code-virtuoso --skill docs-lookup
Clone the repo
git clone --depth 1 https://github.com/krzysztofsurdy/code-virtuoso

Made for: Claude Code.

Or install knowledge-virtuoso, the plugin that ships this one along with the rest of its 6 skills.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/krzysztofsurdy/code-virtuoso/docs-lookup"><img src="https://agentmods.dev/badge/skills/krzysztofsurdy/code-virtuoso/docs-lookup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,439 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 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.00077 $0.01439
Opus 5.5 $0.00031 $0.00576
Sonnet 5.5 $0.00015 $0.00288
Haiku 4.5 $0.00008 $0.00144

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

Security

Grade A, and why

docs-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 1mo 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.

skills/knowledge/docs-lookup/SKILL.md · 72 lines

How it starts

The opening of the file, as written. The whole thing — 72 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Docs lookup

Look up the official docs for the version the project actually runs, then write the code. Model memory of framework APIs is frozen at training time and blends several versions together. A fetched page costs a few seconds. A deprecated or invented API costs a failed build or a review round.

When to fetch

Fetch when the answer depends on exact, version-sensitive detail:

  • An API signature, constructor argument, attribute, annotation or return type
  • A configuration key, default value or environment variable
  • A CLI command or flag
  • A feature that was added, renamed, deprecated or removed recently
  • Any library version you have not verified in this session

Skip the fetch for design judgment (naming, layering, patterns), for code already in the repository, and for language basics. Use the matching knowledge skill for those.

Procedure

  1. Detect the installed version. Read the lockfile before any lookup: composer.lock, package-lock.json, pnpm-lock.yaml or yarn.lock, uv.lock, poetry.lock or requirements*.txt, Cargo.lock, go.sum. Fall back to the manifest constraint only if no lockfile exists, and say so.
  2. Resolve the library. Search by the official name and prefer official sources: /websites/<official-domain>... (the vendor docs site) or /<official-org>/<repo>. Skip forks, mirrors and community copies. Pick the ID or version suffix that matches the lockfile, not the highest benchmark score. Known trap: Symfony 7.4 docs outrank the current 8.x docs in Context7 results. If a known-good ID exists, use it directly: see library-ids.
  3. Query narrowly. One concept per query, written as a specific question. Pass the programming language. Make at most 3 calls per question: without an API key Context7 applies low rate limits, and a 429 response carries a Retry-After header.
  4. Cross-check surprises. If a result contradicts what you expected or what the code does, check the installed source: vendor/<pkg>/CHANGELOG.md and UPGRADE-*.md, node_modules/<pkg>, site-packages/<pkg>, the Go module cache. Installed code is ground truth for the installed version.
  5. Cite the source. Name the page URL (each Context7 snippet carries a Source: URL) and the version it covers in your answer or commit notes.

Read the full file on GitHub · 72 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago Changed · -34 lines 994de227caa0
  2. 1mo ago First seen · 106 lines · 77 tokens per session scan A 71f11f7b4b28

Subscribe to this mod's changes

docs-lookup is a skill published in the GitHub repository krzysztofsurdy/code-virtuoso (26 stars, last pushed 1mo ago), licensed MIT. It adds 77 tokens to every session and 1,439 once invoked, about $0.0003 per session on Opus 5.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-10-22.

Related

docs-lookup compared with skills from other repositories

docs-lookup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
docs-lookupkrzysztofsurdy/code-virtuosoSkill261mo agoMITA77Claude Code
hermes-diagnostic-reviewAtlasOmnia/hermes-custom-packSkill8817d agoMITA49Claude Code, Codex
worth-building2ykwang/agent-skillsSkill19yesterdayMITA128Claude Code
django-ticket-triage2ykwang/agent-skillsSkill19yesterdayMITA65Claude Code
gh-issuesSafeAI-Lab-X/ClawKeeperSkill1.0k3d agononeA116Claude Code
healthcheckSafeAI-Lab-X/ClawKeeperSkill1.0k3d agononeA70Claude Code, Codex
clawkeeperSafeAI-Lab-X/ClawKeeperSkill1.0k3d agononeA98Claude Code, Codex