
Context7
This is a wrapper around the Context7 API that fetches live documentation for libraries and frameworks instead of relying on Claude's training data. You search for a library (React, Django, Laravel, whatever), grab its ID, then query for specific topics like "hooks" or "eloquent relationships." It has two modes: code for API references and examples, info for conceptual guides. The skill is explicit about when not to use it, which is refreshing. It won't help with general programming concepts or debugging your business logic, just library-specific questions where current docs matter. Rate limits apply unless you set an API key.
- install copies · 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
- 15
- skills.sh installs
- 2.1K
- GitHub stars
- 87
- last updated
- Aug 21, 2026
Install
$ npx -y skills add netresearch/context7-skill --skill context7 --agent claude-codeInstalls into .claude/skills of the current project.
Files
Context7 Documentation Lookup Skill
Fetch current library documentation, API references, and code examples via the Context7 REST API.
When to Use
Use this skill when the user asks about library APIs, framework patterns, or version-specific behavior. Trigger on:
- Library questions: "How do I use [library]?", "[library] API docs", "[library] patterns"
- Import statements:
import,require,fromfollowed by a library name - Framework-specific topics: hooks, routing, middleware, ORM queries, schema definitions
When NOT to Use
Do NOT use this skill for:
- General programming concepts (closures, recursion, design patterns)
- Code review or refactoring tasks
- Debugging business logic
- Writing scripts from scratch without library-specific questions
Core Workflow
-
Search for the library ID:
${CLAUDE_SKILL_DIR}/scripts/context7.sh search "library-name" -
Pick the best result: Choose the ID with the highest score and most relevant description. Prefer official sources (e.g.,
/vercel/next.jsover community forks).
Sponsors
Details
- Repository
- github.com/netresearch/context7-skill
- Categories
- Frontend Development, Backend & APIs, Documentation, AI & Agent Building, Python, PHP & Laravel
- First seen
- Jun 3, 2026