| name | thread-patterns |
| description | Guide for implementing thread-based engineering patterns. Use when discussing or implementing Base, Parallel, Chained, Fusion, Big, Long, or Zero-Touch thread patterns for agentic coding. |
| allowed-tools | Read, Grep, Glob |
Thread-Based Engineering Patterns
This skill provides guidance on choosing and implementing the right thread pattern for your task.
Quick Reference
| Thread | Best For | Complexity | Human Time |
|---|
| Base | Simple tasks | Low | High |
| Parallel | Independent work | Medium | Medium |
| Chained | Critical work | Medium | High |
| Fusion | High confidence | Medium | Low |
| Big | Complex orchestration | High | Low |
| Long | Extended autonomy | High | Very Low |
| Zero-Touch | Full automation | Very High | None |
Decision Tree
Is it a simple, single task?
โโ YES โ Base Thread
โโ NO โ Can tasks run independently?
โโ YES โ Need multiple perspectives?
โ โโ YES โ Fusion Thread
โ โโ NO โ Parallel Thread
โโ NO โ Is it high-risk/production?
โโ YES โ Chained Thread
โโ NO โ Need specialized agents?
โโ YES โ Big Thread
โโ NO โ Want extended autonomy?
โโ YES โ Have validation suite?
โ โโ YES โ Zero-Touch or Long
โ โโ NO โ Long Thread
โโ NO โ Base Thread
Pattern Details
Base Thread
When: Simple tasks, learning, experimentation
Pattern: Prompt โ Tools โ Review
Example: "Explain this codebase"
Parallel Thread (P)
When: Multiple independent tasks, scaling compute
Pattern: Spawn N agents, each on different work
Example: Review auth/, api/, and db/ simultaneously
Chained Thread (C)
When: Production work, large migrations, high-risk changes
Pattern: Phase 1 โ Review โ Phase 2 โ Review โ ...
Example: Plan migration โ Review โ Execute โ Review โ Validate
Fusion Thread (F)
When: Need high confidence, comparing approaches
Pattern: N agents same prompt โ Aggregate best
Example: 3 reviewers โ Synthesize findings
Big Thread (B)
When: Complex workflows needing specialized agents
Pattern: Primary agent orchestrates sub-agents
Example: Researcher โ Reviewer โ Builder โ Validator
Long Thread (L)
When: Extended autonomous work, self-correcting
Pattern: Work โ Stop Hook validates โ Continue if needed
Example: "Fix all bugs until tests pass" (Ralph Wiggum)
Zero-Touch Thread (Z)
When: Mature codebase, comprehensive validation
Pattern: Prompt โ Work โ Auto-validate โ Done
Example: Automated dependency updates with full CI
Improvement Metrics
You're getting better when you:
- Run more threads (P-Threads)
- Run longer threads (L-Threads)
- Run thicker threads (B-Threads)
- Run fewer checkpoints (toward Z-Threads)
See Also
examples.md for detailed code examples
- Plugin commands:
/agent-threads:<type>
- Scripts in
scripts/ directory