context7-cli
Use the ctx7 CLI to fetch library documentation and configure Context7 MCP.
Skill by marcioaltoe
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/marcioaltoe-context7-cli
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/context7-cli
What's inside
- Skill name
context7-cli- Description
- Use the ctx7 CLI to fetch library documentation and configure Context7 MCP. Activate when the user mentions "ctx7" or "context7", needs current docs for any library, or needs to set up Context7 for their AI coding agent.
- License
- MIT
- Instructions
- 57 lines in SKILL.md · view on GitHub
Files (3)
- SKILL.md
- docs.md · references/
- setup.md · references/
SKILL.md (first lines)
# ctx7 CLI The Context7 CLI does two things: fetches up-to-date library documentation and sets up Context7 MCP for your editor. Make sure the CLI is up to date before running commands: ```bash npm install -g ctx7@latest ``` Or run directly without installing: ```bash npx ctx7@latest <command> ``` ## What this skill covers - **[Documentation](references/docs.md)** — Fetch current docs for any library. Use when writing code, verifying API signatures, or when training data may be outdated. - **[Setup](references/setup.md)** — Configure Context7 MCP for Claude Code / Cursor / OpenCode. ## Quick Reference ```bash # Documentation ctx7 search <query> # Search all libraries in one step ctx7 library <name> <query> # Step 1: resolve library ID ctx7 docs <libraryId> <query> # Step 2: fetch docs # Setup ctx7 setup # Configure Context7 MCP (interactive) ctx7 login # Log in for higher rate limits ctx7 whoami # Check current login status ``` ## Authentication ```bash 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. Exception: `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: ```bash 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
From marcioaltoe/skills, MIT.
More from marcioaltoe/skills
- 0.567score
write-idea
Marcio Altoé
Expand a raw product idea into a research-backed spec at docs/specs/<slug>/_idea.md — targeted questions, parallel codebase + market research…
SkillAFreshness: AClaude Code +9 - 0.567score
write-prd
Marcio Altoé
Write a PRD as a durable local artifact at docs/specs/<slug>/_prd.md — research first, clarify with one multiple-choice question at a time, record decisions…
SkillAFreshness: AClaude Code +9 - 0.565score
setup-context-driven
Marcio Altoé
Adopt, update, or verify a repository's Context-Driven Baseline through the public Roundfix Baseline Command.
SkillAFreshness: AClaude Code +9 - 0.565score
business-analyst
Marcio Altoé
Turns exploration into decision-ready analysis: scores feature ideas on six viability criteria with KPI targets, converts open questions into A/B/C options…
SkillAFreshness: AClaude Code +9 - 0.560score
skill-catalog-curation
Marcio Altoé
Curates this repository's installable skills catalog.
SkillAFreshness: AClaude Code +9 - 0.560score
knowledge-workspace
Marcio Altoé
Work with project documentation and the central knowledge repository (marcioaltoe/secondbrain).
SkillAFreshness: AClaude Code +9 - 0.539score
brainstorming
Marcio Altoé
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior.
SkillAFreshness: AClaude Code +9 - 0.479score
agentic-cli-design
marcioaltoe
Design principles for building CLI tools that LLM/AI agents can safely and reliably operate.
SkillCFreshness: CClaude Code +9 - 0.476score
exa-web-search
marcioaltoe
Deep research powered by Exa.
SkillCFreshness: CClaude Code +9 - 0.474score
find-rules
marcioaltoe
Discover and understand project rules, coding standards, and architectural guidelines before starting a task.
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 2
- Open issues
- 0
- Last commit (this folder)
- Oct 22, 2026 (7 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/marcioaltoe/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from marcioaltoe
- 0.479score
agentic-cli-design
marcioaltoe
Design principles for building CLI tools that LLM/AI agents can safely and reliably operate.
SkillCFreshness: CClaude Code +9 - 0.476score
exa-web-search
marcioaltoe
Deep research powered by Exa.
SkillCFreshness: CClaude Code +9 - 0.474score
find-rules
marcioaltoe
Discover and understand project rules, coding standards, and architectural guidelines before starting a task.
SkillCFreshness: CClaude Code +9
Cite this page
context7-cli skill. Agent Mart. https://agentmart.dev/skills/marcioaltoe-context7-cli (last updated 2026-10-24)