Multi-agent coding flywheel — deep planning, parallel execution, guided review gates. The Agentic Coding Flywheel.
Audit the codebase for bugs, security issues, test gaps, and dead code.
Open the bead-graph visualizer in your browser.
Clean up orphaned git worktrees from crashed or stopped sessions.
Sweep docs/solutions/ for stale, duplicate, and contradictory learnings — Keep / Update / Consolidate / Replace / Delete.
One-shot diagnostic of every flywheel dependency. Reports MCP connectivity, Agent Mail, br/bv/ntm/cm, node, git, dist drift, orphaned worktrees, and checkpoint validity with a single glyph per line.
One-sentence summary of what this skill does. Start with a verb, keep it specific enough that Claude can decide when to invoke it.
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
Manage AI coding CLI accounts with sub-100ms switching. Use when hitting rate limits on Claude Max, GPT Pro, or Gemini Ultra subscriptions and need instant account swapping without browser OAuth.
CASS Memory System (cm) for procedural memory. Use when starting non-trivial tasks, learning from past sessions, building playbooks, or preventing repeated mistakes via trauma guard.
Mine past agent sessions for working prompts, decisions, and patterns. Use when "what did I ask?", "find that prompt", session archaeology, or agent history.
Admin access level
Server config contains admin-level keywords
Executes bash commands
Hook triggers when Bash tool is used
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 claimnpx claudepluginhub burningportra/agent-flywheel-plugin --plugin agent-flywheelBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
░▒▓ CLAUDE // AGENT-FLYWHEEL v3.18.0 ▓▒░
Multi-agent coding flywheel for Claude Code. Scan → discover → plan → implement → review — with checkpoints, gates, and adversarial review at every seam.
/plugin marketplace add burningportra/agent-flywheel-plugin
/plugin install agent-flywheel@agent-flywheel
/reload-plugins
/agent-flywheel:flywheel-setup
Then /agent-flywheel:start and you're off.
Coding agents stall halfway. They pick up a task, lose context, hit a rate limit, leave half-finished work, skip the review pass that would catch their own bugs, and cannot resume cleanly across sessions. Multi-agent fan-out is worse — agents trample each other's files, lose track of which work is in flight, and there's no audit trail when something goes wrong.
A six-phase loop with state on disk, gates between every step, and adversarial review at the risky seams. Every user decision flows through AskUserQuestion (no implicit choices). Every multi-agent fan-out goes through NTM + Agent Mail (no raw tmux, no & background shells). Every closed bead carries a versioned Completion Evidence attestation in .pi-flywheel/completion/<beadId>.json that the coordinator validates before advancing the wave.
scan ──> discover ──> plan ──> implement ──> review ──> wrap-up
│ │ │ │ │ │
└─────────┴───── checkpoint after every step ─┴───────────┘
(drift check on resume; structured-error routing)
| agent-flywheel | Raw Claude Code | Aider / Cline | SWE-agent / OpenHands | |
|---|---|---|---|---|
| Resumable across sessions | ✅ atomic checkpoint | ✗ context-window-bound | partial (chat history) | partial |
| Multi-agent swarm | ✅ NTM + Agent Mail | ✗ | ✗ | partial (single-agent) |
| File-reservation conflict prevention | ✅ pre-commit guard | ✗ | ✗ | ✗ |
| Adversarial review (duels) | ✅ 2-agent cross-scoring | ✗ | ✗ | ✗ |
| Structured error contracts | ✅ 36-code FlywheelErrorCode | ✗ string parsing | ✗ | ✗ |
| Completion attestation ledger | ✅ Zod-validated JSON | ✗ | ✗ | ✗ |
| Bead-graph dependency view | ✅ bv + Cytoscape viewer | ✗ | ✗ | ✗ |
| Auto-recovery (stalled beads, drift) | ✅ tender daemon + 4-min looper | ✗ | ✗ | partial |
| Doctor / setup / healthcheck triage | ✅ 23-check sweep | ✗ | ✗ | ✗ |
# In a Claude Code session, in any git repo:
/agent-flywheel:start
# Banner + state detection. If beads are open, you get the resume menu.
# Otherwise you see a fresh-start menu:
#
# 1. Scan & discover ← profile + ranked ideas
# 2. Set a goal ← brainstorm + plan + implement
# 3. Deslop pass ← isomorphism-preserving refactor
# 4. Duel ← adversarial 2-agent ideation
# Pick "Set a goal". Type the goal. Pick "Full flywheel".
# The flywheel runs /brainstorming, generates a plan via 3 parallel
# models (claude-opus, claude-sonnet, codex), splits it into beads,
# and asks you to approve.
# After approval, the swarm spawns:
ntm spawn agent-flywheel --label impl --pi=4 --cc=2 --stagger-mode=smart
# Each pane gets a marching-orders message via Agent Mail. The
# tender daemon nudges stalled panes. When all beads close,
# `flywheel_review` spawns 5 fresh-eyes reviewers per risky bead
# (or 2-agent adversarial duel for p0 / security-path beads).
# Wrap-up commits CHANGELOG entries, bumps the version, rebuilds
# dist/, and writes a postmortem entry to docs/solutions/.
State lives on disk; the server is stateless. Every phase boundary writes .pi-flywheel/checkpoint.json atomically. The MCP server reads it and writes it; nothing else holds session state. Resume across machines, across /clear, across crashes.
One lever per commit. Refactors land as isomorphism-preserving Edits (the simplify-and-refactor-code-isomorphically skill enforces this). Reviewers can bisect.
Every decision is a labeled question. AskUserQuestion is the only sanctioned way to ask the user anything. No implicit "shall I proceed?" prose. No silent choices.
Multi-agent fan-out is mandatory through NTM. Raw Task/Agent calls for fan-out, backgrounded shells, and tmux split-window are review-bounce conditions. NTM provides the canonical pane registry, Agent Mail integration, stuck-pane detection, and stagger.
Multi-agent coding flywheel — deep planning, parallel execution, guided review gates. The Agentic Coding Flywheel.
Task-focused agents for test, review, debug, docs, CI, security, refactoring, research, performance, and search-replace — with teammate and subagent role guidance
Zero-cost session handoffs for long-running agent work. Initializer + Coding Agent relay protocol with pluggable planning, multi-agent, and review spokes.
Universal Claude Code workflow with specialized agents, skills, hooks, and output styles for any software project. Includes orchestrator, code-reviewer, debugger, docs-writer, security-auditor, refactorer, and test-architect agents.
Portable Development System — AI-assisted development methodology with skills for consistency and agents for scale.
Multi-agent software evolution. Autonomously study, strategize, build, review, and evaluate code changes using specialist AI agents.
Harness for Claude Code — skills, /harness:* slash commands, persona subagents, lifecycle hooks, and MCP tools without per-repo `harness setup`. Sibling plugins exist for Cursor, Gemini CLI, and Codex.