By az9713
Thread-Based Engineering examples - demonstrates Base, Parallel, Chained, Fusion, Big, Long, and Zero-Touch thread patterns for agentic coding
Demonstrate the Base Thread - the atomic unit of agentic work
Demonstrate B-Thread - recursive agent structures with sub-agents
Demonstrate C-Thread - serialized phases with human checkpoints
Demonstrate F-Thread - Best-of-N pattern with result aggregation
Demonstrate L-Thread - high-autonomy extended workflows with Ralph Wiggum
Implementation specialist. Use for writing code, making changes, and building features. Has write access. Use in B-Thread workflows after planning/review.
Codebase exploration specialist. Use for understanding architecture, finding implementations, and mapping dependencies. Fast, read-only. Ideal for B-Thread orchestration.
Code review specialist. Use for analyzing code quality, finding bugs, and suggesting improvements. Read-only - does not modify code. Perfect for F-Thread fusion patterns.
Test and validation specialist. Use for running tests, checking builds, and verifying code quality. Essential for L-Thread and Z-Thread patterns.
Modifies files
Hook triggers on file write and edit operations
Uses power tools
Uses Bash, Write, or Edit tools
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
A comprehensive Claude Code plugin that teaches and demonstrates all 7 thread types from the Thread-Based Engineering framework. Learn to work more effectively with AI coding assistants through practical, hands-on examples.
Thread-Based Engineering is a mental framework for understanding how to work with AI coding assistants like Claude. Created by IndyDevDan, it defines 7 patterns ("threads") for human-AI collaboration:
┌─────────┐ ┌─────────────────┐ ┌─────────┐
│ YOU │ ──▶ │ AI AGENT │ ──▶ │ YOU │
│ Prompt │ │ (tool calls) │ │ Review │
└─────────┘ └─────────────────┘ └─────────┘
START MIDDLE END
The Core Idea: You show up at the beginning (prompt) and end (review). The AI does the work in the middle. Getting better means running MORE threads, LONGER threads, and THICKER threads (agents using agents).
| Document | Description | Time |
|---|---|---|
| Quick Start Guide | Step-by-step setup with 10 hands-on exercises | 15 min |
| User Guide | Complete guide to all features | 30-60 min |
| FAQ | Common questions answered | As needed |
| Document | Description |
|---|---|
| Developer Guide | How to extend and modify the plugin |
| Architecture | Technical design and data flow diagrams |
| CLAUDE.md | Project memory for AI assistants |
| Document | Description |
|---|---|
| Glossary | All technical terms explained |
| Troubleshooting | Solutions to common problems |
# Navigate to the plugin directory
cd /path/to/agent-threads
# Install
claude /plugin install .
# Start Claude Code
claude
# Test a command
/agent-threads:base
If you see the Base Thread explanation, you're ready to go!
| Thread | Name | What It Does | Difficulty |
|---|---|---|---|
| Base | Base Thread | Single prompt → agent work → review | Beginner |
| P | Parallel | Multiple agents working simultaneously | Beginner |
| C | Chained | Multi-phase work with human checkpoints | Intermediate |
| F | Fusion | Best-of-N - multiple agents, aggregate results | Intermediate |
| B | Big/Meta | Agents orchestrating other agents | Advanced |
| L | Long | Extended autonomous work with validation loops | Advanced |
| Z | Zero-Touch | Fully automated with comprehensive validation | Expert |
/agent-threads:base # The fundamental pattern
/agent-threads:parallel # Scale with multiple agents
/agent-threads:chained # Safe multi-phase workflows
/agent-threads:fusion # Get the best of multiple attempts
/agent-threads:big # Orchestrate agent teams
/agent-threads:long # Extended autonomous work
/agent-threads:zero-touch # Full automation (the goal)
One command per thread type, with explanations and live demos.
Specialized AI helpers with different capabilities:
| Agent | Role | Access |
|---|---|---|
@researcher | Fast codebase exploration | Read-only |
@reviewer | Code quality analysis | Read-only |
@builder | Implementation | Read/Write |
@validator | Test verification | Bash access |
Standalone bash scripts for advanced patterns:
| Script | Purpose |
|---|---|
parallel-runner.sh | Spawn N parallel Claude instances |
fusion-aggregator.sh | Aggregate results from multiple agents |
chained-workflow.sh | Multi-phase workflow with checkpoints |
ralph-loop.sh | Stop hook for validation loops |
zero-touch-validator.sh | Comprehensive automated validation |
Stop hook implementing the "Ralph Wiggum" pattern - code that controls when AI continues or stops working.
# Start Claude Code
claude
# Ask about thread types
/agent-threads:base
# Analyze code
/agent-threads:base src/
./scripts/parallel-runner.sh "Review this code" 3
./scripts/zero-touch-validator.sh
Thread-Based Engineering defines 4 metrics for improvement:
npx claudepluginhub az9713/agent-threadsProduction-grade engineering skills for AI coding agents — covering the full software development lifecycle from spec to ship.
Full agentic layer framework implementing the Codebase Singularity concept - enabling AI agents to operate your codebase autonomously through planning, building, reviewing, and fixing workflows. Implements Class 1-3 with orchestration capabilities.
Design fluency for frontend development. 1 skill with 23 commands (/impeccable polish, /impeccable audit, /impeccable critique, etc.) and curated anti-pattern detection.
Behavioral guidelines to reduce common LLM coding mistakes, derived from Andrej Karpathy's observations on LLM coding pitfalls
Design fluency for frontend development. 1 skill with 23 commands (/impeccable polish, /impeccable audit, /impeccable critique, etc.) and curated anti-pattern detection.
Repowire mesh usage skills for AI coding agents: cross-agent review and planning, delegate, usage patterns, and install/update. Backend-agnostic and parameterised on the agent you choose.
Multi-agent collaboration plugin for Claude Code. Spawn N parallel subagents that compete on code optimization, content drafts, research approaches, or any problem that benefits from diverse solutions. Evaluate by metric or LLM judge, merge the winner. 7 slash commands, agent templates, git DAG orchestration, message board coordination.
HelloAGENTS — The orchestration kernel that makes any AI CLI smarter. Adds intelligent routing, unified QA gates, safety guards, and notifications.
OpenAgentsControl — multi-agent orchestration for Claude Code. Context-aware development with skills, subagents, parallel execution, and automated code review.
This skill should be used when the model's ROLE_TYPE is orchestrator and needs to delegate tasks to specialist sub-agents. Provides scientific delegation framework ensuring world-building context (WHERE, WHAT, WHY) while preserving agent autonomy in implementation decisions (HOW). Use when planning task delegation, structuring sub-agent prompts, or coordinating multi-agent workflows.
Sub-agent runner — runs agent definitions on Codex, Claude Code, Cursor CLI, or Gemini CLI from any host AI tool.