context7-skill/SKILL.md
Access up-to-date, version-specific documentation and code examples from Context7. Use this skill to verify library and framework details.
npx skillsauth add ceshine/ceshine-agent-skills context7-skillInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
The Context7 skill connects you to accurate, version-specific documentation and code examples directly from the source. Use this skill to verify syntax, API details, and usage patterns for third-party libraries and frameworks, ensuring your code is based on the correct version.
Access Methods:
resolve_library_id and query_docs.scripts/context7_cli.py) using the FastMCP v2 client, intended for use when direct MCP tools are unavailable.CONTEXT7_API_KEY.uv): Required only if using the CLI fallback script.DO NOT attempt to read or set the environment variable CONTEXT7_API_KEY. It is the user's responsibility to prepare this API key in their environment. Only check for its existence:
[ -n "$CONTEXT7_API_KEY" ] && echo "CONTEXT7_API_KEY is set" || echo "CONTEXT7_API_KEY not set"
resolve-library-id)Resolves a package or library name to a Context7-compatible library ID and returns a list of matches.
resolve_library_id(query="...", libraryName="...")uv run --script {path_to_this_skill}/scripts/context7_cli.py resolve-library-id <name>query-docs)Retrieves documentation and code examples using a specific library ID.
query_docs(libraryId="/org/project/version", query="...")uv run --script {path_to_this_skill}/scripts/context7_cli.py query-docs <library_id> <query>IMPORTANT: Tool names may have prefixes (e.g.,
context7_resolve_library_id) depending on the runtime environment. Always check available tools first.
resolve_library_id before querying, unless the user provides a full ID (e.g., /org/project/version).Determine if the resolve_library_id and query_docs tools are directly available in your environment. If not, default to the CLI fallback commands.
Use resolve-library-id to identify the correct library.
Selection Criteria:
Action:
Use query-docs with the resolved libraryId.
Handling Results:
Source: https://github.com/context7/react_dev/blob/main/learn.md
... (content) ...
| Variable | Description | Required |
| :----------------- | :---------------------------------------- | :------- |
| CONTEXT7_API_KEY | API key for authenticating with Context7. | Yes |
scripts/context7_cli.py: Unified CLI entry point for fallback access.references/troubleshooting.md: Solutions for common integration issues.tools
Fetch transcripts and create structured watching guides / summaries for YouTube videos. Use when the user asks to (1) get, fetch, extract, or download a transcript or captions from a YouTube video URL, or (2) summarize, create a watching guide, or produce a structured summary of a YouTube video. Trigger on youtube.com/watch, youtu.be, or youtube.com/shorts links.
tools
Run Google searches and fetch JS-rendered web pages as Markdown via `google-search-cli`, a Patchright-based CLI invoked through `uvx` from its GitHub repo (no local install needed). Use when the agent needs (1) fresh Google search results from a query, (2) the Markdown of a URL that plain HTTP fetch (curl/WebFetch) cannot render because it requires JavaScript or evades bots, or (3) inspection of the raw HTML of a Google results page. Trigger phrases include "google for ...", "search the web for ...", "fetch this page as markdown", "this page needs JS to render". Do not use for static doc URLs that WebFetch handles cleanly, or when Chromium cannot be installed on the machine.
tools
Always use this skill at the beginning of a session. It establishes how to find and use skills, and requires relevant Skill tool invocation before ANY response including clarifying questions
tools
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends the agent's capabilities with specialized knowledge, workflows, or tool integrations.