
Context7
The context7 skill retrieves current documentation for software libraries, frameworks, and components through the Context7 API, enabling developers to access up-to-date code examples, API references, and usage patterns without relying on potentially outdated training data. It solves the problem of stale documentation by allowing users to search for specific libraries by name and fetch relevant documentation snippets on topics ranging from specific functions to architectural patterns. The skill is designed for developers who need to verify correct library usage, explore API features, or access documentation for libraries that have been updated since the model's training data.
- install copies · 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
- 6
- skills.sh installs
- 11.3K
- GitHub stars
- 301
- last updated
- Aug 21, 2026
Install
$ npx -y skills add intellectronica/agent-skills --skill context7 --agent claude-codeInstalls into .claude/skills of the current project.
Files
Context7
Overview
This skill enables retrieval of current documentation for software libraries and components by querying the Context7 API via curl. Use it instead of relying on potentially outdated training data.
Workflow
Step 1: Search for the Library
To find the Context7 library ID, query the search endpoint:
curl -s "https://context7.com/api/v2/libs/search?libraryName=LIBRARY_NAME&query=TOPIC" | jq '.results[0]'
Parameters:
libraryName(required): The library name to search for (e.g., "react", "nextjs", "fastapi", "axios")query(required): A description of the topic for relevance ranking
Response fields:
id: Library identifier for the context endpoint (e.g.,/websites/react_dev_reference)title: Human-readable library namedescription: Brief description of the librarytotalSnippets: Number of documentation snippets available
Step 2: Fetch Documentation
To retrieve documentation, use the library ID from step 1:
curl -s "https://context7.com/api/v2/context?libraryId=LIBRARY_ID&query=TOPIC&type=txt"
Sponsors
Details
- Repository
- github.com/intellectronica/agent-skills
- Categories
- Backend & APIs, Documentation, AI & Agent Building
More from intellectronica/agent-skills
All 22- Youtube Transcript3.4K
- Nano Banana Pro3.2K
- Ultrathink1.9K
- Beautiful Mermaid1.8K
- Markdown Converter1.7K
- Todoist Api1.7K
- Anki Connect918
- Nano Banana 2897
- Gog Cli814
- Promptify650
- Tavily631
- Mgrep Code Search627
- Gpt Image 1 5620
- Copilot Sdk535
- Here Be Git531
- Ray So Code Snippet522
- Lorem Ipsum515
- Raindrop Api507
- Upstash Redis Kv473
- Monologue Notes Api217
- Notion Api102.5K