agent-flywheel
Multi-agent coding flywheel for Claude Code
Plugin agent-flywheel from marketplace agent-flywheel in burningportra/agent-flywheel-plugin. Commands read from the repo's manifest — 23 days ago.
This plugin runs code on your machine — its hooks fire automatically on events like tool use and it starts local MCP servers. The exact commands are listed below; read them before installing.
What it installs
Skills (47)
_templateOne-sentence summary of what this skill does. Start with a verb, keep it specific enough that Claude can decide when to invoke it.
agent-flywheelUse when starting, resuming, or operating the Agent Flywheel multi-agent workflow (scan, discover, plan, beads, NTM swarm implementation, review, and wrap-up), running Poteto (pstack) mode (/why, /interrogate, /architect, SHA-coupled verification ledger), or syncing and troubleshooting the Antigravi
architectSketch types, signatures, and module structure before code, then stay in the loop while implementation fills in. Use for /architect, 'architect this', 'design this', or non-trivial work where jumping to code would lock in the wrong shape.
brainstormingYou MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
caamManage 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-memoryCASS 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.
cassMine past agent sessions for working prompts, decisions, and patterns. Use when "what did I ask?", "find that prompt", session archaeology, or agent history.
changelog-md-workmanshipRebuild CHANGELOG.md files and release histories from git, tags, releases, and issue trackers. Use when writing changelogs, version timelines, or agent-facing project history summaries.
docs-de-slopifyRemove telltale signs of AI-generated "slop" writing from documentation. Use when polishing README files, API docs, or any public-facing text to sound authentically human.
dsrDoodlestein Self-Releaser - fallback release infrastructure for when GitHub Actions is throttled. Local builds, cross-platform releases, supply chain security. Use when: GH Actions slow, local release, build hosts, dsr command.
flywheel-auditAudit the codebase for bugs, security issues, test gaps, and dead code.
flywheel-cleanupClean up orphaned git worktrees from crashed or stopped sessions.
flywheel-compound-refreshSweep docs/solutions/ to consolidate, replace, or archive stale and duplicate learnings — never auto-deletes.
flywheel-doctorOne-shot diagnostic of every flywheel dependency — MCP connectivity, Agent Mail liveness, br/bv/ntm/cm binaries, node version, git status, dist-drift, orphaned worktrees, and checkpoint validity. Use when debugging toolchain issues, before starting a new session, after /flywheel-cleanup, or as a CI
flywheel-drift-checkCheck if the codebase has drifted from the implementation plan.
flywheel-duelRun a state-aware /dueling-idea-wizards duel inside the flywheel. Routes artifacts into discovery, plan, or review pipelines based on the current phase. Use when the user invokes /flywheel-duel directly, or when start.md routes here from a Discover/Plan/Review menu.
flywheel-fixFast path to apply a targeted fix without running the full flywheel.
flywheel-healthcheckFull health check of the codebase and flywheel dependencies.
flywheel-mine-patternsMine cass session history for recurring workflows and propose them as new skills, refinements to existing skills, or flywheel pipeline tweaks. Use when "what should we automate next?", "find repeated rituals", or after a long stretch of agent work to harvest tacit knowledge into beads.
flywheel-reality-checkStrategic gap analysis between vision (AGENTS.md / README.md / plan docs) and what's actually implemented. Converts gaps into beads, optionally launches a swarm. Use when "reality check", "where are we really", "gap analysis", "did we drift", or before declaring a long-running project done.
flywheel-refine-skillRefine a specific agent skill using session evidence and feedback.
flywheel-refine-skillsReview and improve all loaded agent skills based on session patterns and feedback.
flywheel-researchDeep research on an external GitHub repository to extract implementation insights.
flywheel-rollbackRoll back a completed bead implementation.
flywheel-scanTargeted scan of specific paths or concerns without a full flywheel scan.
flywheel-setupSet up flywheel prerequisites for this project.
flywheel-speedupMake a slow endpoint, flow, job, or service fast. Baselines and profiles it, freezes behavior with real-data e2e tests, then either optimizes in place or, when the slowness is structural, plans a same-API re-architecture, swarms it through the flywheel, gauntlets it under load, and cuts over behind
flywheel-statusShow current flywheel status, bead progress, and inbox messages.
flywheel-stopStop the current flywheel session and reset state.
flywheel-swarm-statusCheck the status of running swarm agents and bead progress.
flywheel-swarm-stopStop all running swarm agents and release their file reservations.
flywheel-swarmLaunch a parallel swarm of agents to implement multiple beads simultaneously.
flywheel-tool-feedbackSubmit structured feedback about a tool or command to improve future flywheel sessions.
frontend-designCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications. Generates creative, polished code that avoids generic AI aesthetics.
gdb-for-debuggingDebug running processes with GDB, strace, and /proc inspection. Use when: process hang, spin loop, segfault, crash, backtrace, attach debugger, ptrace, core dump, thread starvation, accept loop, deadlock, busy wait, or diagnose why a process is stuck.
grill-with-docsRelentless goal/design interview that sharpens framing and writes durable docs (brainstorm artifact, ADRs, glossary) as decisions crystallize. Use when refining a flywheel goal, pressure-testing scope, or "grill with docs".
idea-wizardGenerate and operationalize improvement ideas for projects. Use when brainstorming features, planning improvements, creating beads from ideas, or "what should we build next".
interrogateUse for \"interrogate\", \"adversarial review\", \"multi-model review\", \"challenge this\", \"stress test this code\", \"find blind spots\", or \"tear this apart\". Multiple LLM reviewers challenge changes from independent angles.
memorySearch, store, or manage CASS long-term memory.
multi-model-triangulationCross-validate decisions using multiple AI models (Codex, Gemini, Grok). Use when "get a second opinion", evaluating approaches, or high-stakes decisions.
poteto-modepoteto's agent style for concise, detailed responses, deliberate subagents, unslopped prose, simple code, and verified work. Use for poteto, /poteto-mode, or requests to work in this style.
slbSimultaneous Launch Button - Two-person rule for destructive commands. Use when coordinating dangerous operations between agents, requiring peer review for rm -rf, git push --force, kubectl delete, DROP TABLE, or terraform destroy.
startStart or resume the full agentic coding flywheel. Drives the complete workflow: scan → discover → plan → implement → review.
ubs-workflowComprehensive code review workflow using Ultimate Bug Scanner (UBS). Use when reviewing code, scanning for bugs, validating AI-generated code, or running pre-commit quality checks. - review code - scan for bugs - code review - ubs - find bugs - security audit - lang-typescript - lang-python - lang-r
ui-polishIterative UI/UX polishing for Stripe-level visual quality. Use when app already works and looks decent, wanting to elevate to world-class through multiple passes. Not for complete overhauls.
ui-ux-polishRun a structured UI/UX polish pass on implemented code. Spawns a scrutiny agent to generate 15-30 improvement suggestions, presents them numbered for user selection, converts selected ones to beads, and triggers implementation. Use after initial implementation is complete.
whyUse for 'why does X work this way', 'why we picked Y', design rationale, regressions, postmortems, or data-backed thresholds. Discovers available MCPs and queries each evidence category (source control, issue tracker, long-form docs, real-time chat, infrastructure observability, error tracking, prod
Slash commands (26)
/agent-flywheel:flywheel-auditAudit the codebase for bugs, security issues, test gaps, and dead code.
/agent-flywheel:flywheel-bead-viewerOpen the bead-graph visualizer in your browser.
/agent-flywheel:flywheel-cleanupClean up orphaned git worktrees from crashed or stopped sessions.
/agent-flywheel:flywheel-compound-refreshSweep docs/solutions/ for stale, duplicate, and contradictory learnings — Keep / Update / Consolidate / Replace / Delete.
/agent-flywheel:flywheel-doctorOne-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.
/agent-flywheel:flywheel-drift-checkCheck if the codebase has drifted from the implementation plan.
/agent-flywheel:flywheel-duelRun a state-aware /dueling-idea-wizards duel. Routes artifacts into the flywheel pipeline (discovery, plan, review) based on current phase.
/agent-flywheel:flywheel-fixFast path to apply a targeted fix without running the full flywheel.
/agent-flywheel:flywheel-healthcheckFull health check of the codebase and flywheel dependencies.
/agent-flywheel:flywheel-reality-checkStrategic gap analysis between vision (AGENTS.md / README.md / plan docs) and actual implementation. Reads docs, investigates code, applies /reality-check-for-project exhaustively, converts gaps to tagged beads, optionally launches a 3+3 swarm.
/agent-flywheel:flywheel-refine-skillRefine a specific agent skill using session evidence and feedback.
/agent-flywheel:flywheel-refine-skillsReview and improve all loaded agent skills based on session patterns and feedback.
/agent-flywheel:flywheel-researchDeep research on an external GitHub repository to extract implementation insights.
/agent-flywheel:flywheel-rollbackRoll back a completed bead implementation.
/agent-flywheel:flywheel-scanTargeted scan of specific paths or concerns without a full flywheel scan.
/agent-flywheel:flywheel-setupSet up flywheel prerequisites for this project.
/agent-flywheel:flywheel-speedupMake a slow endpoint, flow, job, or service fast. Baselines and profiles it, freezes behavior with real-data e2e tests, then optimizes in place or plans a same-API re-architecture, swarms it, gauntlets it under load, and cuts over behind a canary with automatic rollback.
/agent-flywheel:flywheel-statusShow current flywheel status, bead progress, and inbox messages.
/agent-flywheel:flywheel-stopStop the current flywheel session and reset state.
/agent-flywheel:flywheel-swarm-statusCheck the status of running swarm agents and bead progress.
/agent-flywheel:flywheel-swarm-stopStop all running swarm agents and release their file reservations.
/agent-flywheel:flywheel-swarmLaunch a parallel swarm of agents to implement multiple beads simultaneously.
/agent-flywheel:flywheel-tool-feedbackSubmit structured feedback about a tool or command to improve future flywheel sessions.
/agent-flywheel:grill-with-docsRelentless goal/design interview that writes brainstorm + optional ADRs/glossary, then hands off to flywheel planning.
/agent-flywheel:memorySearch, store, or manage CASS long-term memory.
/agent-flywheel:startStart or resume the full agentic coding flywheel. Drives the complete workflow: scan → discover → plan → implement → review.
MCP servers (2)
agent-mailconnects to: http://127.0.0.1:8765/mcp
agent-flywheelruns: node ${CLAUDE_PLUGIN_ROOT}/mcp-server/scripts/launch-server.mjs
Hooks (7)
- SessionStart
bash "${CLAUDE_PLUGIN_ROOT}/hooks/_run-hook.sh" node "${CLAUDE_PLUGIN_ROOT}/hooks/startup.js"
- PreToolUse
node "${CLAUDE_PLUGIN_ROOT}/hooks/agent-mail-guard.js"
- PreToolUse
node "${CLAUDE_PLUGIN_ROOT}/hooks/agent-mail-guard.js"
- PreToolUse
node "${CLAUDE_PLUGIN_ROOT}/hooks/agent-mail-guard.js"
- Stop
bash "${CLAUDE_PLUGIN_ROOT}/hooks/_run-hook.sh" node "${CLAUDE_PLUGIN_ROOT}/hooks/agent-mail-guard.js" --release-reservations
- SubagentStop
bash "${CLAUDE_PLUGIN_ROOT}/hooks/_run-hook.sh" node "${CLAUDE_PLUGIN_ROOT}/hooks/agent-mail-guard.js" --release-reservations
- PostToolUse
echo 'Bead approval processed. Run /agent-flywheel:flywheel-status to check progress.'
Maintain agent-flywheel?
This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.