context7 · netresearch — Claude Code skill: what it does, how to install
Looks up library references and API examples through the Context7 REST API when its MCP server is not configured. Use it for framework-specific questions and version behaviour.
npx skills add netresearch/context7-skill --skill context7 -a claude-codeWhat context7 does
The skill identifies a library, selects a relevant ID, then requests material for a focused subject. It handles questions about API methods, imports, routing, hooks, ORM queries, and other library features.
Its workflow uses context7.sh: it searches for a library first, then requests documentation with a topic and either code or info mode. When the Context7 MCP server is unavailable, the script calls the REST API directly.
It requires curl 7.55 or later plus jq. Check those dependencies before installation. CONTEXT7_API_KEY is optional and raises request limits.
What it helps with
- find a library identifier
- look up an API method
- check framework behaviour by version
- retrieve an ORM query example
Example prompts for the agent
- How do I use React hooks?
- Show me the Next.js routing reference.
- I need the Django QuerySet filtering API.
How to install context7
1Skills CLI (Vercel)
npx skills add netresearch/context7-skill --skill context7 -a claude-code2Manually: put the files in place
~/.claude/skills/context7/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/context7/
1Skills CLI (Vercel)
npx skills add netresearch/context7-skill --skill context7 -a codex2Manually: put the files in place
.agents/skills/context7/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add netresearch/context7-skill --skill context7 -a cursor2Manually: put the files in place
.cursor/skills/context7/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install netresearch/context7-skill context72Manually: put the files in place
.github/skills/context7/SKILL.md1Skills CLI (Vercel)
npx skills add netresearch/context7-skill --skill context7 -a gemini-cli2Platform CLI
gemini skills install https://github.com/netresearch/context7-skill --path skills/context7Manually: put the files in place
.devin/skills/context7/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add netresearch/context7-skill --skill context7 -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about context7
How do I install context7 in Claude Code?
Run npx skills add netresearch/context7-skill --skill context7 -a claude-code, then run npx skills add netresearch/context7-skill --skill context7 -a claude-code again. The skill file is at ~/.claude/skills/context7/SKILL.md.
What does context7 do?
It searches library documentation, API reference material, and code snippets through the Context7 REST API. It targets library and framework questions rather than general programming topics or code review.
What does context7 require?
It needs curl 7.55 or later and jq. You can set CONTEXT7_API_KEY for higher request limits.
Similar skills
All skills for Agent setup: memory, context, orchestration →context7 by other authors comes first.