skills/flow-note/SKILL.md
Capture a correction or learning to the FLOW state file. Invoke explicitly with /flow:flow-note. Fast — captures and continues without interrupting flow.
npx skillsauth add benkruger/flow flow-noteInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
Security scan pending...
This skill is queued for security scanning. Results will appear when the scan completes.
Capture a correction or learning to the state file immediately. This skill must be fast — capture and continue, no interruption.
This flow is one of potentially many running simultaneously — on this
machine (multiple worktrees) and across machines (multiple engineers).
Your state file (.flow-states/<branch>/state.json) is yours alone. Never
read or write another branch's state. All local artifacts (logs, plan
files, temp files) are scoped by branch name.
Invoke this skill BEFORE replying whenever the user:
Do not wait to be asked. Capture first, then respond.
Compose the note text as a reusable pattern, not a specific complaint:
Bad: "User said I was wrong about branches"
Good: "Never assume branch-behind is unlikely in a multi-session workflow — multiple active sessions means branches regularly fall behind main"
Bad: "I suggested rebase, user rejected"
Good: "Always merge, never rebase — rebasing is forbidden in this workflow"
The note should read as something useful to a future session, not a log of what happened.
${CLAUDE_PLUGIN_ROOT}/bin/flow append-note --note "<note_text>"
The script derives the state file path and current phase internally.
The script outputs JSON:
{"status": "no_state"} — no state file exists. Skip silently — do not
interrupt the session. Continue with your response.{"status": "ok", "note_count": N} — note captured. Proceed to Step 2.{"status": "error", "message": "..."} — show the error message and stop.Print one line only:
[note captured]
Then continue with the response immediately.
When the user types /flow:flow-note <message>:
state["notes"] with current phase and timestamp[note captured] and stopdata-ai
Clear the autonomous-flow halt set when the user spoke mid-flow. Invokes `bin/flow clear-halt` so the next assistant turn resumes execution. User-only: the model cannot invoke this skill.
data-ai
Open a problem-statement conversation. Stays in discussion mode with PM as default voice; on user signal, files a vanilla What/Why/Acceptance Criteria issue against the current repo. Usage: /flow:flow-explore <topic>
tools
Display the FLOW skill catalog grouped by user role. Maintainer and Private buckets render only when invoked inside the FLOW plugin repo.
documentation
Phase 3: Review — six tenants assessed by four cognitively isolated agents (reviewer, pre-mortem, adversarial, documentation) launched in parallel. Parent session gathers context, triages findings, and fixes.