agent-flywheel

agent-flywheel is a skill for Claude Code, Codex from avizmarlon/agent-skills. It costs 94 tokens per session (1,694 once invoked), scanned A, original, MIT.

A planning method for turning software ideas or specifications into ordered, executable tasks for people or AI agents. It emphasizes resolving decisions before implementation and coordinating work across sessions or agents.

In plain words
What is it for?
Use it when starting a project or major feature, designing architecture, creating a roadmap, breaking requirements into tasks, or coordinating several agents.
Why use it?
It helps catch costly misunderstandings early and makes larger builds easier to divide, track, and continue.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when starting a project or major feature, designing architecture, creating a roadmap, breaking requirements into tasks, or coordinating several agents.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/avizmarlon/agent-skills/agent-flywheel
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add avizmarlon/agent-skills --skill agent-flywheel
Clone the repo
git clone --depth 1 https://github.com/avizmarlon/agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agent-flywheel

README.md
[![agentmods](https://agentmods.dev/badge/skills/avizmarlon/agent-skills/agent-flywheel/github.svg)](https://agentmods.dev/skills/avizmarlon/agent-skills/agent-flywheel)
Your own site
<a href="https://agentmods.dev/skills/avizmarlon/agent-skills/agent-flywheel"><img src="https://agentmods.dev/badge/skills/avizmarlon/agent-skills/agent-flywheel/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agent-flywheel

Your own site · 80×15
<a href="https://agentmods.dev/skills/avizmarlon/agent-skills/agent-flywheel"><img src="https://agentmods.dev/badge/skills/avizmarlon/agent-skills/agent-flywheel.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,694 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00094 $0.01694
Opus 5 $0.00047 $0.00847
Sonnet 5 $0.00019 $0.00339
Haiku 4.5 $0.00009 $0.00169

Measured 10d ago against content hash e1154c4c80f1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

agent-flywheel scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/agent-flywheel/SKILL.md · 118 lines

How it starts

The opening of the file, as written. The whole thing — 118 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Agent Flywheel

Overview

A reusable, systematic method for planning and executing software projects with AI agents. Core principle: invest heavily in plan-space before code — that's where errors are cheapest to fix. Inspired by Jeffrey Emanuel's Agent Flywheel framework (agent-flywheel.com).

The "flywheel" metaphor: each iteration upgrades plan quality, artifact reusability, and execution speed. Rework caught in planning costs ~1× effort; in task definition ~5×; in code ~25×. This heuristic shapes where to push reasoning (upstream, to the plan).

When to activate / anti-triggers

Use this skill when:

  • Starting a new project or significant feature
  • Converting ideas, specs, or requirements into executable plans
  • Planning architecture or major technical decisions
  • Establishing roadmaps or multi-phase programs
  • Coordinating work across multiple agents or sessions
  • Explicitly asked to "plan this", "make it a task graph", or "design the build"

Do NOT use when:

  • Fixing routine bugs (non-architectural)
  • Responding to urgent incidents or ops crises
  • Executing an already-approved, locked plan
  • Handling customer support or one-off requests
  • Re-planning is explicitly out of scope

Step 1: Pick the execution mode (match scope to complexity)

Don't default to heavy machinery. Choose the lightest mode that fits the scope.

Mode When to use Substrate Complexity
A: Plan-only Small/sequential projects; solo or tight-knit teams; coherent slice Markdown plan + test-driven development + standard PR workflow Minimal
B: Plan + task graph Multiple interconnected tasks; multi-session risk; dependency chains Markdown plan + structured task graph (JSONL format) + single-agent execution Medium
C: Task-graph + routable beads Plan B + need resumability across context loss; durable task store Structured beads + dependency routing + PR-per-cluster Medium–High
D: Full multi-agent swarm Large, highly parallel work; amortized coordination cost Only after passing swarm-readiness.md — full coordination layer High

Read the full file on GitHub · 118 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 118 lines · 94 tokens per session scan A e1154c4c80f1

Subscribe to this mod's changes

agent-flywheel is a skill published in the GitHub repository avizmarlon/agent-skills (2 stars, last pushed 2mo ago), licensed MIT. It adds 94 tokens to every session and 1,694 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

agent-carnet

Use this skill when the user asks to save, recall, find, or organize notes. Triggers on: 'remember this', 'save this', 'note this', 'what did we discuss about...', 'check the notebook', 'find in carnet'. Also use proactively when discovering findings worth preserving across sessions.

yamadashy/repomix · 67 tokens

deploy-docker-compose

Run the Omnigent server as a Docker compose stack (server + Postgres) on any Docker host — your laptop, a VPS, EC2 by hand, or as the base layer of any container-platform deploy. Invoke when the user wants to build the image, bring up the compose stack, debug the stack on a host they already have, or extend the stack…

omnigent-ai/omnigent · 84 tokens

security-audit

Audit a codebase or directory for security issues (hardcoded secrets, injection, unsafe deserialization, weak crypto, authz gaps) and produce a structured findings report. Use when the user asks for a security review, an audit, or to check code for vulnerabilities. Report only — never fix.

omnigent-ai/omnigent · 64 tokens

taiyi-ui-design

A design-planning guide for describing how an application's user interface should look and behave. It produces a UI-DESIGN.md document covering layouts, components, interactions, accessibility, and error states.

Dong90/oh-my-taiyiforge · 35 tokens

taiyi-evolve

A workflow skill that compares the implemented code with the frozen design after development and testing. It records architecture changes and proposes updates to DESIGN.md, the document describing the intended system structure.

Dong90/oh-my-taiyiforge · 37 tokens

taiyi-diagram-c4

A code-scanning tool that builds C4 architecture documents from a repository. It separates facts observed in the code from conclusions inferred about the design and uses Mermaid diagrams as the source format.

Dong90/oh-my-taiyiforge · 48 tokens