workflow-subtask-loop
Skill1 starsChanged 6 months agoMITView on GitHub
How to execute ONE subtask. Apply to every subtask in the plan.
In this repository33 other files it gives its agents.
- skill-process-gotchasSkill
- workflow-cache-disciplineSkill
- workflow-codegraphSkill
- workflow-conductorSkill
- workflow-context-condenserSkill
- workflow-context-hygieneSkill
- workflow-criticSkill
- workflow-deadline-disciplineSkill
- workflow-deep-researchSkill
- workflow-done-definitionSkill
- workflow-edit-formatSkill
- workflow-effort-routingSkill
- workflow-escalateSkill
- workflow-execute-from-planSkill
- workflow-filesystem-offloadSkill
- workflow-learn-frameworkSkill
- workflow-long-running-processesSkill
- workflow-lspSkill
- workflow-memory-curationSkill
- workflow-plan-contractSkill
- workflow-plan-firstSkill
- workflow-planSkill
- workflow-quality-barSkill
- workflow-repomapSkill
- workflow-retrieve-before-actSkill
- workflow-spec-drivenSkill
- workflow-stuck-detect-resetSkill
- workflow-stuckSkill
- workflow-subagent-isolationSkill
- workflow-task-finishSkill
- workflow-task-startSkill
- workflow-tool-selectionSkill
- workflow-verify-enhancedSkill
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 14
Run mcp-verify on the affected files (mcp_hermes_max_verify_verify).
- Very specific: line 17
When GREEN: record what changed to knowledge-graph (mcp_hermes_max_knowledge_graph_record_entity / …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
<!-- TRIGGERS WHEN: How to execute ONE subtask. -->One subtask at a time. Bounded, verified, committed.
For the CURRENT subtask only (ignore the rest of the project for now):
- Re-read the current subtask from PLAN.md and its definition of done.
- Make the minimal change that satisfies just this subtask. Do not scope-creep into other subtasks — that pollutes context and causes drift.
- Run mcp-verify on the affected files (
mcp_hermes_max_verify_verify). If RED: fix and re-run. Max 3 fix attempts on the same error — if still red, invoke workflow-stuck-detect-reset. Do NOT thrash. - When GREEN: record what changed to knowledge-graph
(
mcp_hermes_max_knowledge_graph_record_entity/mcp_hermes_max_knowledge_graph_record_relation: what file, what decision, why). This is how the next subtask and the next session benefit. - Checkpoint: call
mcp_hermes_max_checkpoint_checkpoint(label="<subtask label>"). This creates a verified-green commit (it asks mcp-verify first and refuses on red), and it is the rollback point — if a later subtask drifts, we revert to here, not to zero. - Mark the subtask done in PLAN.md. Move to the next subtask with a FRESH focus — you do not need the details of the completed subtask in active attention anymore.
Pick the next subtask by PLAN.md dependency order — finish what you started. The build/coding
loop does NOT use the Banyan UCB1 bandit (banyan_select): UCB1 is a stationary explorer scoped to
the RESEARCH loop only (BANYAN_SCOPE=research_only, the default), and its exploration term would
pull you off a half-finished hard subsystem toward a shinier easy one. Keep an in-progress
incomplete subtask until it's green and checkpointed before switching; if you need a programmatic
pick, use build_select_subtask (finish-what-you-started / dependency-order), never banyan_select.
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.

