No slash command · from flow-next
Synthesizes conversation context into a flow-next spec file via flowctl. Captures user intent, tags paraphrased/inferred content, and writes structured specs with editor follow-up.
Ships in flow-next. 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.
Read when SKILL.md points to them.
A discussion (or a /flow-next:prospect survivor) often holds a complete spec that never gets written down, and the next session loses it. Capture is the synthesis step: the host agent extracts the user's turns, drafts a spec against the resolved template, tags only what it paraphrased or inferred ([paraphrase] / [inferred] / [strategy:<track>]; the user's verbatim words stay untagged), writes it through flowctl, prints a compact summary, and offers the saved file in the editor (docs/read-back.md). The capture request authorizes the write; substantive choices still get short questions. No Python synthesizer, no model subprocess.
flowctl supplies thin plumbing (spec create, spec set-plan, spec set-branch, memory search) plus the chart link-spec callback after a chart-briefing capture. Capture never writes chart files or a chart's ready flag; chart never writes .flow/specs.
Clear ideas and finished chart briefings route here; capture never manufactures a chart for clear work. Unsure: /flow-next:flow --explain.
Read workflow.md for the phases and phases.md for the source tags. Branch-specific machinery lives in references/*.md, loaded only when its gate fires.
Read working-rules.md first unless you already have this run; it holds for every step of this skill.
CRITICAL: flowctl is BUNDLED — NOT installed globally. which flowctl will fail (expected).
workflow.md's Preamble defines $FLOWCTL; later blocks (there and in phases.md) use it.
Inline skill (no context: fork) — AskUserQuestion must stay reachable across phases; subagents cannot call blocking question tools.
Parse $ARGUMENTS for the literal tokens mode:autofix, from:flow, from:goal and from:issue and the flags --rewrite <spec-id>, --from-compacted-ok, --yes, --override-strategy, --no-plan. Strip recognized tokens; the remainder is ignored (the conversation is the input), except under from:goal, where it names the goal or its source, and under from:issue, where it names the tracker issue.
RAW_ARGS="$ARGUMENTS"
MODE="interactive"
REWRITE_TARGET=""
FROM_COMPACTED_OK=0
COMMIT_YES=0
OVERRIDE_STRATEGY=0
if [[ "$RAW_ARGS" == *"mode:autofix"* ]]; then
MODE="autofix"
RAW_ARGS="${RAW_ARGS//mode:autofix/}"
fi
if [ -n "${ZSH_VERSION:-}" ]; then setopt BASH_REMATCH KSH_ARRAYS; fi # zsh: bash-style regex captures
if [[ "$RAW_ARGS" =~ --rewrite[[:space:]]+([^[:space:]]+) ]]; then
REWRITE_TARGET="${BASH_REMATCH[1]}"
RAW_ARGS="${RAW_ARGS//--rewrite ${REWRITE_TARGET}/}"
fi
if [[ "$RAW_ARGS" == *"--from-compacted-ok"* ]]; then
FROM_COMPACTED_OK=1
RAW_ARGS="${RAW_ARGS//--from-compacted-ok/}"
fi
# --yes (autofix write gate), --override-strategy, --no-plan, from:flow, from:goal
# and from:issue authorize durable writes, so they are EXACT-token matches: lookalikes
# ("--yesterday", "--no-planning", "from:flowchart", "from:goals") stay in the remainder.
NO_PLAN_OPT=0
FROM_FLOW=0
FROM_GOAL=0
FROM_ISSUE=0
CLEANED_ARGS=""
for TOK in $(printf '%s\n' "$RAW_ARGS"); do
if [ "$TOK" = "--yes" ]; then
COMMIT_YES=1
elif [ "$TOK" = "--override-strategy" ]; then
OVERRIDE_STRATEGY=1
elif [ "$TOK" = "--no-plan" ]; then
NO_PLAN_OPT=1
elif [ "$TOK" = "from:flow" ]; then
FROM_FLOW=1
elif [ "$TOK" = "from:goal" ]; then
FROM_GOAL=1
elif [ "$TOK" = "from:issue" ]; then
FROM_ISSUE=1
else
CLEANED_ARGS="$CLEANED_ARGS $TOK"
fi
done
RAW_ARGS="$CLEANED_ARGS"
# from:goal is an unattended write the --goal invocation already consented to.
if [ "$FROM_GOAL" = "1" ]; then
MODE="autofix"
COMMIT_YES=1
echo "GATE ACTIVE — STOP. Read references/from-goal.md before continuing."
fi
# from:issue is the write a `flow --auto --from-issue` run consented to through the board move.
if [ "$FROM_ISSUE" = "1" ]; then
MODE="autofix"
COMMIT_YES=1
echo "GATE ACTIVE — STOP. Read references/from-issue.md before continuing."
fi
if [ "$MODE" = "autofix" ]; then
echo "GATE ACTIVE — STOP. Read references/autofix-mode.md before continuing."
fi # default branch: bare no-op — NO link, NO read path
| Mode | When | Behavior |
|---|---|---|
| Interactive (default) | User is at the terminal | Asks on duplicates and must-ask cases; writes the spec, shows its summary, offers the editor; no generic write approval |
Autofix (mode:autofix) | Batch or scripted invocation | No questions; every ask becomes exit 2; writes only with --yes |
When the sentinel prints, read references/autofix-mode.md before Phase 0; it owns the per-phase autofix rules. Under from:goal, read references/from-goal.md as well; it says where a goal run's source differs. Under from:issue, read references/from-issue.md as well. On the interactive path, read nothing.
Interactive capture follows the working rules' attended contract, plus:
AskUserQuestion (load it with ToolSearch select:AskUserQuestion if needed); plain-text numbered options only when the tool is unreachable. Never skip a question silently.[high] / [judgment-call] / [your-call]; before asking, read references/confidence-tiers.md). Option labels stay neutral and state their consequence.R-ID, [inferred]).[inferred] content surfaces in the summary instead.These protect spec trust:
[inferred] criteria surface in the summary for the user to keep, edit, or drop. Saving never upgrades a tag.## Boundaries lines, and never evidence lines. Boundaries hold only product constraints a worker could get wrong.--rewrite <spec-id>; otherwise Phase 0's duplicate branch decides./flow-next:prime's job), never treat a saved spec as implementation consent, and never admit a draft/stale briefing silently or treat a forced draft chart briefing as final (the override names the D-IDs and reads back the risk)..flow/ changes land.context: fork. Blocking questions must stay reachable.Execute workflow.md in order:
The spec at .flow/specs/<spec-id>.md is the deliverable. Autofix without --yes prints the draft summary and exits 0 with no spec allocated.
phases.md (opens in a new tab)references/autofix-mode.md (opens in a new tab)references/business-context.md (opens in a new tab)references/chart-briefing.md (opens in a new tab)references/codebase-verification.md (opens in a new tab)references/compaction.md (opens in a new tab)references/confidence-tiers.md (opens in a new tab)references/duplicate-branch.md (opens in a new tab)references/editor-corrections.md (opens in a new tab)references/from-goal.md (opens in a new tab)references/from-issue.md (opens in a new tab)references/glossary-consent.md (opens in a new tab)references/glossary-terms.md (opens in a new tab)references/mark-ready.md (opens in a new tab)references/must-ask-cases.md (opens in a new tab)references/readiness-snapshot.md (opens in a new tab)references/rewrite-mode.md (opens in a new tab)references/split-proposal.md (opens in a new tab)references/strategy-alignment.md (opens in a new tab)references/strategy-override.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
29 skills in this plugin
/flow-nextManage .flow/ tasks and specs. Triggers: 'show me my tasks', 'list specs', 'what tasks are there', 'add a task', 'create task', 'what's ready', 'task status', 'show fn-1-add-oauth'. NOT for /flow-next:plan or /flow-next:work./flow-next-auditAudit `.flow/memory/` entries against the current codebase and decide Keep / Update / Consolidate / Replace / Delete / Harden per entry. Triggers on /flow-next:audit, "audit memory", "review memory", "refresh learnings", "sweep stale memory", "consolidate overlapping memory entries", "graduate a recurring lesson into a gate". Optional `mode:autofix` token in arguments runs without questions and marks ambiguous as stale (Harden is never auto-applied). Optional scope hint after the mode token (concept, category, module, or path) narrows what gets audited./flow-next-chartDecision-map discovery for one oversized/unclear idea before capture. Triggers on /flow-next:chart with an unshaped idea, chart id, decision pin, --status, or stored tracker URL. Prompt-first adaptive loop - ground, chart a frontier, resolve one D-ID per invocation, brief for capture./flow-next-depsShow spec dependency graph and execution order. Use when asking 'what's blocking what', 'execution order', 'dependency graph', 'what order should specs run', 'critical path', 'which specs can run in parallel'./flow-next-driveDrive any UI surface like a real user - a web app, a Chromium-backed desktop app (Electron / WebView2, reached over CDP), or a genuinely native app (macOS AppKit/SwiftUI, or a non-CDP webview) reached via the Cua Driver / Computer Use. Detects the surface, picks the best available driver, degrades gracefully. Use to navigate sites, verify deployed UI, test web or desktop apps, capture baseline screenshots, drive a sign-in flow, scrape data, fill forms, run an e2e check, or inspect current page state. Triggers on "check the page", "verify UI", "test the site", "test this app", "drive the app", "automate this desktop app", "read docs at", "look up API", "visit URL", "browse", "screenshot", "scrape", "e2e test", "login flow", "capture baseline", "see how it looks", "inspect current", "before redesign", "Electron app", "native app"./flow-next-featuresSeed or maintain the committed user-POV feature map at `.flow/features/` so QA and drive reuse how a user reaches each feature. Two state-resolved modes: no `.flow/features/` (or explicit init intent) seeds it; a present map maintains it. Triggers on /flow-next:features, "seed the feature map", "maintain the feature map", "feature map", "init features". Never dispatched by `flow --auto`, land, or any autonomous driver.npx claudepluginhub gmickel/flow-next --plugin flow-nextOther plugins' skills for the same job