flow-check
Skill2 starsChanged 11 days agoMITView on GitHub
Check from a hook trace that skills ran the way they are designed: /review and /dispatch start their agents together, /execute checks each step before recording it. Use on /flow-check.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- enstw/thesisbug2their own version, first seen Nov 23, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- enstw/thesisbug2★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository48 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- autonomizeSkill
- blueprintSkill
- brainstormSkill
- captureSkill
- checkpointSkill
- close-outSkill
- coordinateSkill
- cycleSkill
- deliverSkill
- design-proposalSkill
- discoverSkill
- dispatchSkill
- draft-planSkill
- envisionSkill
- executeSkill
- extract-conventionsSkill
- glossarySkill
- human-viewSkill
- improve-promptSkill
- memory-auditSkill
- new-agentSkill
- new-agents-mdSkill
- new-hookSkill
- new-mcpSkill
- orchestrateSkill
- pr-authorSkill
- prepSkill
- pre-pushSkill
- pr-triageSkill
- recapSkill
- retrospect-coreSkill
- reviewSkill
- rulesSkill
- shortcutsSkill
- specSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- update-changelogSkill
- update-codemapSkill
- using-git-worktreesSkill
- visualise-codemapSkill
- visualSkill
- work-stateSkill
- wrapSkill
- writeSkill
- write-testsSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 22
Run the script from this skill's folder.
- Very specific: line 49
Add a function to CHECKS in flow-check.js that takes a run ({ skill, t, calls }, each call { tool, start, end, ok, agent, sub, cmd, file, …
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
flow-check
Evals grade what a skill produced. This checks how it ran: the order and overlap of its tool calls, read from the trace the skillTrace hook writes.
Setup (once)
The skillTrace hook bundle is off by default. Turn it on:
- Plugin install: set the Skill trace option to on.
- Bootstrap install: set
"skillTrace": trueunderenabled.hookBundlesin~/.claude/hook-config.json, then re-run bootstrap.
The hook then writes one line per tool call to <project>/.claude/trace/<session>.jsonl: tool name, start and end time, and the few fields the checks need (skill name, agent type, the first 200 chars of a Bash command, a file path, a memory tier). It never records prompt text or tool output. The folder ignores itself in git, and traces older than 14 days are deleted.
Run
Run the script from this skill's folder. Claude Code fills in ${CLAUDE_SKILL_DIR}; in another tool, use the folder this SKILL.md is in.
node "${CLAUDE_SKILL_DIR}/flow-check.js" # newest trace in this project
node "${CLAUDE_SKILL_DIR}/flow-check.js" <trace.jsonl> # a given traceShow the output as-is. One line per skill run:
| Status | Meaning |
| PASS | ran as designed |
| FAIL | broke its design; the line says how. Exit code 1 |
| NOTE | /execute edits after the last recorded step were not checked: the next step is still running, or the edits came after /execute ended |
| SKIP | nothing to compare (fewer than 2 agents, or no step records) |
With no trace, the script says how to turn the hook on.
Checks
- review, dispatch: agents in one message run at the same time. Two agents in a row that each started after the one before ended means the fan-out ran one at a time. A single agent after a parallel wave (a verify pass) is fine. Agents started by a subagent are not counted.
- execute: each step ends with a scratch
write_memoryrecord (execute 3d). Every step that edited files must run a check (Bash, Read, Grep, Glob or a question to the user) after its last edit and before that record. No records at all is SKIP: project-memory may not be connected.
A run starts at a typed /skill or a Skill call for a checked skill, and ends at the next one. Skills called inside a run do not end it.
Adding a check
Add a function to CHECKS in flow-check.js that takes a run ({ skill, t, calls }, each call { tool, start, end, ok, agent, sub, cmd, file, tier }) and returns { status, why }. Write the design as a check: what must be true of the calls, not what the output says. Add a case to hooks/tests/skill-trace.test.js.
Idea from afurmanov/harness-profiler (MIT): record tool calls from hooks, then check a skill's shape against the trace.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

