Install
openclaw skills install @wei840222/context7Retrieve current, source-backed documentation for libraries, frameworks, SDKs, APIs, developer tools, open-source projects, and GitHub projects. Use for version-specific usage, setup, migrations, troubleshooting, architecture or feature understanding, and code examples when up-to-date official documentation matters.
openclaw skills install @wei840222/context7Use this skill when the task needs current library or framework documentation, version-specific API usage, setup guidance, code examples, or troubleshooting for a programming package.
Use the mcporter skill to discover a configured Context7-capable MCP server, then call it by the selected server name. Do not require a particular gateway, server name, URL, credential, or native Context7 wrapper syntax.
Context7-resolve-library-id first when the user names a package, framework, product, or library without an exact Context7 ID.Context7-query-docs when you have a Context7-compatible libraryId./vercel/next.js, /vercel/next.js/v15.1.8, or /vercel/next.js@v15.1.8.mcporter is installed, then run the bounded capability discovery in references/mcporter-workflow.md. Select a healthy configured server only when it exposes both library-resolution and docs-query tools.mcporter list --schema --json --timeout 7000
mcporter call <context7-server>.resolve-library-id \
--args '{"libraryName":"Next.js","query":"How to implement middleware authentication"}' \
--output json
mcporter call <context7-server>.query-docs \
--args '{"libraryId":"/vercel/next.js","query":"How to implement middleware authentication with redirects"}' \
--output json
candidateServers entry once, then report every attempted server and failure before using the next fallback. Do not imply that Context7 returned documentation.libraryId is rejected, rerun Context7-resolve-library-id with the library name. Do not silently replace a user-supplied version pin; state when the exact version is not indexed.CONTEXT7_API_KEY is available. Otherwise, retrieve the relevant upstream official documentation with the runtime's web-fetch capability and cite the fetched URL.429, 500, 503, or 504 from the REST API, follow the backoff guidance in references/api-fallback.md. On 401, 403, or 404, explain the failed condition and do not retry blindly.For every successful lookup, state the selected libraryId, selected MCP server, whether it was version-pinned, and the returned source URL or URLs. When resolution was ambiguous, include the deciding factor. When a fallback was used, state MCP unavailable, REST fallback, or upstream official docs and why.
unverified rather than presenting it as settled./owner/repo, /<source>/<id>, /packages/<name>, /npm/<name>, /websites/<domain>, /llmstxt/<source>, or /docs/<name>./owner/repo/<version> and /owner/repo@<version>.Use references/mcporter-workflow.md for command patterns, field shapes, query design, and source-backed answer patterns.
Use references/api-fallback.md only when the MCP path through mcporter is unavailable, when validating a direct Context7 API integration, or when the task specifically asks for REST API calls.
These are the official documents this skill was built from:
https://context7.com/docs/overviewhttps://context7.com/docs/api-guidehttps://github.com/upstash/context7