context7-cli
/context7-cli
Pobiera aktualną dokumentację bibliotek przez CLI ctx7 i konfiguruje Context7 MCP dla agenta kodującego.
- Autor
- upstash ↗
- Repozytorium
- context7-mcp ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 13.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 3
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 13.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Pobiera aktualną dokumentację bibliotek przez CLI ctx7 i konfiguruje Context7 MCP dla agenta kodującego.
Wyzwalacze z opisu
Oryginalny opis (EN)
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.
Jak działa
- What this skill covers
- Quick Reference
- Authentication
- Common Mistakes
Podgląd SKILL.md
--- 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. --- # 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 — `/reactjs/react.dev` not `reactjs/react.dev` - Always run `ctx7 library` first — `ctx7 docs react "hooks"` will fail without a valid ID
Pliki w paczce (3)
- SKILL.md 2 KB
- references/docs.md 7 KB
- references/setup.md 2 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · upstash/context7-mcp | 100 | MIT |
| upstash/context7 | 100 | MIT |
| summersec/sumsec-skills | 100 | Apache-2.0 |
Migawka bazy z 13.11.2026 · wersja paczki c0bef049a1fe (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 84lookup
Wyszukuje aktualną dokumentację bibliotek, referencje API i przykłady kodu przez Context7 (CLI ctx7 lub serwer MCP), także przy pytaniach o konfigurację i migrację wersji. - 100context7
Dostarcza dokumentację 800+ bibliotek zależną od wersji przez MCP Context7 (resolve-library-id i query-docs), ograniczając halucynacje przy generowaniu kodu dla zewnętrznych bibliotek. - 100mcp-docs
Pobiera aktualną dokumentację bibliotek i frameworków przez dostawców dokumentacji MCP, jak Context7, gdy implementacja zależy od bieżących API, zachowania SDK i kroków migracji. - 95find-docs
Wyszukuje aktualną dokumentację bibliotek, frameworków i usług przez Context7 zamiast ogólnej wyszukiwarki. - 100context7
Pobiera aktualną dokumentację bibliotek, odwołania do API i wzorce frameworków bezpośrednio przez REST API Context7, gdy serwer Context7 MCP jest niedostępny lub nieskonfigurowany. - 100documentation-lookup
Wyszukuje aktualną dokumentację bibliotek, frameworków i API oraz przykłady kodu zgodne z wersją.