Context7

Analyze current external library or API docs with Context7 when dependency behavior, version-sensitive references, or ctx7 CLI setup/install guidance is needed.

9 stars 4 forksAI, LLMs & Agents

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add jscraik/Agent-Skills --skill context7
Manual install
git clone --depth 1 https://github.com/jscraik/Agent-Skills.git /tmp/Agent-Skills
mkdir -p ~/.claude/skills
cp -r /tmp/Agent-Skills/Skills/agent-ops/context7 ~/.claude/skills/context7

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Context7 Docs

## Philosophy
- Ground dependency and Context7 CLI guidance in current retrieved documentation.
- Start from live evidence and local patterns.
- Apply the context-disposition policy: move important still-valid context to references, and intentionally discard stale, duplicated, unsafe, superseded, or low-signal text.

## When To Use
- The user needs current external library, framework, or API docs.
- The user asks for ctx7 skills, setup, login, whoami, generate, install, or suggest flows.
- Version-sensitive dependency behavior should be verified from docs.

## Avoid
- OpenAI platform docs; route those to openai-docs.
- Inventing flags or APIs when retrieval is blocked.
- Using network/API paths without making the retrieval path explicit.

## Inputs
- library/product name
- implementation question
- version constraints
- ctx7 action
- target scope

## Outputs
- resolved library id
- docs-backed answer
- source basis
- commands
- fallback reason
- Schema-bound outputs include schema_version.

## Workflow
- Start with 2-3 focused surfaces before expanding scope.
- Resolve the requested docs or ctx7 action.
- Prefer CLI retrieval with secure env handling when available.
- Use MCP/API backup only when CLI is blocked.
- Answer from retrieved docs and label inference.
- Include verification commands for install/setup flows.

## Constraints
- Redact secrets and credentials from auth/setup output.
- Do not guess command syntax when help/docs can verify it.
Read the full skill on GitHub

Details

Skill name
context7
Path
Skills/agent-ops/context7/SKILL.md
License
Apache-2.0
Repo updated
16 November 2026

FAQ

What does the Context7 skill do?

Analyze current external library or API docs with Context7 when dependency behavior, version-sensitive references, or ctx7 CLI setup/install guidance is needed.

How do I install the Context7 skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add jscraik/Agent-Skills --skill context7. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Context7 popular?

It lives in jscraik/Agent-Skills, which has 9 GitHub stars and 4 forks.

Related skills

Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.