본문으로 건너뛰기
cccskills
무료GitHub에 공개

context7

Fetch current library and API documentation from Context7 when a coding answer needs authoritative, up-to-date examples or version-specific behavior.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(5)

  • SKILL.md2.6 KB
  • .env.example125 B
  • context7-api.cjs7.0 KB
  • context7-fetcher.md1.0 KB
  • tests/test_context7_api.cjs4.0 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Context7

Use the co-located Node CLI to search Context7 documentation through the v3 Search API. The v3 endpoint accepts a question and returns relevant snippets in one request. A library ID is optional.

Run the CLI

Resolve the actual directory containing this skill first. The CLI needs Node.js 18+ and no npm dependencies. Run it from that directory:

node ./context7-api.cjs search "How do I clean up a React effect?"
node ./context7-api.cjs search "How do I configure route handlers?" --library Next.js --version 15.4.0
node ./context7-api.cjs search "How do I stream a response?" --library Next.js --library OpenAI --language TypeScript

--library accepts a name or Context7 ID and may appear up to four times. --version requires at least one --library; with one library it is a strict filter, and with several it is a preference. --language is a preference. Pass the user's specific question as the query. Do not use a repo-relative path when this skill is installed elsewhere.

The old context <libraryId> <query> command remains an alias for search <query> --library <libraryId> so existing callers can migrate. It also uses v3.

Read the response

The CLI requests type=json and prints the raw codeSnippets[] and infoSnippets[], plus a normalized results[] array. Each normalized result has title, content, source, and libraryId. Use the snippet's source link when citing documentation. When a query has no matching documentation, all three arrays are empty.

The v3 REST endpoint returns plain text by default. Keep type=json when calling it directly if structured snippets are needed.

Authentication and errors

Set CONTEXT7_API_KEY in the environment or in a .env file next to the CLI. An environment variable takes precedence. Use .env.example as the template and get a key from context7.com/dashboard. Requests without a key are for testing and have low IP-based limits.

The CLI exits nonzero and writes errors to stderr for invalid arguments, network failures, invalid JSON, and API errors other than 404 no_documentation_found. For 429, wait for the rate limit before retrying. For other transient failures, retry once and report that current documentation could not be verified if it still fails.

The optional context7-fetcher can run the same command in an isolated worker when the runtime supports one. Direct CLI execution is the default.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

ace-tool

무료

Semantic codebase search, code indexing, and prompt enhancement via standalone CLI. Use when: (1) Semantic code search with natural language queries, (2) Code indexing for remote codebase retrieval, (3) Prompt enhancement with codebase context, (4) Before grep/find/glob operations for better accuracy, (5) Complex requirements clarification, (6) Large codebase navigation. Triggers: "search context", "enhance prompt", "find code that", "index project", "clarify requirements". IMPORTANT: Always use ace-tool BEFORE grep/find/glob for semantic-level code location.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Dianel555/DSkills652026년 10월 12일 업데이트

Incremental LLM-friendly wiki generator for Obsidian note vaults. Use when: (1) Building wiki from notes, (2) Ingesting notes to wiki, (3) Obsidian LLM wiki, (4) Incremental knowledge base management. Triggers: 'build wiki from notes', 'ingest notes to wiki', 'Obsidian LLM wiki', 'incremental knowledge base'.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Dianel555/DSkills652026년 10월 12일 업데이트

Self-evolution workflow for the agent. Before substantive work, recall past outcomes from evolution memory; while editing, detect improvement signals; at task end, record the outcome; when reusable, distill or search the EvoMap network for proven genes/capsules. Use when the user starts non-trivial work (a feature, a fix, a refactor) or asks the agent to "evolve", "learn from this", or "remember how this went".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Dianel555/DSkills652026년 10월 12일 업데이트

cc-agy

무료

Delegates coding/research tasks to the Google Antigravity CLI (`agy`) for external-model execution (Gemini 3.x, Claude Sonnet/Opus 4.6, GPT-OSS). Replaces the broken `collaborating-with-gemini` skill. Use when: (1) External-model delegation via Antigravity, (2) Multi-model prototyping (switch model per call), (3) Backend/logic implementation, (4) Algorithm design and optimization, (5) Bug analysis and debugging, (6) API/database code generation, (7) Code review. Triggers: "delegate to agy", "use Antigravity", "external model", "agy", "Gemini 3.5", "Claude Sonnet 4.6", "GPT-OSS". IMPORTANT: Always request unified diff patches only. Supports multi-turn sessions via SESSION_ID.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Dianel555/DSkills652026년 10월 12일 업데이트

cc-codex

무료

Delegates coding tasks to Codex CLI for prototyping, debugging, and code review. Use when: (1) Backend/logic implementation, (2) Algorithm design and optimization, (3) Bug analysis and debugging, (4) API/database code generation, (5) Code quality review and refactoring. Triggers: "implement algorithm", "debug", "analyze code", "backend task", "API implementation", "optimize performance", "refactor", "generate prototype", "code review". IMPORTANT: Default sandbox="read-only" (analysis/review/patch generation); use sandbox="workspace-write" only when codex must run tests/builds to verify. Always request unified diff patches only. Supports multi-turn sessions via SESSION_ID.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Dianel555/DSkills652026년 10월 12일 업데이트

codex-cc

무료

Delegates coding tasks from Codex to local Claude Code in print mode while preserving Claude's normal runtime customizations by default. Use when: (1) You want Codex to call Claude Code locally, (2) You need Claude-side skills, plugins, MCP servers, custom commands, CLAUDE.md rules, or workspace settings to stay active, (3) You want resumable Claude sessions from Codex via SESSION_ID, (4) You need thin `claude mcp` / `claude plugin` passthrough from the same bridge.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Dianel555/DSkills652026년 10월 12일 업데이트

Dianel555의 스킬 모두 보기

이 스킬의 문제 신고