ワンクリックで
research
Comprehensive research skill using Zai MCP web search and native Claude Code tools
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Comprehensive research skill using Zai MCP web search and native Claude Code tools
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'.
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
Patterns for using Context7 MCP for library documentation (v2.25)
Codebase defense analysis system for security profiling
| name | research |
| description | Comprehensive research skill using Zai MCP web search and native Claude Code tools |
Smart Research with Zai MCP Integration - Leverages Zai MCP for comprehensive web search, article fetching, and content analysis.
Based on the principle that research should be thorough, well-sourced, and actionable.
# Via skill invocation
/research Latest React 19 patterns and best practices
# Via CLI
ralph research "TypeScript 5.0 performance optimizations"
# Focus on specific sources
/research "Next.js App Router" --sources github,docs
mcp__web-search-prime__webSearchPrime instead of MinimaxPurpose: Comprehensive web search with high-quality results
Parameters:
search_query: string # The search query (max 70 characters recommended)
content_size: string # "medium" (400-600 words) or "high" (2500 words)
location: string # "cn" (Chinese) or "us" (non-Chinese)
search_recency_filter: string # oneDay, oneWeek, oneMonth, oneYear, noLimit
search_domain_filter: string # Optional: limit to specific domain
Optimal Patterns:
# Good: Specific, time-bounded
mcp__web-search-prime__webSearchPrime:
search_query: "React 19 useOptimistic hook examples 2025"
search_recency_filter: "oneMonth"
content_size: "medium"
# Good: Error-focused debugging
mcp__web-search-prime__webSearchPrime:
search_query: "TypeError cannot read property undefined Next.js 15"
location: "us"
# Good: Documentation search
mcp__web-search-prime__webSearchPrime:
search_query: "Claude Code MCP configuration"
search_domain_filter: "docs.anthropic.com"
# Bad: Too vague
mcp__web-search-prime__webSearchPrime:
search_query: "javascript" # Too broad, be specific
Purpose: Fetch and analyze full web page content
When to Use:
Purpose: Extract README content from GitHub repositories
Parameters:
url: string # GitHub repository URL
Example:
mcp__web-search__fetchGithubReadme:
url: "https://github.com/vercel/next.js"
Purpose: Convert URL content to LLM-friendly format
Parameters:
url: string # URL to fetch and read
return_format: string # "markdown" (default) or "text"
retain_images: boolean # Keep images (default: true)
with_links_summary: boolean # Include links summary
with_images_summary: boolean # Include images summary
Example:
mcp__web-reader__webReader:
url: "https://docs.anthropic.com/claude/docs"
return_format: "markdown"
with_links_summary: true
mcp__web-search__fetchCsdnArticle
url: string # CSDN article URL
mcp__web-search__fetchJuejinArticle
url: string # Juejin article URL
mcp__web-search__fetchLinuxDoArticle
url: string # Linux.do post URL
# Broad search first
mcp__web-search-prime__webSearchPrime:
search_query: "${TOPIC} overview guide 2025"
content_size: "high"
search_recency_filter: "oneMonth"
# Targeted follow-up searches based on initial results
mcp__web-search-prime__webSearchPrime:
search_query: "${SPECIFIC_ASPECT} implementation ${TOPIC}"
search_recency_filter: "oneWeek"
# For documentation sites
mcp__web-reader__webReader:
url: "${DOC_URL}"
return_format: "markdown"
# For GitHub repos
mcp__web-search__fetchGithubReadme:
url: "${REPO_URL}"
Compile findings into structured report:
Save research to memory for future reference:
ralph ledger save research "Research on ${TOPIC}: [key findings]"
# 1. Official docs
mcp__web-search-prime__webSearchPrime:
search_query: "${TECH} official documentation"
search_domain_filter: "official-site.com"
# 2. Best practices
mcp__web-search-prime__webSearchPrime:
search_query: "${TECH} best practices 2025"
# 3. GitHub examples
mcp__web-search-prime__webSearchPrime:
search_query: "${TECH} examples github"
# 1. Exact error message
mcp__web-search-prime__webSearchPrime:
search_query: "${ERROR_MESSAGE} ${FRAMEWORK}"
# 2. Stack Overflow solutions
mcp__web-search-prime__webSearchPrime:
search_query: "site:stackoverflow.com ${ERROR_MESSAGE}"
# 3. GitHub issues
mcp__web-search-prime__webSearchPrime:
search_query: "site:github.com ${ERROR_MESSAGE}"
# 1. CVE lookup
mcp__web-search-prime__webSearchPrime:
search_query: "CVE ${VERSION} vulnerability"
# 2. Security advisories
mcp__web-search-prime__webSearchPrime:
search_query: "${PACKAGE} security advisory 2025"
# 3. Exploit database
mcp__web-search-prime__webSearchPrime:
search_query: "${CVE_ID} exploit"
# Research phase in orchestrator
Task:
prompt: |
Research latest patterns for $TOPIC using mcp__web-search-prime__webSearchPrime.
Use mcp__web-reader__webReader for detailed content.
Compile findings into structured report with sources.
# Code research
Task:
prompt: |
Search for $TOPIC implementation examples on GitHub.
Use mcp__web-search__fetchGithubReadme to analyze repositories.
Identify best patterns and anti-patterns.
| Feature | Zai MCP | Minimax MCP |
|---|---|---|
| Web Search | webSearchPrime | web_search |
| Content Quality | High (2500 words max) | Medium |
| Chinese Content | Excellent (CSDN, Juejin) | Basic |
| GitHub Integration | fetchGithubReadme | None |
| URL Reader | webReader | None |
| Domain Filtering | Yes | No |
| Recency Filter | Yes | No |
| Cost | Free (no API key) | ~$0.008/query |
| Scenario | Recommended Tool |
|---|---|
| General web search | mcp__web-search-prime__webSearchPrime |
| Chinese tech articles | mcp__web-search__fetchCsdnArticle, fetchJuejinArticle |
| GitHub repositories | mcp__web-search__fetchGithubReadme |
| Documentation reading | mcp__web-reader__webReader |
| Real-time data | Native WebFetch |
| Code search in repo | Grep, Glob (not web search) |
Structure research reports as:
# Research: [TOPIC]
**Date**: YYYY-MM-DD
**Sources**: X articles analyzed
## Summary
[2-3 sentence key findings]
## Key Findings
1. [Finding 1]
- Source: [URL]
- Details: [Explanation]
2. [Finding 2]
- Source: [URL]
- Details: [Explanation]
## Code Examples
```language
// Relevant code snippets
## CLI Commands
```bash
# Standard research
ralph research "topic description"
# With source focus
ralph research "topic" --sources github,docs
# Chinese content
ralph research "topic" --location cn
/orchestrator - Full orchestration with research phase/smart-fork - Pattern extraction from external repos/clarify - Requirement clarification with researchOptimal Scenario: B (Pure Custom Subagents)
| Criterion | Weight | Score | Rationale |
|---|---|---|---|
| Coordination Need | 25% | 3/10 | Research is independent |
| Specialization Need | 25% | 9/10 | Specialized web tools required |
| Quality Gate Need | 20% | 5/10 | Moderate validation needs |
| Tool Restriction Need | 15% | 8/10 | Read-only tools important |
| Scalability | 15% | 7/10 | Scales with topic complexity |
| Total | 100% | 7.5/10 | Scenario B optimal |
# Scenario B: Direct spawn without TeamCreate
Task(subagent_type="ralph-researcher", prompt="Research ${TOPIC}")
→ Execute with specialized tools
→ Compile structured report
→ Return findings
Direct Spawn (Recommended):
Task:
subagent_type: "ralph-researcher"
prompt: |
Research ${TOPIC} using:
1. mcp__web-search-prime__webSearchPrime for initial search
2. mcp__web-reader__webReader for content extraction
3. mcp__web-search__fetchGithubReadme for GitHub repos
Compile into structured report with all sources.
Parallel Research (Multiple Topics):
# Spawn multiple researchers for different topics
Task(subagent_type="ralph-researcher", prompt="Research React 19 features")
Task(subagent_type="ralph-researcher", prompt="Research TypeScript 5.5")
Task(subagent_type="ralph-researcher", prompt="Research Node.js performance")
# Results aggregated independently