Install
Quick install
npx skills add https://github.com/upstash/context7/tree/HEAD/skills/context7-clinpx skills add upstash/context7 --skill context7-cli --agent claude-codenpx skills add upstash/context7 --skill context7-cli --agent cursornpx skills add upstash/context7 --skill context7-cli --agent codexnpx skills add upstash/context7 --skill context7-cli --agent opencodenpx skills add upstash/context7 --skill context7-cli --agent github-copilotnpx skills add upstash/context7 --skill context7-cli --agent windsurfMore install options
Shorthand — useful for multi-skill repos:
npx skills add upstash/context7 --skill context7-cliManual — clone the repo and drop the folder into your agent's skills directory:
git clone https://github.com/upstash/context7.gitcp -r context7/skills/context7-cli ~/.claude/skills/context7-cli
Use the ctx7 CLI to fetch library documentation, manage AI coding skills, and configure Context7 MCP. Activate when the user mentions "ctx7" or "context7",…
context7-cliby upstash
Use the ctx7 CLI to fetch library documentation, manage AI coding skills, and configure Context7 MCP. Activate when the user mentions "ctx7" or "context7",…npx skills add https://github.com/upstash/context7 --skill context7-cliDownload ZIPGitHub
ctx7 CLI
The Context7 CLI does three things: fetches up-to-date library documentation, manages AI coding skills, and sets up Context7 MCP for your editor.
Make sure the CLI is up to date before running commands:
`npm install -g ctx7@latest
`
Or run directly without installing:
`npx ctx7@latest <command>
`
What this skill covers
- Documentation — Fetch current docs for any library. Use when writing code, verifying API signatures, or when training data may be outdated.
- Skills management — Install, search, suggest, list, remove, and generate AI coding skills.
- Setup — Configure Context7 MCP for Claude Code / Cursor / OpenCode.
Quick Reference
`# Documentation
ctx7 library <name> <query> # Step 1: resolve library ID
ctx7 docs <libraryId> <query> # Step 2: fetch docs
# Skills
ctx7 skills install /owner/repo # Install from a repo (interactive)
ctx7 skills install /owner/repo name # Install a specific skill
ctx7 skills search <keywords> # Search the registry
ctx7 skills suggest # Auto-suggest based on project deps
ctx7 skills list # List installed skills
ctx7 skills remove <name> # Uninstall a skill
ctx7 skills generate # Generate a custom skill with AI (requires login)
# Setup
ctx7 setup # Configure Context7 MCP (interactive)
ctx7 login # Log in for higher rate limits + skill generation
ctx7 whoami # Check current login status
`
Authentication
`ctx7 login # Opens browser for OAuth
ctx7 login --no-browser # Prints URL instead of opening browser
ctx7 logout # Clear stored tokens
ctx7 whoami # Show current login status (name + email)
`
Most commands work without login. Exceptions: skills generate always requires it; ctx7 setup requires it unless --api-key or --oauth is passed. Login also unlocks higher rate limits on docs commands.
Set an API key via environment variable to skip interactive login entirely:
`export CONTEXT7_API_KEY=your_key
`
Common Mistakes
- Library IDs require a
/prefix —/facebook/reactnotfacebook/react
- Always run
ctx7 libraryfirst —ctx7 docs react "hooks"will fail without a valid ID
- Repository format for skills is
/owner/repo— e.g.,ctx7 skills install /anthropics/skills
skills generaterequires login — runctx7 loginfirst
More skills from upstash
context7-cliby upstashUse the ctx7 CLI to fetch library documentation, manage AI coding skills, and configure Context7 MCP. Activate when the user mentions "ctx7" or "context7",…context7-mcpby upstashThis skill should be used when the user asks about libraries, frameworks, API references, or needs code examples. Activates for setup questions, code…documentation-lookupby upstashThis skill should be used when the user asks about libraries, frameworks, API references, or needs code examples. Activates for setup questions, code…find-docsby upstashRetrieve current documentation and code examples for any library using the Context7 CLI.context7-docs-lookupby upstashUse Context7 to fetch up-to-date library documentation. Activates when the user asks about libraries, frameworks, API references, or needs code examples —…context7-mcpby upstashThis skill should be used when the user asks about libraries, frameworks, API references, or needs code examples. Activates for setup questions, code…ctx7-cliby upstashUse the ctx7 CLI to fetch library documentation, manage AI coding skills, and configure Context7 MCP. Activate when the user mentions "ctx7" or "context7",…docsby upstashRetrieves and queries up-to-date documentation and code examples from Context7 for any programming library or framework. Use when writing code that depends on…---
Source: https://github.com/upstash/context7/tree/HEAD/skills/context7-cli
Author: upstash
Discovered via: mcpservers.org
SKILL.md source
--- name: context7-cli description: Use the ctx7 CLI to fetch library documentation, manage AI coding skills, and configure Context7 MCP. Activate when the user mentions "ctx7" or "context7",… --- # context7-cli Use the ctx7 CLI to fetch library documentation, manage AI coding skills, and configure Context7 MCP. Activate when the user mentions "ctx7" or "context7",… # context7-cliby upstash Use the ctx7 CLI to fetch library documentation, manage AI coding skills, and configure Context7 MCP. Activate when the user mentions "ctx7" or "context7",… `npx skills add https://github.com/upstash/context7 --skill context7-cli`Download ZIPGitHub ## ctx7 CLI The Context7 CLI does three things: fetches up-to-date library documentation, manages AI coding skills, and sets up Context7 MCP for your editor. Make sure the CLI is up to date before running commands: ``` `npm install -g ctx7@latest ` ``` Or run directly without installing: ``` `npx ctx7@latest <command> ` ``` ## What this skill covers * Documentation — Fetch current docs for any library. Use when writing code, verifying API signatures, or when training data may be outdated. * Skills management — Install, search, suggest, list, remove, and generate AI coding skills. * Setup — Configure Context7 MCP for Claude Code / Cursor / OpenCode. ## Quick Reference ``` `# Documentation ctx7 library <name> <query> # Step 1: resolve library ID ctx7 docs <libraryId> <query> # Step 2: fetch docs # Skills ctx7 skills install /owner/repo # Install from a repo (interactive) ctx7 skills install /owner/repo name # Install a specific skill ctx7 skills search <keywords> # Search the registry ctx7 skills suggest # Auto-suggest based on project deps ctx7 skills list # List installed skills ctx7 skills remove <name> # Uninstall a skill ctx7 skills generate # Generate a custom skill with AI (requires login) # Setup ctx7 setup # Configure Context7 MCP (interactive) ctx7 login # Log in for higher rate limits + skill generation ctx7 whoami # Check current login status ` ``` ## Authentication ``` `ctx7 login # Opens browser for OAuth ctx7 login --no-browser # Prints URL instead of opening browser ctx7 logout # Clear stored tokens ctx7 whoami # Show current login status (name + email) ` ``` Most commands work without login. Exceptions: `skills generate` always requires it; `ctx7 setup` requires it unless `--api-key` or `--oauth` is passed. Login also unlocks higher rate limits on docs commands. Set an API key via environment variable to skip interactive login entirely: ``` `export CONTEXT7_API_KEY=your_key ` ``` ## Common Mistakes * Library IDs require a `/` prefix — `/facebook/react` not `facebook/react` * Always run `ctx7 library` first — `ctx7 docs react "hooks"` will fail without a valid ID * Repository format for skills is `/owner/repo` — e.g., `ctx7 skills install /anthropics/skills` * `skills generate` requires login — run `ctx7 login` first ## More skills from upstash context7-cliby upstashUse the ctx7 CLI to fetch library documentation, manage AI coding skills, and configure Context7 MCP. Activate when the user mentions "ctx7" or "context7",…context7-mcpby upstashThis skill should be used when the user asks about libraries, frameworks, API references, or needs code examples. Activates for setup questions, code…documentation-lookupby upstashThis skill should be used when the user asks about libraries, frameworks, API references, or needs code examples. Activates for setup questions, code…find-docsby upstashRetrieve current documentation and code examples for any library using the Context7 CLI.context7-docs-lookupby upstashUse Context7 to fetch up-to-date library documentation. Activates when the user asks about libraries, frameworks, API references, or needs code examples —…context7-mcpby upstashThis skill should be used when the user asks about libraries, frameworks, API references, or needs code examples. Activates for setup questions, code…ctx7-cliby upstashUse the ctx7 CLI to fetch library documentation, manage AI coding skills, and configure Context7 MCP. Activate when the user mentions "ctx7" or "context7",…docsby upstashRetrieves and queries up-to-date documentation and code examples from Context7 for any programming library or framework. Use when writing code that depends on… --- **Source**: https://github.com/upstash/context7/tree/HEAD/skills/context7-cli **Author**: upstash **Discovered via**: mcpservers.org
Related skills 6
running-claude-code-via-litellm-copilot
Use when routing Claude Code through a local LiteLLM proxy to GitHub Copilot, reducing direct Anthropic spend, configuring ANTHROPIC_BASE_URL or ANTHROPIC_MODEL overrides, or troubleshooting Copilot proxy setup failures such as model-not-found, no localhost traffic, or GitHub 401/403 auth errors.
skills-cli
Use when users ask to discover, install, list, check, update, remove, back up, restore, sync, or initialize Agent Skills, mention `bunx skills`, `npx skills`, `skills.sh`, or `skills-lock.json`, ask "find a skill for X", or want help extending agent capabilities with installable skills.
repo-intake-and-plan
Narrow RigorPilot helper for README-first deep learning repo reproduction. Use when the task is specifically to scan a repository, read the README and common project files, extract documented commands, classify inference, evaluation, and training candidates, and return the smallest trustworthy reproduction plan to the main orchestrator. Do not use for environment setup, asset download, command execution, final reporting, paper lookup, or end-to-end orchestration.
image-to-video
Animate any still image on RunComfy — this skill is a smart router that matches the user's intent to the right i2v model in the RunComfy catalog. Picks HappyHorse 1.0 I2V (Arena #1, native audio, identity preservation) for general animations, Wan 2.7 with `audio_url` for custom-voiceover lip-sync, or Seedance 2.0 Pro for multi-modal animation from image + reference video + reference audio. Bundles each model's documented prompting patterns so the caller gets sharper output without burning ite...
video-edit
Edit existing video on RunComfy — this skill is a smart router that matches the user's intent to the right edit model in the RunComfy catalog. Picks Wan 2.7 Edit-Video (general restyle / background swap / packaging swap, identity + motion preservation), Kling 2.6 Pro Motion Control (transfer precise motion from a reference video to a target character), or Lucy Edit Restyle (lightweight identity-stable restyle / outfit swap). Bundles each model's documented prompting patterns so the skill gets...
nano-banana-2
Generate images with Google Nano Banana 2 (Gemini-family flash-tier text-to-image) on RunComfy — bundled with the model's documented prompting patterns so the skill gets sharper output than naive prompting against the same model. Documents Nano Banana 2's strengths (rapid iteration, in-image typography rendering, predictable framing, optional web-grounded context), the resolution-tier pricing, the safety-tolerance dial, and when to route to Nano Banana Pro / GPT Image 2 / Flux 2 / Seedream in...