Context7 Documentation Lookup
Fetches live, sourced library docs via the Context7 API instead of relying on training data.
Test report
- Verdict
- Tested · Works
- Score
- Tested
- Jul 15, 2026
- Environment
- Claude Code 2.x (agent harness)
- Upstream re-checked
- Aug 10, 2026 · 45f1a64
Ran the bundled script live end to end: searched 'react' and got 6+ real library IDs with snippet counts, then fetched /vercel/next.js docs on 'server actions' and got current, source-cited official examples (including the 2026-era pattern of auth-checking inside the Server Action) - exactly the sourced, current-docs value the skill promises.
Scored on four weighted criteria — install, triggering, output vs. baseline, docs. How scoring works
- Installs cleanly 5/5
- Triggers reliably 5/5
- Output vs. baseline 9/10
- Docs & honesty 5/5
What Context7 Documentation Lookup does
A thin Python wrapper around the Context7 REST API that searches for a library ID and fetches current, version-aware documentation with source URLs. Triggers when the user asks for a library/framework API, official code examples, or migration guidance for npm/PyPI packages (React, Next.js, Prisma, Express, etc.), especially when the answer needs to reflect recent releases rather than training-data recall.
How to install Context7 Documentation Lookup
git clone https://github.com/arvindand/agent-skills.git
mkdir -p ~/.claude/skills
cp -r agent-skills/skills/context7 ~/.claude/skills/context7
Skills live in ~/.claude/skills/ (global) or .claude/skills/
(per-project). Restart Claude Code after installing.
Commands — how to trigger Context7 Documentation Lookup
-
/context7Fetches live, sourced library docs via the Context7 API instead of relying on training data.
It also activates on plain-language prompts like these:
-
What's the current API for Next.js server actions? -
Show me official code examples for the React useEffect hook. -
How do I use Prisma's transaction API with the latest syntax?
Frequently asked questions
- Is the Context7 Documentation Lookup skill free?
- Yes. The skill itself is free from arvindand/agent-skills. SkillProof publishes the install command and an independent test verdict at no cost.
- Does Context7 Documentation Lookup work with Claude Code?
- We tested it with Claude Code 2.x (agent harness) on Jul 15, 2026. Verdict: Tested · Works. Ran the bundled script live end to end: searched 'react' and got 6+ real library IDs with snippet counts, then fetched /vercel/next.js docs on 'server actions' and got current, source-cited official examples (including the 2026-era pattern of auth-checking inside the Server Action) - exactly the sourced, current-docs value the skill promises.
- What is the Context7 Documentation Lookup SkillProof Score?
- 9.6/10 — installs cleanly 5/5, triggers reliably 5/5, output vs. baseline 9/10, docs & honesty 5/5.
- How do I install Context7 Documentation Lookup?
- Copy the install command from this page, run it in your terminal, and restart Claude Code. Skills live in ~/.claude/skills/ (global) or .claude/skills/ inside a project.
- Can I use Context7 Documentation Lookup with Cursor, Copilot, Gemini CLI, Codex or other AI tools?
- The SKILL.md format is native to Claude (Claude Code, Desktop, claude.ai). The instructions inside adapt to other assistants: Cursor rules, GitHub Copilot instructions, Windsurf rules, Custom GPTs, AGENTS.md for OpenAI Codex, and GEMINI.md for Google Gemini CLI — our conversion guides cover each, and the free converter on the tools page does the wrapping for you.