/agentflow:do <plain description of the one-off operation> [--name <id>] [--max-usd N]from Agent Flow
Runs a multi-step deterministic operation once, ad-hoc, as an inline pipeline without saving a workflow file. Designs code/bash stages with an LLM step only where judgment is needed, then offers to promote the run to a reusable workflow.
Ships in Agent Flow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Make it visible: say in one line that you are starting a
dorun (its name/run-id) so it is clear an Agent Flow run is happening;/agentflow:boardthen lists it. All paths are relative to the workspace root.
You turn an intent into a small inline /agentflow:pipe — run once, kept on disk as a run (not as a
saved workflow folder) — and optionally promote it afterwards.
Express the operation as ordered stages, each writing $PIPE_OUTPUT_PATH:
bash / json stages (pure code) — gather, transform, filter, render. Reproducible.{type:"primitive", spec:{cmd:"step"|"foreach"|"reduce", …}}) ONLY where real
judgment is needed; constrain its output and let later code read it — never branch on free text.{{stages.<name>.result_pointer}}, {{run.dir}}, {{params.*}}.Pick a kebab name from the intent (or --name). Run as an inline pipe — no workflow folder is written:
node "${CLAUDE_PLUGIN_ROOT}/dist/state/pipe.js" init <name> --stages '<stages-json>' [--max-usd N]
node "${CLAUDE_PLUGIN_ROOT}/dist/state/pipe.js" drive <name>
Drive exactly like /agentflow:run-workflow: handle needs_agent (dispatch the child per its SKILL.md),
needs_approval (ask the user), and echo pipe progress <name> each turn. On done, surface the
result_pointer.
When it worked, offer: "Keep this as a reusable workflow?" If yes, hand off to
/agentflow:create-workflow to materialize workflows/<name>/WORKFLOW.md — lift inline bash commands
into sibling scripts called via {{workflow.dir}}, and declare params for the inputs you hard-coded. If
no, it stays a disposable run under .agentflow/pipe/<name>/ — remove it anytime with
/agentflow:runs rm <name>, or let /agentflow:runs clean GC finished runs in bulk.
do does NOT write a workflows/ folder unless the user promotes it.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub alesaiani/agentflow --plugin agentflow23 skills in this plugin
/auditDeep code-audit recipe: discover files in a target → review each (LLM, cached) → partition by
component → executive digest with hotspots and recurring patterns. A layer-3 recipe over /agentflow:pipe
(the 6-stage pipeline and caching are detailed in the body).
USE when the user asks to "review / audit / find bugs across" a folder, repo, or glob and wants a
persisted, structured report — and the target is large enough (≥ ~10 files) that per-file parallelism
plus a digest beats reading inline.
DON'T use for a few named files (read them inline), exploratory questions ("what does this do?"), or
generic per-item work that isn't a code review (→ /agentflow:foreach).
Not a `/`-menu command — it's the shipped `workflows/audit/` recipe: reach it by asking ("audit src
for bugs"), or run it directly with `/agentflow:run-workflow workflows/audit/WORKFLOW.md`.
/boardWorkspace dashboard: lists every active framework run across all primitives, highlights blockers (stuck items, exhausted auto-continue caps), shows cumulative cost, and suggests the next action. The natural command to run after re-opening Claude Code in a workspace with in-flight runs, or whenever the user wants a one-shot overview of "what's going on".
USE this skill when:
- the user has just (re)opened the workspace and wants to know what is in flight;
- the user says "what's going on", "show me everything", "any active runs", "where are we", "any pipelines running";
- the user wants a one-shot health check + suggested next action.
DON'T use this to inspect a specific run in depth (use `/agentflow:inspect show <id>` or `tree <id>`), or
to modify state (board is read-only). Explicit: `/agentflow:board` or `/agentflow:board --json`.