Skip to content
Back to skills

Context7 Tools

ASecurity

Queries Context7 library documentation via Python CLI. Use when resolving library IDs, fetching API references, code examples, or conceptual guides.

  • 666 stars
  • 0 votes
  • 1 copy
  • 3 views
  • Added February 8, 2026
documentationpythonbashreactapidocumentation

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill context7-tools --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Context7 Tools?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Context7 Tools
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-context7-tools/badge)](https://www.skillsdirectory.com/skills/majiayu000-context7-tools)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: context7-tools
type: complex
depth: base
user-invocable: false
description: >-
  Queries Context7 library documentation via Python CLI. Use when resolving
  library IDs, fetching API references, code examples, or conceptual guides.
---

# [H1][CONTEXT7-TOOLS]
>**Dictum:** *Three commands mirror MCP capabilities plus unified convenience.*

<br>

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]

```bash
# 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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.