agentleFS
cornch-kcornch-k/baton/skills/flows/SKILL.md

flows

Skill3 starsChanged 18 days agoApache-2.0View on GitHub

Lists baton's agent-loop flows and helps choose one for a task; explains the settings (models and stances), how runs use a branch, and how to resume or stop. Use when the user asks which baton flow fits a task, or what baton can do.

1 other project uses a version of this.

Adopted by

Most recently taken up by

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
  1. Very specific:

    Every flow runs as /baton:<flow> "<task>" [flags], works on a run branch baton/<run-id> (your branch is untouched), commits each turn, and …

    line 8
  2. Very specific:

    Use a scratch repository or a clean working tree.

    line 41

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

baton flows

Every flow runs as /baton:<flow> "<task>" [flags], works on a run branch baton/<run-id> (your branch is untouched), commits each turn, and ends with a report on how to merge or drop the work. Shared flags: --turns N, --minutes M, --check "<cmd>", --no-early-stop, --in-place, --resume [run-id].

Pick a flow

FlowWhat it doesUse it when
flame-chaseTwo chasers with different models and stances alternate, fresh every turn; only the workspace passes between themA long task where one agent's blind spots would compound
cleanup-flame-chaseflame-chase plus a cleaner every few turns, NEXT.md, squashed epochsThe same, over many turns
ralph-loopSame task every round, fresh worker, only the repository carries overSteady grinding on a task with a clear finish
cleanup-ralphralph-loop plus the cleanerThe same, over many turns
stateful-ralphSame task every round, one persistent workerEarlier reasoning matters between rounds
continue-loopTask once, then "continue"The simplest long run
goalThe task becomes the worker's own goal; it stops when it says the goal is met, with evidenceA measurable finish line, self-judged
rlarPersistent actor; a fresh reviewer decides "done" and writes the next prompt"Done" shouldn't be judged by the one who did it
gen-idea → gen-plan → rlcrIdea draft → plan agreed by planner and fresh analyst → build with stop checks, an incremental review every round and one whole-change review by a different modelLarger features you want planned and reviewed
fixed-interruptChasers alternate every k accepted experiments scored by your evaluator; a blind review picks the winnerOptimizing a measurable score
parallel-chaseA coordinator plans three different lanes; each lane chases in parallel; a shared leaderboardThe right approach isn't obvious
parallel-chase-prThree lanes propose; merged only when a clean evaluation improves the scoreScore-driven work where nothing should land unmeasured
recursive-lean-proverLean 4 theorem → lemmas: a direct Lean attempt first, then prose audit and split only where needed, formalized in worktrees, wikiFormal proofs in a Lake project
author-flowWrites a new flow from your description; lands only after load, fake-world and critic gatesYou want a loop baton doesn't have

Settings

Set them in /plugin → baton → configure, or in the baton rows of /config:

  • chaser A: model opus, stance builder (defaults)
  • chaser B: model sonnet, stance skeptic
  • worker model opus, reviewer model sonnet, default turn budget 8

Stances: builder, skeptic, simplifier, tester. Models: opus, sonnet, haiku, fable.

Before a long run

  • Use a scratch repository or a clean working tree; baton refuses to start on uncommitted changes.
  • Choose acceptEdits or auto permission mode so turns don't stop on prompts. Baton never turns on bypass permissions for you.
  • Runs cost tokens in proportion to turns × agents, and most of a turn's cost is its agent's model. Start with a small --turns; for cheaper runs set the chaser A and worker models to sonnet in the settings.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.