Context7
Collection of reusable skills and extensions for AI coding agents - prompts, Pi extensions, and other bits and pieces.
npx -y skills add eddmann/agent-toolkit --skill context7Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Retrieve up-to-date documentation for libraries and frameworks via the Context7 API. Use when looking up docs for any library, finding code examples, verifying API usage, or getting current info that may have changed since training.
SKILL.md
1.6 KB, as published. Nobody here has run it
Context7
Fetch current documentation for any library or framework via the Context7 API. Use this instead of relying on potentially outdated training data.
Arguments
$ARGUMENTS
Parse the arguments as <library> <topic>. If only a library name is given, use a general query.
Workflow
Step 1: Resolve the library ID
curl -s ${CONTEXT7_API_KEY:+-H "x-api-key: $CONTEXT7_API_KEY"} "https://context7.com/api/v2/libs/search?libraryName=LIBRARY_NAME&query=TOPIC" | jq '.results[:3]'
Pick the best match. The id field is the library ID for step 2. If no results, try alternative names (e.g. "nextjs" vs "next.js").
Step 2: Fetch documentation
curl -s ${CONTEXT7_API_KEY:+-H "x-api-key: $CONTEXT7_API_KEY"} "https://context7.com/api/v2/context?libraryId=LIBRARY_ID&query=TOPIC&type=txt"
Summarize the relevant documentation. Include code examples where available.
Tips
- Works without an API key (rate-limited). Set
CONTEXT7_API_KEYfor higher limits - Be specific with
queryto improve relevance - URL-encode query parameters containing spaces (use
+or%20) - If the first result isn't right, check other results from the search