Launches a smart agent to handle complex searches and investigations. Great for large-scale work without eating up context.
Launches an autonomous agent to perform complex investigations and large-scale searches across codebases and external sources.
/plugin marketplace add wasabeef/claude-code-cookbook/plugin install cook-en@claude-code-cookbookLaunches a smart agent to handle complex searches and investigations. Great for large-scale work without eating up context.
# Request Task from Claude
"Investigate [task] using Task"
Works Independently
Saves Context
Ensures Quality
# Complex codebase investigation
"Investigate which files implement this feature using Task"
# Large-scale file search
"Identify configuration file inconsistencies using Task"
# External information collection
"Investigate the latest AI technology trends using Task"
# Complex problem analysis
"Analyze the cause of memory leaks using Task, including profiling results and logs"
# Dependency investigation
"Investigate vulnerabilities of this npm package using Task"
# Competitor analysis
"Investigate API specifications of competing services using Task"
# Architecture analysis
"Analyze dependencies of this microservice using Task"
| Command | Main Use Case | Execution Method | Information Collection |
|---|---|---|---|
| Task | Investigation, analysis, search | Autonomous execution | Multiple sources |
| ultrathink | Deep thinking, judgment | Structured thinking | Existing knowledge-focused |
| sequential-thinking | Problem-solving, design | Step-by-step thinking | As needed |
| plan | Implementation planning | Approval process | Requirement analysis |
Need to gather info?
├─ Yes → From many places or lots of files?
│ ├─ Yes → **Use Task**
│ └─ No → Just ask normally
└─ No → Need deep thinking?
├─ Yes → Use ultrathink/sequential-thinking
└─ No → Just ask normally
Great For
Not Great For
# Complex system analysis
"Identify bottlenecks in the EC site using Task, investigating database, API, and frontend"
# Architecture analysis
"Analyze dependencies of this microservice using Task, including API communication and data flow"
# Technical debt investigation
"Analyze technical debt in legacy code using Task, including refactoring priorities"
# Security audit
"Investigate vulnerabilities in this application using Task, based on OWASP Top 10"
# License investigation
"Investigate license issues in project dependencies using Task"
# Configuration file audit
"Identify security configuration inconsistencies using Task, including environment differences"
# Performance analysis
"Identify heavy queries in the application using Task, including execution plans and optimization proposals"
# Resource usage investigation
"Investigate causes of memory leaks using Task, including profiling results and code analysis"
# Bundle size analysis
"Investigate frontend bundle size issues using Task, including optimization suggestions"
# Technology trend investigation
"Investigate 2024 JavaScript framework trends using Task"
# Competitor analysis
"Investigate API specifications of competing services using Task, including feature comparison table"
# Library evaluation
"Compare state management libraries using Task, including performance and learning costs"
1. Initial Analysis
├─ Decomposition of task and identification of investigation scope
├─ Selection of necessary tools and information sources
└─ Development of execution plan
2. Information Collection
├─ File search and code analysis
├─ Collection of external information
└─ Data structuring
3. Analysis and Integration
├─ Relevance analysis of collected information
├─ Identification of patterns and issues
└─ Verification of hypotheses
4. Reporting and Proposal
├─ Structuring of results
├─ Creation of improvement proposals
└─ Presentation of next actions
# Usage example
"Investigate issues in GraphQL schema using Task"
# Expected behavior
# 1. Dedicated agent starts
# 2. Search for GraphQL-related files
# 3. Analyze schema definitions
# 4. Compare with best practices
# 5. Identify issues and propose improvements
# 6. Create structured report