This pulls current library docs through Context7's API so Claude stops hallucinating outdated React hooks or nonexistent Next.js patterns. You search for a library, get its ID, then query for specific documentation like "useEffect cleanup" or "middleware authentication." It's most useful when you're working with fast-moving frameworks where the training data is likely stale, or when you explicitly need version-specific examples. The workflow is straightforward: two API calls and you get code snippets with source URLs. Honest take: it's solving a real problem with LLM staleness, though you're adding API latency to every coding question that triggers it.

skills.sh installs
412
GitHub stars
3
last updated
Aug 21, 2026

Install

$ npx -y skills add dotneet/claude-code-marketplace --skill context7 --agent claude-code

Installs into .claude/skills of the current project.

Files

Context7

Overview

Context7 is a service that provides LLMs with the latest library documentation. It prevents hallucinations from outdated training data or non-existent APIs, enabling retrieval of version-specific accurate documentation and code examples.

When to Use

Use this skill in the following cases:

  1. Explicit instruction: When the user instructs "use context7" or "check the latest documentation"
  2. Library usage questions: When asked about how to use a specific library's API, hooks, or functions
  3. Code example requests: When asked for code examples using a specific library
  4. Version-specific information: When library information for a specific version is needed
  5. Uncertain API information: When your knowledge might be outdated and latest information verification is needed

Workflow

Step 1: Resolve Library ID

First, obtain the Context7 ID for the target library.

API call:

curl "https://context7.com/api/v2/libs/search?libraryName=LIBRARY_NAME&query=CONTEXT_QUERY" \
  -H "Authorization: Bearer $CONTEXT7_API_KEY"

Sponsors

Details

Repository
github.com/dotneet/claude-code-marketplace
Categories
Backend & APIs, Documentation
First seen
Jun 3, 2026

More from dotneet/claude-code-marketplace

All 10
1secondsky avatarmobile-offline-supportsecondsky/claude-skillsOffline-first mobile apps with local storage, sync queues, conflict resolution. Use for offline functionality, data sync, connectivity handling, or encountering412skills.sh installs
2auth0 avatarauth0-flaskauth0/agent-skillsUse when adding session-based login, logout, or user profile to a Flask web application. Integrates auth0-server-python — use even if the user says "add login t411skills.sh installs
3narumiruna avataraiogram-frameworknarumiruna/telegram-botBuild, refactor, or troubleshoot Telegram bots using aiogram v3. Use when working with aiogram routers/handlers/filters, Dispatcher lifecycle, update delivery (407skills.sh installs
4hummingbot avatarhummingbothummingbot/skillsAgent skill that faithfully reproduces Hummingbot CLI commands (connect, balance, create, start, stop, status, history) via Hummingbot API. V1 focuses on core t406skills.sh installs
5umbraco avatarumbraco-openapi-clientumbraco/umbraco-cms-backoffice-skillsSet up OpenAPI client for authenticated API calls in Umbraco backoffice (REQUIRED for custom APIs)405skills.sh installs
6vercel avatarvercel-microfrontendsvercel/microfrontendsGuide for building, configuring, and deploying microfrontends on Vercel. Use this skill when the user mentions microfrontends, multi-zones, splitting an app acr403skills.sh installs