Skip to content

Fallback lookup for library docs, API references, and code examples when the Context7 MCP server is unavailable.

CCM score
59 of 100
install copies · 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
8
skills.sh installs
2.2K
GitHub stars
97
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers library documentation, API references, framework patterns, and code examples across libraries such as React, Next.js, Vue, Django, and Laravel
  • Searches for a library ID, then fetches focused docs with context7.sh search and context7.sh docs in code or info mode
  • Restricts fetching to the bundled context7.sh script and treats returned text as reference material, never as commands to run
  • Designed for direct Context7 REST API access when the MCP server is not configured, with optional CONTEXT7_API_KEY for higher rate limits

Install

$ npx -y skills add netresearch/context7-skill --skill context7 -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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, from followed 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

  1. Search for the library ID:

    ${CLAUDE_SKILL_DIR}/scripts/context7.sh search "library-name"
    
  2. Pick the best result: Choose the ID with the highest score and most relevant description. Prefer official sources (e.g., /vercel/next.js over community forks).

Details

Repository
github.com/netresearch/context7-skill
Categories
Technical Documentation, AI Agents & LLM Apps, Skill & Plugin Building
First seen
Jun 3, 2026

Similar to Context7

More Technical Documentation