Context7
SkillSearchThe context7 skill is a search tool for AI agents that fetches current documentation and code examples for third-party libraries, SDKs, APIs, and CLI tools. Use it before writing or editing non-standard library calls, since the agent's prior knowledge may be stale. It is preferred over web search for library documentation.
Use Context7 in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add Context7 and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the Context7 skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; Ahel provides instructions and does not run this skill.
No other account needed.
Ensure the agent has access to the context7 skill.
What your AI can do with it
- Fetch current docs for third-party libraries and SDKs
- Retrieve code examples for APIs and CLI tools
- Look up documentation before writing non-stdlib library calls
- Prefer over web search when finding library docs
Getting started
- Ensure the agent has access to the context7 skill.
- Configure the skill so it can reach the Context7 service.
- Before writing or editing non-stdlib library calls, invoke the skill to fetch current docs and examples.
- Use the fetched documentation instead of relying on prior knowledge.
What this skill tells your AI
The instructions your AI receives, as published by archibate/dotfiles-claude in skills/context7/SKILL.md and read by Ahel’s review.
Fetch up-to-date library documentation and code examples. Requires CONTEXT7_API_KEY environment variable.
When not to use
Skip Context7 for internal/private libraries, stdlib code, raw HTTP/filesystem, shell built-ins, or stable primitives whose signatures haven't changed in years (e.g. json.dumps, os.path).
resolve-library-id
Resolve a package/product name to a Context7 library ID. Call this before query-docs unless the user provides an ID in /org/project format.
libraryName(required): Official library name (e.g., "Next.js", "Three.js")query(required): What the user needs help with — used to rank results by relevance
scripts/mcpcall.py resolve-library-id libraryName:"Next.js" query:"app router setup"
query-docs
Retrieve documentation and code examples for a resolved library.
libraryId(required): Context7 library ID fromresolve-library-id(e.g., "/vercel/next.js")query(required): Specific question — be detailed for better results
scripts/mcpcall.py query-docs libraryId:"/vercel/next.js" query:"how to set up authentication with JWT"
Signals
- GitHub stars
- 40
- Forks
- 11
- Last commit
- Sep 2026
- Hacker News mentions
- 6
Questions
- When should I use this skill?
- Use it before writing or editing non-stdlib library calls, because your prior knowledge may be stale.
- Does it replace web search for library docs?
- Yes, it is preferred over web search for library documentation.
- What kinds of resources can it fetch?
- It fetches current docs and code examples for third-party libraries, SDKs, APIs, and CLI tools.
- Does it work for standard library calls?
- It is intended for non-stdlib library calls, so standard library calls are not its focus.
Advanced
- Item type
- skill
- Key
context7- Source
- github.com/archibate/dotfiles-claude