parallel-work
Skill1 starsChanged 11 days agoMITView on GitHub
Splits a request into independent tasks, runs them in parallel worker sessions (each edit task in its own git worktree), then merges them after confirmation. Use for "run these in parallel", "split these requests and work on them at once", "merge the finished parallel work", or once the user accepts a proposed split. Not for a single task or a few-line change.
9 other projects use a version of this.
Adopted by
Most recently taken up by
- Tcuzzo/backs-aios-skillstheir own version, first seen Nov 20, 2026
- arxdsilva/ai-loopstheir own version, first seen Nov 16, 2026
- Destrayon/Connapsetheir own version, first seen Nov 12, 2026
- davidscotttufts/hyvemindtheir own version, first seen Nov 1, 2026
- aprameyak/coding-skillstheir own version, first seen Oct 2, 2026
- joris887/exosuittheir own version, first seen Aug 20, 2026
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- Destrayon/Connapse★ 23same name
- joris887/exosuit★ 9same name
- gabrieldabbah/genesis★ 4same name
- aprameyak/coding-skills★ 2same name
- Tcuzzo/backs-aios-skills★ 2same name
- aleiby/claude-skills★ 1same name
- arxdsilva/ai-loops★ 1same name
- davidscotttufts/hyvemind★ 0same name
- nfeuer/project-foundation-kit★ 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 repository14 other files it gives its agents.
- analyzeSkill
- checkSkill
- clean-tempSkill
- commitSkill
- develop-screenSkill
- developSkill
- improve-skillSkill
- peer-reviewSkill
- pr-publishSkill
- pushSkill
- run-appSkill
- setupSkill
- suggest-skillsSkill
- using-devkitSkill
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 10 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 8 edited versions we read keep these.
10
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 47
If only one task results, don't use this skill: say so and do it in this session.
- Distinctive: line 50
Default: tasks whose files and modules don't overlap run in parallel.
- Distinctive: line 61
Run at most 3 workers at once unless the user sets another limit.
- Very specific: line 63
If the repo has .devkit/runtime.json, the central session starts it with devkit:run-app (--repo <merge point>).
- Distinctive: line 76
Wait for and receive reports as the launcher file describes.
- Distinctive: line 77
Don't trust reports alone: check the actual changes as the workspace file describes.
- Distinctive: line 78
If a worker asks for a lookup or a decision, the central session answers it through the launcher, or asks the user when it is the user's …
- Distinctive: line 81
When every worker has reported, show a table per task: task · result (done / blocked / decision needed) · files changed · checks run · …
- Distinctive: line 96
Read screen-check.md for where the user starts it and how to confirm the server is the one from the merge point.
- Distinctive: line 98
Run write checks only on the targets approved in step 1.
- Distinctive: line 107
Run git init without user approval.
“Common” is measured: kept by at least 6 in 10 of the 8 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Parallel request execution
The central session (this one) splits the request, assigns tasks and collects results. Each worker does only its own task. Commits, merges, cleanup and writes to external services happen only in the central session, after user confirmation.
The work spans several turns: copy this checklist into your response and tick it off step by step. Don't skip steps. In in-place mode, mark 4-1 to 4-3 as "n/a".
Parallel work progress:
- [ ] 0. Choose modes (launcher, workspace)
- [ ] 1. Split the request → approval when needed (base branch, screen check)
- [ ] 2. Prepare workspaces → launch workers
- [ ] 3. Collect reports → check actual results → results table
- [ ] 4-1. Commit → 4-2. Merge point → 4-3. Merge → 4-4. Integrated check
- [ ] 4-5. Screen check (if chosen) → 4-6. Apply fixes, then 4-4 again
- [ ] 4-7. Clean up (only after checks, final review and their fixes)<scripts> below and in the reference files is this skill's scripts folder: ${CLAUDE_PLUGIN_ROOT}/skills/parallel-work/scripts. Write it out as an absolute path in commands; the shell may not have CLAUDE_PLUGIN_ROOT set.
0. Choose modes
Two independent choices. Each mode has its own reference file: read the two that apply in full now. The other mode files are not needed.
Launcher — decide from the environment variables ORCA_TERMINAL_HANDLE and HC_TERMINAL_ID (echo "$ORCA_TERMINAL_HANDLE|$HC_TERMINAL_ID"; PowerShell: "$env:ORCA_TERMINAL_HANDLE|$env:HC_TERMINAL_ID").
ORCA_TERMINAL_HANDLEset →orca: one supervised Orca worker per task. Read launcher-orca.md.HC_TERMINAL_IDset (t<number>) →hc: one Herdr child agent session per task. Read launcher-hc.md. For a non-claudeagent, also read hc-templates.md.- Both set → ask the user which one. Neither →
subagent: one Agent-tool subagent per task; tell the user in one line that subagents will be used. Read launcher-subagent.md.
Workspace — decide from git rev-parse --show-toplevel. Below, <repo> is that path (in-place mode: the current working folder).
- Succeeds →
worktree: each edit task gets its own worktree and task branch. Read workspace-worktree.md. - Fails → 🛑 ask "This is not a git repository. Run
git init?"- Yes:
git init→ show the first-commit candidates withgit status --short(suggest.gitignoreentries for dependencies, build output and secrets) → after approval, stage files by name and make the first commit with the message the user chooses →worktree. A worktree needs at least one commit. - No:
in-place: all workers share the folder; no branches, commits or merges. Read workspace-in-place.md.
- Yes:
1. Split the request
- Split the request into tasks with one completion criterion each. Split a sentence that holds several jobs; merge sentences that share one goal. If only one task results, don't use this skill: say so and do it in this session.
- Estimate each task's scope (files, modules, APIs, DB objects). If unclear, ask
devkit:code-readerand keep only its conclusion. - Decide what runs in parallel.
- Default: tasks whose files and modules don't overlap run in parallel.
- Exception: tasks that edit the same file or shared module, or where one uses the other's result (API, type, schema, DB object), are combined into one worker or ordered.
- A few-line task gets no worker; the central session does it in step 4 ("central-direct").
- Tasks on different files but the same feature flow (e.g. an auth filter and the login controller) are marked "integration check needed".
- The workspace file may tighten these rules; follow it.
- For each task, decide:
- Kind:
editif it changes code, DB objects or docs;readif it only investigates or answers. - slug: lowercase letters, digits and hyphens, 32 characters max. Used as the folder, branch and worker name.
- Agent:
claude(default) |codex|antigravity, or another agent id Orca knows. Model: optional, a model id for that agent. Change either only when the user names it; the launcher file says how each is started and which ones it supports. - Open points: choices the request doesn't settle (behavior, scope, naming).
- Any extra fields the workspace file adds.
- Kind:
- Run at most 3 workers at once unless the user sets another limit. Launch the rest as earlier ones finish.
- Decide once — screen check: whether to start a server and check the merged result in the browser, and where. "n/a" if there is no UI.
- If the repo has
.devkit/runtime.json, the central session starts it withdevkit:run-app(--repo <merge point>). Otherwise the user starts the server with their usual setup, at the location the workspace file gives. Get approval for any branch switch now. Workers never start servers. - Decide whether checks that write data (save, delete) are allowed. If so, list the targets and how to revert them. If not decided, screen checks only read and observe requests.
- If the repo has
- 🛑 Show a table: launcher · workspace (plus the items its file adds) · screen check (yes/no, location, write checks and how to revert) · per task: kind · slug · agent · model · scope · parallel/ordered/combined/central-direct · open points. Wait for approval only when there are open points, write checks, a branch switch or a
git init; get the answers to open points now, and unanswered ones go into the brief as "don't implement; report the options". Otherwise launch right after showing it.
2. Prepare workspaces → launch workers
- Prepare workspaces as the workspace file describes.
- Read worker-brief.md and fill it in (drop the lines for modes not in use).
- Launch workers as the launcher file describes. Launch the workers that run together at the same time.
- While workers run, the central session may do central-direct work that doesn't depend on the merge (investigation, checks).
3. Collect
- Wait for and receive reports as the launcher file describes. Never write up a worker's result before its report arrives.
- Don't trust reports alone: check the actual changes as the workspace file describes.
- If a worker asks for a lookup or a decision, the central session answers it through the launcher, or asks the user when it is the user's call.
- Instructions that change a task's scope need user approval first.
- Ordered tasks start after the earlier task finishes (the workspace file says exactly when).
- When every worker has reported, show a table per task: task · result (done / blocked / decision needed) · files changed · checks run · remaining work.
4. Commit, merge, check, clean up
Each step happens only after 🛑 user confirmation. Push only when asked separately.
- Commit, 2. Merge point, 3. Merge — worktree mode only; follow workspace-worktree.md. In in-place mode, go straight to 4-4.
- Integrated check — check the combined result once more, even if every worker's own checks passed.
- Scope: the changed-files list from the workspace file. Take check commands from the repo rules (
docs/rules/,CLAUDE.md); otherwise find candidates withpython3 -I "${CLAUDE_PLUGIN_ROOT}/skills/check/scripts/discover.py" <merge point>(same absolute-path rule). Pick lint, type, build and test for the changed parts (not just one of them), and list the commands — plus any dependency install they need — in this step's confirmation. No server starts and no autofix over whole files. - Run them through
devkit:check-runnerat the merge point (in-place:<repo>), passing the commands and the changed files; it never installs, so run an approved dependency install yourself first. Do central-direct tasks first. When the merge point is the main repo,worktrees/still holds the task copies until 4-7: if a test runner or linter would walk into it, pass its ignore option (or run at a merge worktree) and say so in the results. - A check too long for the agent runs in the background as the launcher file describes. Chain commands with
&&so failures show in the exit code, write output to a log file, and read the log's tail to confirm the check really ran. If it finished in seconds, first suspect a missing tool (command not foundin the log, exit code 127). - Trace each "integration check needed" flow through the code once more (e.g. where both tasks meet on one request path).
- Results table: merged tasks (branches) · checks run · result · checks not run and why. Record the result with
python3 -I "${CLAUDE_PLUGIN_ROOT}/skills/check/scripts/record_run.py" --repo <merge point> --line "<CHECKS: line>"(same absolute-path rule). The line isdevkit:check-runner's last line; for checks you ran yourself, form it by the Report rules in${CLAUDE_PLUGIN_ROOT}/agents/check-runner.md. Report theverdict:wordrecord_run.pyprints;PARTIALis never "passed". - On failure, stop and report the files and tasks involved. Fix as in 4-6. Roll back only on user request, as the workspace file describes.
- Scope: the changed-files list from the workspace file. Take check commands from the repo rules (
- Screen check — only if chosen in step 1. With
.devkit/runtime.json, rundevkit:run-app(--repo <merge point> up); a merge worktree gets its own ports, and a port held by another process is reported, not taken over. Stop it withdownafter 4-6's fixes are in, before 4-7. Without the config, the user starts the server:- Read screen-check.md for where the user starts it and how to confirm the server is the one from the merge point.
- For each task, decide in a table what to look at (screen behavior, requests, DB rows, logs), check it, and fill in the results in the same table.
- Run write checks only on the targets approved in step 1. Revert afterwards, confirm the original state with a read, and note it in the table.
- Fixes from checks (integrated check, screen check and final review alike; 🛑 after approval)
- Default: a fresh worker in the same work folder with the task's agent and model (launcher file), briefed with the original brief, decisions settled since, the prior report and a "Fix" section (the problem, the scope to fix, "report again the same way"); a resumed worker can drop later directives → check its report → in worktree mode, commit in its worktree and merge again → run the integrated check again.
- Exception: a fix of a few lines, or one spanning several tasks, is done by the central session itself at the merge point (in-place:
<repo>); in worktree mode, as a new commit.
- Clean up — only after the integrated check, the screen check (if any) and any final review the user added (
/code-reviewetc.) are finished and their fixes are in. Don't remove workspaces before then; fix workers run in them. Clean up workers as the launcher file describes, then workspaces as the workspace file describes.
Never
- Mark a worker's report "done" without checking it. If something wasn't verified, say so.
- Run
git initwithout user approval.
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.

