원클릭으로
context7-usage
Patterns for using Context7 MCP for library documentation (v2.25)
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Patterns for using Context7 MCP for library documentation (v2.25)
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Full orchestration workflow with swarm mode: evaluate -> clarify -> classify -> persist -> plan mode -> spawn teammates -> execute -> validate -> retrospective. Use when: (1) implementing features, (2) complex refactoring, (3) multi-file changes, (4) tasks requiring coordination. Triggers: /orchestrator, /orch, 'orchestrate', 'full workflow', 'implement feature'.
Comprehensive research skill using Zai MCP web search and native Claude Code tools
Smart Forking - Find and fork from relevant historical sessions using parallel memory search across vault, handoffs, and ledgers
Apply adversarial opposite-analysis to plans, specs, architecture, code changes, and claims. Use when the user asks for adversarial review, opposing analysis, contrarian review, red-team reasoning, or Z.ai and MiniMax cross-checks through the Ralph MCP router.
Test case mutation and variation generator for adversarial testing
Codebase defense analysis system for security profiling
| name | context7-usage |
| description | Patterns for using Context7 MCP for library documentation (v2.25) |
~/.claude/settings.json or CLI/env varsANTHROPIC_DEFAULT_*_MODEL env varsultrathink - Take a deep breath. We're not here to write code. We're here to make a dent in the universe.
Documentation retrieval should be precise, fast, and authoritative.
Context7 MCP provides indexed documentation for popular libraries and frameworks. It's more efficient than web scraping because it uses pre-indexed, structured documentation.
| Tool | Purpose | Parameters |
|---|---|---|
mcp__plugin_context7_context7__resolve-library-id | Find Context7 library ID | libraryName, query |
mcp__plugin_context7_context7__query-docs | Query documentation | libraryId, query |
# Step 1: Resolve library ID
mcp__plugin_context7_context7__resolve-library-id:
libraryName: "React" # Extract from user query
query: "useTransition hook usage" # Full query for ranking
# Step 2: Query docs with resolved ID
mcp__plugin_context7_context7__query-docs:
libraryId: "/vercel/next.js" # From step 1
query: "How to use useTransition hook"
Is this about a library/framework?
|
+-- YES --> Is it in Context7?
| |
| +-- YES --> Use Context7 MCP
| | 1. resolve-library-id
| | 2. query-docs
| |
| +-- NO --> Fallback to MiniMax MCP
|
+-- NO --> Use WebSearch (native) or MiniMax MCP
/facebook/react)/vercel/next.js)/vuejs/vue)/angular/angular)/sveltejs/svelte)/microsoft/TypeScript)/nodejs/node)/expressjs/express)/fastify/fastify)/tailwindlabs/tailwindcss)/chakra-ui/chakra-ui)/mongodb/docs)| Approach | Token Usage | Quality |
|---|---|---|
| Context7 | ~50% less | High (official docs) |
| Web Search | Baseline | Variable |
| MiniMax | Baseline | High |
Why Context7 saves tokens:
# CLI usage
ralph library "React 19 useTransition"
ralph lib "Next.js 15 app router"
ralph docs "TypeScript generics"
# Slash command
/library-docs React hooks best practices
If Context7 doesn't have the library:
mcp__MiniMax__web_search