Fetches version-correct library docs before answering API questions. Checks lockfiles, queries official sources, and cites versions to prevent deprecated or invented APIs.
Ships in knowledge-virtuoso. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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.
Fetch when the answer depends on exact, version-sensitive detail:
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.
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./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.Retry-After header.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.Source: URL) and the version it covers in your answer or commit notes.| Item | Detail |
|---|---|
| Library IDs | /owner/repo for GitHub sources, /websites/<domain-slug> for doc sites, /llmstxt/<source> for llms.txt sources |
| Version pin | /owner/repo/<version> or /owner/repo@<version>. Symfony docs use a branch suffix: /symfony/symfony-docs/__branch__7.4 |
| MCP tools | resolve-library-id (name and question to ID) then query-docs (ID, question, optional language) |
| Skip resolving | If you already hold an exact /org/project ID, call query-docs directly |
| Not found | A 404 library_not_found means the ID changed or never existed. Re-resolve by name |
Sources: Context7 API guide, CLI, troubleshooting.
Move down the list only when the step above is unavailable or fails.
resolve-library-id, then query-docs.npx ctx7 library <name> "<question>" then npx ctx7 docs <libraryId> "<question>" --language <lang>. Library IDs must start with /. Add --json for scripting. Node.js 22.13 or later. Set CTX7_TELEMETRY_DISABLED=1 to opt out of telemetry.GET https://context7.com/api/v2/libs/search?libraryName=<name>&query=<question> returns results[].id.GET https://context7.com/api/v2/context?libraryId=<id>&query=<question>&type=txt returns plain-text snippets. Send Authorization: Bearer $CONTEXT7_API_KEY if a key is set. URL-encode every parameter.<docs-domain>/llms.txt or the page for the exact version.Documentation tools feed text into the agent's context, so they are an injection path. CVE-2026-75130 (Context7 up to 2.1.2) showed this: text planted in the Custom AI Instructions feature was served to agents as trusted instructions (SentinelOne, OpenCVE).
.env contents or proprietary code in a query. Queries leave your machine.@latest, and review changelogs before upgrading.| Reference | Contents |
|---|---|
| library-ids | Verified Context7 IDs for common frameworks and standards, version patterns, and what to do when an ID stops resolving |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
No slash command · from knowledge-virtuoso
npx claudepluginhub krzysztofsurdy/code-virtuoso --plugin knowledge-virtuoso6 skills in this plugin
/accessibilityWeb accessibility patterns and WCAG 2.1/2.2 compliance. Use to build accessible components, audit a UI for a11y issues, fix screen reader or keyboard problems, check contrast, or add ARIA./context-engineeringHow to budget and structure what a coding agent sees. Use when asked to trim, split or write AGENTS.md, CLAUDE.md, rules files or skill descriptions (for example 'CLAUDE.md is too long'), when an agent ignores instructions, forgets rules or drifts in long sessions, and when planning compaction or progress notes./debuggingSystematic debugging by root cause analysis. Use when facing a bug, test failure, flaky behavior, production error, or integration failure. Covers reproduce, hypothesize, fix, prevent, and post-mortems./performanceProfiling-driven performance optimization: caching, query tuning, N+1 fixes, memory, and load testing. Use to diagnose a bottleneck or set performance budgets./securityApplication security principles and OWASP Top 10. Use to review code for vulnerabilities, implement authentication or authorization, handle secrets, configure security headers, prevent injection (SQL, XSS, CSRF), or prepare for an audit.Other plugins' skills for the same job