From cogitation
Dispatches multiple agents for independent tasks that can run concurrently. Searches EC for prior parallelization strategies. Use when facing 2+ independent problems like separate test failures or unrelated bugs.
npx claudepluginhub merewhiplash/engram-cogitator --plugin cogitationThis skill uses the workspace's default tool permissions.
Dispatch multiple agents for independent problems.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Dispatch multiple agents for independent problems.
Announce: "I'm using the parallel-agents skill to handle these independent tasks."
Use when:
Don't use when:
Get project config and check for prior strategies:
ec_search:
query: project config
type: config
ec_search:
query: parallel agent strategy
type: learning
Group problems by what's broken:
If fixing A might fix B, they're not independent.
Search EC for known coupling:
ec_search:
query: [component A] depends
type: learning
ec_search:
query: [component B] coupling
type: pattern
If EC indicates these components are coupled, don't parallelize.
Each agent gets:
Choose ONE approach (don't mix Tasks and TodoWrite):
Option A: Tasks (Preferred) If TaskCreate/TaskUpdate tools are available:
TaskCreate: "Fix file-a.test failures"
TaskCreate: "Fix file-b.test failures"
TaskCreate: "Fix file-c.test failures"
No dependencies needed since these are independent. Agents can share the task list via CLAUDE_CODE_TASK_LIST_ID - updates broadcast in real-time.
Option B: TodoWrite (Fallback) If Tasks aren't available, use TodoWrite to track each workstream.
Task("Fix file-a.test failures")
Task("Fix file-b.test failures")
Task("Fix file-c.test failures")
All three run concurrently.
When agents return:
Fix the failing tests in [file]:
Failures:
1. [test name] - [error summary]
2. [test name] - [error summary]
EC Context:
- Test command: {test_command}
- [Relevant patterns for this component]
- [Known gotchas for this area]
Your task:
1. Read the test file
2. Identify root cause (@debugging)
3. Fix the issue (@tdd)
4. Verify tests pass (@verifying)
Constraints:
- Only modify files in [scope]
- Don't change [shared files]
Return: Summary of what you found and fixed.
Never:
Run full suite to verify no conflicts:
{test_command}
If conflicts exist, resolve manually.
If parallelization revealed something useful:
ec_add:
type: learning
area: parallel-agents
content: [What worked or didn't work about this parallelization]
rationale: Discovered during parallel task execution
Worth storing: