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-code

Installs 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, 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).

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
1josiahsiegel avatartailwindcss-mobile-firstjosiahsiegel/claude-plugin-marketplaceMobile-first responsive design patterns with Tailwind CSS v4 (2025-2026). PROACTIVELY activate for: (1) mobile-first design with Tailwind breakpoints (sm:, md:,2.1Kskills.sh installs
2uni-stack avatarmigrate-nativewind-to-uniwinduni-stack/uniwindMigrate a React Native project from NativeWind to Uniwind. Use when the user wants to replace NativeWind with Uniwind, upgrade from NativeWind, switch to Uniwin2Kskills.sh installs
3enzed avatarr3f-lightingenzed/r3f-skillsReact Three Fiber lighting - light types, shadows, Environment component, IBL. Use when adding lights, configuring shadows, setting up environment lighting, or 2Kskills.sh installs
4unclecatvn avatarodoo-19unclecatvn/agent-skillsOdoo 19 development knowledge base with 18 specialized guides covering Actions (ir.actions.*, cron jobs, server actions), Controllers (HTTP routing, endpoints, 2Kskills.sh installs
5yamadashy avatarrepomix-exploreryamadashy/repomixAnalyze or explore a codebase (remote or local repository) by packing it with the Repomix CLI, then reading and searching the generated output. Use when the use2Kskills.sh installs
6minimax-ai avatarflutter-devminimax-ai/skillsFlutter cross-platform development guide covering widget patterns, Riverpod/Bloc state management, GoRouter navigation, performance optimization, and platform-s2Kskills.sh installs