Use when researching documentation, papers, or articles for insights. Triggers on "research external", "find sources", "literature review", "what do the docs say".
Guide for comprehensive multi-source research that synthesizes findings from documentation, academic papers, and practitioner articles into actionable recommendations.
Extract from the request:
Investigate three source categories:
Documentation Sources
Academic Papers
Practitioner Articles
Consensus Patterns (High Confidence)
Unique Insights (Source-Specific Value)
Contradictions & Trade-offs
Map findings against existing book content:
Find related content
Glob: chapters/**/*.md
Grep: {topic keywords}
Assess current coverage
Identify gaps
Priority 1: Critical Updates
Priority 2: Valuable Additions
Priority 3: Nice to Have
For each recommendation:
Save to: .claude/.cache/research/external/{topic-slug}-{YYYY-MM-DD}.md
Include:
## Research Complete
**Topic:** {topic}
**Date:** {YYYY-MM-DD}
### Sources Researched
| Type | Status | Findings |
|------|--------|----------|
| Documentation | Complete | {count} |
| Academic Papers | Complete | {count} |
| Practitioner Articles | Complete | {count} |
### Cross-Source Synthesis
- **Consensus Patterns:** {count}
- **Unique Insights:** {count}
- **Contradictions:** {count}
### Gap Analysis
- **Existing Coverage:** {count} sections
- **Gaps Found:** {count}
### Top Recommendations
**Priority 1:**
1. `{path}` - {action}: "{insight}"
**Priority 2:**
1. `{path}` - {action}: "{insight}"
### Full Report
Saved to: {report_path}
Cross-Source Validation
Priority Assignment Logic
Book Voice Integration
Citation Management
Topic: "prompt caching strategies"
Documentation: Anthropic docs on prompt caching API
Papers: Recent arxiv on KV cache optimization
Articles: Simon Willison on practical caching
Synthesis:
- Consensus: Caching prefix significantly reduces latency
- Unique: Papers show 40% cost reduction metrics
- Trade-off: Memory vs compute at different scales
Gap Analysis:
- chapters/4-context/ mentions caching briefly
- No detailed implementation guidance
Priority 1: Extend 4-context/2-context-strategies.md with caching patterns
Topic: "multi-agent coordination patterns"
Sources found across all three types
Strong consensus on supervisor patterns
Contradictions on when to use hierarchical vs flat
Gap Analysis:
- chapters/6-patterns/ has orchestrator chapter
- Missing: comparison of coordination approaches
Priority 1: Add coordination comparison to 6-patterns/3-orchestrator-pattern.md
Priority 2: New section on failure handling
Topic: "tool use best practices"
All sources align on core principles
Practitioner articles add production nuances
Gap Analysis:
- chapters/5-tool-use/ covers basics well
- Could deepen with production examples
Priority 2: Extend with practitioner war stories
Priority 3: Add edge case handling section
Topic: "emerging evaluation methods"
Documentation: Complete
Papers: Complete
Articles: Failed (connection issue)
Report continues with available sources
Note limitation in findings
Suggest manual article search for completeness
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer