Agent skill
context7-tools
Queries Context7 library documentation via Python CLI. Use when resolving library IDs, fetching API references, code examples, or conceptual guides.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/context7-tools
SKILL.md
[H1][CONTEXT7-TOOLS]
Dictum: Three commands mirror MCP capabilities plus unified convenience.
Query Context7 library documentation. Matches MCP tool structure.
[1][COMMANDS]
| [CMD] | [ARGS] | [RETURNS] |
|---|---|---|
| resolve | <library> [query] |
Top 5 matching IDs with scores |
| docs | <library-id> <query> |
Documentation filtered by query |
| lookup | <library> <query> |
Resolve + docs in one call |
[2][USAGE]
# Resolve library → see options
uv run .claude/skills/context7-tools/scripts/context7.py resolve effect
# Fetch docs for specific ID
uv run .claude/skills/context7-tools/scripts/context7.py docs /effect-ts/effect "Services"
# Unified: resolve + docs
uv run .claude/skills/context7-tools/scripts/context7.py lookup react "hooks"
Slash command: /lib-docs react "hooks and state"
[3][SELECTION_LOGIC]
lookup auto-selects library by: VIP status → highest benchmark score.
Use resolve first when disambiguation needed.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?