flow

flow is a skill for Claude Code, Codex from aldianriski/lean-flow. It costs 81 tokens per session (1,298 once invoked), scanned A, original, MIT.

An optional coordinator for a lean software-development workflow, from understanding the project to planning, building, and closing work.

In plain words
What is it for?
Use it to assess project status, create or tidy a backlog, plan a sprint, run build tasks, and complete the related review steps.
Why use it?
It keeps development stages in order and checks that required conditions are met before moving on.

Skill for Claude CodeCodex

Part of the lean-flow plugin — 16 skills shipped together

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.

agentmods
npx agentmods add skills/aldianriski/lean-flow/flow
Any agent
npx skills add aldianriski/lean-flow --skill flow
Clone the repo
git clone --depth 1 https://github.com/aldianriski/lean-flow

Made for: Claude Code, Codex.

Or install lean-flow, the plugin that ships this one along with the rest of its 16 skills.

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 flow

README.md
[![agentmods](https://agentmods.dev/badge/skills/aldianriski/lean-flow/flow.svg)](https://agentmods.dev/skills/aldianriski/lean-flow/flow)
Your own site
<a href="https://agentmods.dev/skills/aldianriski/lean-flow/flow"><img src="https://agentmods.dev/badge/skills/aldianriski/lean-flow/flow.svg" alt="Measured on agentmods" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,298 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00081 $0.01298
Opus 5 $0.00041 $0.00649
Sonnet 5 $0.00016 $0.00260
Haiku 4.5 $0.00008 $0.00130

Measured 4d ago against content hash 9e1c90002868, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

flow 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 4d 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/flow/SKILL.md · 57 lines

How it starts

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

flow

The opt-in conductor for the lean-flow loop. It drives the standalone skills through the proper sequence so the discipline runs instead of being remembered — à la carte still works; this is the conducted path. It sequences; it never bypasses a gate.

Every skill stays standalone (nothing requires another). /flow is the one component allowed to depend on the others — conducting them is its whole job. It does not re-implement any stage; it calls them.

What it conducts

Assess the current state first, then run only the stages whose precondition is unmet — state which you're running and why you're skipping the rest:

  1. Orient — context missing/stale → /prime. Resuming from a handoff? read it first.
  2. Feed — no open work → /task-decomposer "<intent>"the detailed grill fires here, at intake (the build gates re-grill only residuals); intent too foggy to plan (decisions unknown) → its fog-mode (--fog) maps decisions before tasks; backlog drifted / noisy → /triage.
  3. Plan — no active sprint but a ready backlog exists → /lean-doc-generator promote (the governance review fires here).
  4. Build/orchestrator sprint-bulk through G1 / G2 (never an unpromoted Backlog task — step 3 promotes first). Route each task by type: new behaviour → /tdd (test-first, default) · bug → /diagnose · hard-to-change → /refactor-advisor · a design that must be felt/prototype first.
  5. Close — all DoD ticked → /lean-doc-generator close (Retro → §10 buckets), then /release-patch (PATCH) for a fixes-only sprint · MINOR by hand for a feature sprint.
  6. Continuity — stopping mid-loop or context budget low → /handoff, so the next /flow resumes cleanly.

Pin the target with /goal — set a /goal to the active task/sprint's DoD so the conducted run keeps driving across turns until it's verifiably met; clear it at close. That's the native engine behind "conduct the loop".

Conductor, not autopilot

Read the full file on GitHub · 57 lines

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. 4d ago First seen · 57 lines · 81 tokens per session scan A 9e1c90002868

Subscribe to this mod's changes

flow is a skill published in the GitHub repository aldianriski/lean-flow (4 stars, last pushed 5d ago), licensed MIT. It adds 81 tokens to every session and 1,298 once invoked, about $0.0004 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

wayfinder

Plan a huge chunk of work (more than one agent session can hold) as a shared map of decision tickets on your issue tracker, and resolve them one at a time until the way to the destination is clear.

mattpocock/skills · 46 tokens

sap-transport-overview

System-wide inventory of open transport requests — every visible modifiable request, who owns it, how big it is, and supported risk signals such as empty/local requests, explicit locks, and confirmed manifest overlaps. Headers-only and cheap; NO source diffs. Use when asked "what transports are open in the system"…

arc-mcp/arc-1 · 106 tokens

timeline-creator

Create HTML timelines and project roadmaps with Gantt charts, milestones, phase groupings, and progress indicators. Use when users request timelines, roadmaps, Gantt charts, project schedules, or milestone visualizations.

mhattingpete/claude-skills-marketplace · 47 tokens

okx-task-watch

监听任务进展 / 帮我盯着任务 / 任务有动静告诉我 / 历史消息 / 未读消息 / 未决策 / 待决策 / 继续监听 / task watch / user watch / monitor task progress / catch me up on tasks / outstanding decisions — OKX A2A user-session task-notification monitor: live long-poll via okx-a2a user watch (also drains backlog of past/missed/unread events on entry) plus…

nirholas/three.ws · 138 tokens

pm-all

Skill "pm-all" from wei63w/pm-manager, covering user input, outline and shared workflow (all /pm- commands).

wei63w/pm-manager · 8 tokens

bootstrap-prd

Set up PRD-driven development infrastructure for a new project, including directory structure, templates, and roadmap.

joshukraine/dotfiles · 25 tokens