Perform research for a specific task and return structured findings (called by issue agent)
Performs structured technical research on specific topics, gathering information from docs, code examples, and community discussions to provide evidence-based findings and recommendations.
/plugin marketplace add mpazaryna/claude-toolkit/plugin install research-task@claude-toolkitSpecialized command for performing research on technical topics. Returns structured findings to the calling agent.
RESEARCH_QUESTIONS: (required - list of questions to answer) TASK_CONTEXT: (required - why this research matters) SUGGESTED_APPROACH: (optional - where to look)
Parse the research questions:
Based on research questions, determine sources:
For each source type:
Documentation:
Code Examples:
Community Knowledge:
Organize findings by research question:
For each question:
Based on findings:
Output format (returned to calling agent):
## Research Findings for: {TASK_TITLE}
### Question 1: {QUESTION}
**Answer**: {DIRECT_ANSWER}
**Details**:
{SUPPORTING_INFORMATION}
**Sources**:
- {SOURCE_1}
- {SOURCE_2}
**Confidence**: High | Medium | Low
**Caveats**: {LIMITATIONS}
---
### Question 2: {QUESTION}
[Same structure]
---
## Recommendations
### Approach
{WHAT_TO_DO}
### Rationale
{WHY}
### Risks
- {RISK_1}: {mitigation}
- {RISK_2}: {mitigation}
### Alternatives
1. {ALTERNATIVE_1}: {when to use}
2. {ALTERNATIVE_2}: {when to use}
## Code Examples
```{language}
{EXAMPLE_CODE}
Unanswered questions:
---
## Example Invocation
Called by `/research-task` when task type = research:
Input:
RESEARCH_QUESTIONS:
TASK_CONTEXT: "Stage 1 TELL requires extracting career events from CV text"
SUGGESTED_APPROACH: "Check Apple docs, test with sample CV text"
Output: Structured findings with answers, code examples, recommendations
---
## Design Principles
1. **Single Responsibility**: Only does research, doesn't write files
2. **Returns Data**: Outputs findings as structured text to calling agent
3. **Evidence-Based**: All claims backed by sources
4. **Actionable**: Provides clear recommendations
5. **Honest**: Admits when information not found or uncertain
---
## Notes
- This agent is typically called by `/paz:plan:issue`, not directly by user
- If called directly, will still work and output findings to console
- Uses WebFetch for documentation, WebSearch for discussions
- May read local files if researching internal codebase
- Research is cached naturally by WebFetch (15-minute cache)