一键导入
context7-cli
Context7 CLI(`ctx7`)로 라이브러리·프레임워크 공식 문서와 API 예시를 조회할 때 사용한다.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Context7 CLI(`ctx7`)로 라이브러리·프레임워크 공식 문서와 API 예시를 조회할 때 사용한다.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
기존 user/project 메모리의 중복·노후 항목을 검토, 통합, 정리할 때 사용한다. 사용자 확인 없이 메모리를 삭제하지 않는다.
서브에이전트·스킬 사용 통계와 미사용 항목을 분석해 인사이트를 도출할 때 사용한다.
코딩·조사 작업을 별도 Picky Pickle에 위임할 때 사용한다. worktree 준비, 지침 작성, Pickle 생성·후속 관리를 수행한다.
새 기능, 큰 변경, 아키텍처 결정 전에 구현보다 설계를 먼저 확정할 때 사용한다.
장기·병렬·대규모 작업을 서브에이전트로 분해·실행·검증하거나 동적 workflow를 설계할 때 사용한다.
dev server, TUI, REPL, DB shell, 로그처럼 사용자 제어나 장시간 실행이 필요한 터미널 작업에 사용한다. AI 작업 위임에는 subagent를 사용한다.
| name | context7-cli |
| description | Context7 CLI(`ctx7`)로 라이브러리·프레임워크 공식 문서와 API 예시를 조회할 때 사용한다. |
| compatibility | Requires bash plus either `ctx7` in PATH or `npx -y ctx7`; Node.js 18+ recommended. |
Last verified: 2026-04-06
Use this skill when you need Context7 documentation lookup but do not want MCP tool registration.
Typical cases:
ctx7 if it is already installed.npx -y ctx7.ctx7 library <name> [query]ctx7 docs <library-id> <query>--json--jsonweb_search / fetch_contentIf you already know the exact library ID, skip library and go straight to docs.
ctx7 --help
If that fails:
npx -y ctx7 --help
ctx7 library react
ctx7 library nextjs "app router authentication"
ctx7 library prisma "relations"
JSON mode:
ctx7 library react --json
ctx7 docs /facebook/react "useEffect cleanup"
ctx7 docs /vercel/next.js "middleware authentication"
ctx7 docs /prisma/prisma "one-to-many relations"
JSON mode:
ctx7 docs /facebook/react "hooks" --json
When you are unsure whether ctx7 is installed, prefer a bash pattern like this:
if command -v ctx7 >/dev/null 2>&1; then
ctx7 library react --json
else
npx -y ctx7 library react --json
fi
For doc queries:
if command -v ctx7 >/dev/null 2>&1; then
ctx7 docs /facebook/react "useEffect cleanup" --json
else
npx -y ctx7 docs /facebook/react "useEffect cleanup" --json
fi
For automation, prefer environment-variable auth when needed:
export CONTEXT7_API_KEY=your_key_here
Interactive auth may also be available:
ctx7 login
ctx7 whoami
ctx7 logout
Optional telemetry disable:
export CTX7_TELEMETRY_DISABLED=1
If unauthenticated access works but appears rate-limited, mention that limitation in the report.
--json when you need to extract IDs or structured fields.library returns ambiguous results, refine the query with framework version, feature, or vendor name.ctx7 command not foundRetry with:
npx -y ctx7 ...
CONTEXT7_API_KEY--jsonctx7 library nextjs "vercel app router"
When answering library/framework questions:
ctx7 or npx -y ctx7)Re-check these in the current environment when accuracy matters:
ctx7 --helpctx7 library --helpctx7 docs --helpExternal references used to shape this workflow: