parallel-chase
Skill3 starsChanged 18 days agoApache-2.0View on GitHub
A coordinator plans three different lanes once; each lane runs its own flame chase in parallel. Lane 1 writes the run branch, lanes 2 and 3 work in their own worktrees, and a single-writer leaderboard feeds the best score into every fresh lane prompt. Run with /baton:parallel-chase "<task>".
In this repository17 other files it gives its agents.
- author-flowSkill
- cleanup-flame-chaseSkill
- cleanup-ralphSkill
- continue-loopSkill
- fixed-interruptSkill
- flame-chaseSkill
- flowsSkill
- gen-ideaSkill
- gen-planSkill
- goalSkill
- parallel-chase-prSkill
- protocolSkill
- ralph-loopSkill
- recursive-lean-proverSkill
- rlarSkill
- rlcrSkill
- stateful-ralphSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
When the right approach isn't obvious, try three at once.
- Distinctive: line 56
After all lanes return:
- Distinctive: line 65
Every lane is held.
≈ “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
parallel-chase
Arguments: $ARGUMENTS
Load the run protocol first (Skill tool → baton:protocol; if that fails, Read ${CLAUDE_PLUGIN_ROOT}/skills/protocol/SKILL.md) and follow it. This file only adds what is specific to parallel-chase.
Idea
When the right approach isn't obvious, try three at once. A coordinator plans three genuinely different lanes, and each lane is a small flame chase of its own. Lanes don't share a tree; they share only a leaderboard and one-line insights.
Flags
--rounds N: rounds, where one round is one turn in every active lane. Default 4. It replaces--turns.--eval "<cmd>"and--goal max|min: optional. With them, each lane is scored after every round (same contract as fixed-interrupt: exit 0, number on the last line).--in-placeisn't supported: lane 1 always uses the run branch.
Setup additions
- Coordinator (fresh,
baton:coordinator, worker model): header, TASK verbatim, and the evaluator if given. Parse itsBATON-LANESblock intostate.extra.lanes. - Lane 1 works in the main checkout on
baton/<run-id>. For lanes 2 and 3:git worktree add -q .baton/runs/<run-id>/lanes/lane-<i> -b baton/<run-id>-lane-<i> - Each lane alternates chaser-a and chaser-b, starting with chaser-a. Track
next,failsandheldper lane.
Round
Spawn the current chaser of every active lane in one message, so the lanes run in parallel:
BATON parallel-chase · round <r>/<rounds> · lane <i> (<lane name>) · role <chaser> · run <run-id>
TASK:
<task, verbatim>
YOUR LANE'S APPROACH:
<the coordinator's approach for this lane>
STANCE (<stance name>):
<stance paragraph>
WORK ONLY INSIDE: <absolute path of this lane's directory>. cd there first.
LEADERBOARD: <"best so far: lane-<j> with <score>" or "no scores yet">
FROM OTHER LANES: <up to 3 "share:" lines other lanes reported last round, or "nothing">
You start fresh; this lane's workspace is the only handoff. Make the most valuable progress for your lane's approach this turn. Inside your BATON-REPORT you may add "share: <one line other lanes should know>" and "deliverable_ready: yes" when your lane has a complete solution.After all lanes return:
- In one Bash call, run the protocol's
turnonce per lane, with label"r<r> lane-<i>"and-C <lane dir>for lanes 2 and 3. - With
--eval, in one Bash call, runeval <run_dir> r<r>-lane-<i> -C <lane dir>for each lane, one after another (not in parallel). Then updateleaderboard.jsonin the run directory; you are its only writer. - A lane whose two turns in a row failed is held: it gets no more turns.
Stop
--roundsor--minutesused up.- Every lane is held.
- Early stop, unless
--no-early-stop: every active lane reporteddeliverable_ready: yesorstatus: donein the same round.
Final report additions
The leaderboard, each lane's approach and branch (lane 1 is baton/<run-id>), and which lane looks best and why, in one line. Remove the lane worktrees with git worktree remove <dir> but keep their branches, so the user can merge the winner.
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.

