โ† All skills
Tencent SkillHub ยท Productivity

Context7 Documentation Skill

Fetches up-to-date, version-specific documentation and code examples for any programming library or framework from Context7. Use this skill when the user nee...

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Fetches up-to-date, version-specific documentation and code examples for any programming library or framework from Context7. Use this skill when the user nee...

โฌ‡ 0 downloads โ˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SKILL.md, LICENSE.txt, scripts/resolve-library.sh, scripts/query-docs.sh, references/LIBRARY-ID-FORMAT.md, references/API-REFERENCE.md

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 9 sections Open source page

Overview

Context7 provides up-to-date, version-specific documentation and code examples for thousands of programming libraries and frameworks. Use this skill whenever you need current documentation that may differ from your training data โ€” especially for fast-moving libraries like Next.js, React, Supabase, LangChain, etc.

When to Use This Skill

The user asks about a library's API and you're unsure if your knowledge is current The user requests code examples for a specific library version The user asks for setup, configuration, or migration guides The user mentions "use context7" or asks for up-to-date docs You need to verify whether an API or method still exists in the latest version

Step 1: Resolve the Library ID

First, find the Context7-compatible library ID for the library the user is asking about. bash scripts/resolve-library.sh --query "How to set up authentication" --library-name "next.js" This returns a list of matching libraries with: Library ID โ€” e.g., /vercel/next.js (use this in Step 2) Name and Description Code Snippets โ€” number of available examples (prefer higher counts) Benchmark Score โ€” quality indicator out of 100 (prefer higher) Source Reputation โ€” High, Medium, Low, or Unknown (prefer High/Medium) Versions โ€” available version-specific IDs like /vercel/next.js/v14.3.0 Selection criteria โ€” Pick the library that best matches based on: Name similarity (exact matches first) Description relevance to the user's task Higher Code Snippet count Higher Benchmark Score High or Medium Source Reputation If the user already provides a library ID in /org/project format, skip this step.

Step 2: Query the Documentation

Use the library ID from Step 1 to fetch relevant documentation: bash scripts/query-docs.sh --library-id "/vercel/next.js" --query "How to set up authentication with JWT" This returns documentation text with code examples directly relevant to the query.

Shortcut: Direct curl

You can also call the API directly without the scripts: Search for a library: curl -s "https://context7.com/api/search" \ -H "Content-Type: application/json" \ ${CONTEXT7_API_KEY:+-H "Authorization: Bearer $CONTEXT7_API_KEY"} \ -d '{"query": "How to set up auth", "libraryName": "next.js"}' | jq . Query documentation: curl -s "https://context7.com/api/context" \ -H "Content-Type: application/json" \ ${CONTEXT7_API_KEY:+-H "Authorization: Bearer $CONTEXT7_API_KEY"} \ -d '{"query": "JWT authentication middleware", "libraryId": "/vercel/next.js"}' | jq .

Important Guidelines

Call resolve at most 3 times per question. If you can't find what you need, use the best result. Call query-docs at most 3 times per question. Use the best information you have. Be specific with queries. Good: "How to set up authentication with JWT in Express.js". Bad: "auth". Use versions when relevant. If the user specifies a version, look for it in the resolve results and use the versioned library ID (e.g., /vercel/next.js/v14.3.0). Do NOT include sensitive data (API keys, passwords, credentials) in your queries โ€” they are sent to the Context7 API.

Handling Edge Cases

SituationActionNo results from resolveTry a different library name or broader search termMultiple good matchesPick the one with the best name match + highest snippet countUser specifies a versionLook for versioned IDs in resolve resultsEmpty docs responseTry a more specific or different queryRate limit hitWait a moment and retry, or suggest the user set CONTEXT7_API_KEY

Environment Setup

For higher rate limits, set a free API key: export CONTEXT7_API_KEY="your-key-here" Get a free key at: https://context7.com/dashboard

Next Steps

See API-REFERENCE.md for full endpoint documentation See LIBRARY-ID-FORMAT.md for details on library ID format and versioning

Category context

Workflow acceleration for inboxes, docs, calendars, planning, and execution loops.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
3 Docs2 Scripts1 Files
  • SKILL.md Primary doc
  • references/API-REFERENCE.md Docs
  • references/LIBRARY-ID-FORMAT.md Docs
  • scripts/query-docs.sh Scripts
  • scripts/resolve-library.sh Scripts
  • LICENSE.txt Files