context7-cli
Skill0 starsChanged 3 days agoMITView on GitHub
Operates the ctx7 CLI and Context7 MCP registry — resolve a library ID, then query its docs (doc lookup / find-docs), skills install/search/suggest/list/remove/generate, and MCP setup. Use when mentioning ctx7 or context7, looking up API docs or library docs for a library or framework, finding docs via ctx7, installing skills, or configuring Context7 MCP for an editor.
- Reads credentials
- Installs packages
8 other projects use a version of this, 7 of them edited.
Adopted by
Most recently taken up by
- uprinter/ai-agents-teamedited, first seen Nov 8, 2026
- Dev-PGVAA/skillstheir own version, first seen Oct 16, 2026
- MohamedEssam0-0/claude-skillsedited, first seen Oct 11, 2026
- zz-zhi54/skillsedited, first seen Oct 5, 2026
- jd-solanki/krutrimboxedited, first seen Sep 27, 2026
- upstash/context7edited, first seen Jun 11, 2026
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 7
- upstash/context7★ 64k16% same
- X-FRI/skills★ 220% same
- jd-solanki/krutrimbox★ 120% same
- sagnikmitra/skills★ 115% same
- uprinter/ai-agents-team★ 120% same
- zz-zhi54/skills★ 120% same
- MohamedEssam0-0/claude-skills★ 020% same
Wrote their own version · 1
- Dev-PGVAA/skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository75 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/skill-authoring/tools/AGENTS.mdAGENTS.md
- aes-docsSkill
- aes-fixSkill
- aes-layerSkill
- aes-migrationSkill
- android-emulator-linux-gpsSkill
- computer-useSkill
- flatpak-chromium-automationSkill
- qwen-webSkill
- grok-buildSkill
- hermes-agentSkill
- omnirouteSkill
- orcaSkill
- account-managerSkill
- brave-setupSkill
- password-managerSkill
- codegraphSkill
- deep-cleanSkill
- dogfoodSkill
- reviewSkill
- systematic-debuggingSkill
- blender-arwakySkill
- comfyuiSkill
- llm-writingSkill
- vision-arwakySkill
- playwright-toolingSkill
- setup-ci-quality-gatesSkill
- statuslineSkill
- systemd-headless-serviceSkill
- xdg-spec-complianceSkill
- figcraft-builderSkill
- figcraft-iconsSkill
- figcraft-motionSkill
- figcraft-prototyperSkill
- figcraft-reviewSkill
- figcraftSkill
- figcraft-svgSkill
- figcraft-typographySkill
- github-authSkill
- issue-makerSkill
- issue-workerSkill
- mergifySkill
- pr-babysitSkill
- releasingSkill
- repo-managerSkill
- ascii-artSkill
- ascii-videoSkill
- gif-searchSkill
- media-acquisitionSkill
- docxSkill
- emailSkill
- google-workspaceSkill
- notionSkill
- pdfSkill
- pptxSkill
- xlsxSkill
- competitor-news-monitorSkill
- product-price-monitorSkill
- weekly-review-planningSkill
- The first 60 shown.
The file
Files
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. Doc
lookup (the resolve-then-query workflow over MCP tools or the CLI) is
covered in references/find-docs.md; this skill
covers the tool itself.
Global rules
- Keep the CLI current.
npm install -g ctx7@latest(ornpx ctx7@latest <command>without installing) before running commands. - Library IDs need the
/prefix —/facebook/react, notfacebook/react. Always runctx7 libraryto resolve an ID before callingctx7 docs;ctx7 docs react "hooks"fails without a valid ID. - Skills repo format is
/owner/repo— e.g.ctx7 skills install /anthropics/skills. - Login requirements. Most commands work without login.
skills generatealways requires it;ctx7 setuprequires it unless--api-keyor--oauthis passed. SetCONTEXT7_API_KEYto skip interactive login entirely. - Authentication.
ctx7 login(browser OAuth),ctx7 login --no-browser(prints URL),ctx7 logout(clear tokens),ctx7 whoami(current status).
Routing
| Step | Reference | Purpose |
| Doc lookup workflow | references/find-docs.md | Resolve a library ID, then query its docs — two transports (MCP tools or CLI). |
ctx7 library / ctx7 docs | references/docs.md | Command reference. Use when writing code, verifying API signatures, or when training data may be outdated. |
| Skills management | references/skills.md | ctx7 skills install /owner/repo, search <keywords>, suggest, list, remove <name>, generate (login required). |
| MCP setup | references/setup.md | ctx7 setup — configure Context7 MCP for Claude Code / Cursor / OpenCode. |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

