context7
Fetch up-to-date library documentation via Context7 REST API. Use when needing current API docs, framework patterns, or code examples for any library. Use when user asks about React, Next.js, Prisma, Express, Vue, Angular, Svelte, or any npm/PyPI package. Use when user says 'how do I use X library', 'what's the API for Y', or needs official documentation. Lightweight alternative to Context7 MCP with no persistent context overhead.
npx skills add majiayu000/claude-skill-registry --skill context7-arvindand-agent-skills --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Context7 Documentation Lookup Skill Fetch current library documentation, API references, and code examples without MCP context overhead. **Works on all platforms via REST API.** ## When to Use **Activate automatically when:** - User asks about library APIs or framework patterns - User requests code generation using specific libraries/frameworks - Import statements suggest documentation needs: `import`, `require`, `from` - Questions about specific library versions or migration - Need for official documentation patterns vs generic solutions - Setting up or configuring third-party tools - "How do I use X library?", "What's the API for Y?" **Examples:** - "Create Next.js middleware with authentication" → Use context7 - "Set up Prisma with PostgreSQL" → Use context7 - "Implement Supabase authentication" → Use context7 ## Workflow ### Quick Start (If You Know the Library) **Skip the search** when you already know the library: ```bash scripts/context7.py docs "/vercel/next.js" "middleware authentication" ``` Common library IDs: - React: `/facebook/react` - Next.js: `/vercel/next.js` - Prisma: `/prisma/prisma` - Supabase: `/supabase/supabase` - Express: `/expressjs/express` ### Full Work
- When to Use
- Workflow
- Quick Start (If You Know the Library)
- Full Workflow
- Script Reference
- Documentation Modes
- Example Workflow
- Validation & Recovery
- Common Use Cases
- Use Case 1: Direct Library Lookup
- Use Case 2: Version-Specific Documentation
- Use Case 3: Conceptual Understanding
- Use Case 4: Discovery Search
- Error Handling
scripts/context7.py docs "/vercel/next.js" "middleware authentication" scripts/context7.py search "library-name" scripts/context7.py docs "<library-id>" "[topic]" "[mode]" Request specific version by adding it to the library ID scripts/context7.py docs "/vercel/next.js/14" "middleware" Or mention in topic scripts/context7.py docs "/facebook/react" "hooks in React 18" Get React hooks documentation scripts/context7.py docs "/facebook/react" "hooks" Get Next.js routing docs
What does the context7 skill do?
Fetch up-to-date library documentation via Context7 REST API. Use when needing current API docs, framework patterns, or code examples for any library. Use when user asks about React, Next.js, Prisma, Express, Vue, Angular, Svelte, or any npm/PyPI package. Use when user says 'how do I use X library', 'what's the API for Y', or needs official documentation. Lightweight alternative to Context7 MCP with no persistent context overhead.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill context7-arvindand-agent-skills --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
