Agent skill

context7-cli

Fetch up-to-date library documentation from Context7. Use for getting code examples and API docs for any library.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/context7-cli-mic92-mics-skills

SKILL.md

Usage

bash
# Search for libraries
context7-cli search react "how to use hooks"

# Get documentation (use library ID from search)
context7-cli docs /vercel/next.js "middleware authentication"

# With specific version
context7-cli docs /vercel/next.js/v14.3.0 "app router"

# JSON output
context7-cli search --json react "hooks" | jq '.results[0].id'
context7-cli docs --json /vercel/next.js "routing"

# With explicit API key
context7-cli -k "ctx7sk_xxx" search react "hooks"

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results