parallel-work
Skill0 starsChanged 17 days agoApache-2.0View on GitHub
Safe git hygiene when several agents or sessions share one repository: branch from the remote base in your own worktree, never stash/clean/reset a shared tree, stage explicit paths, re-check branch and staged diff before every commit, and clean up only your own artifacts. Use before any multi-session or multi-agent work, or whenever another session might be editing.
- Deletes or force-pushes
- Commits and pushes
7 other projects use a version of this.
Adopted by
Most recently taken up by
- Destrayon/Connapsetheir own version, first seen Nov 7, 2026
- Tcuzzo/backs-aios-skillstheir own version, first seen Nov 3, 2026
- aprameyak/coding-skillstheir own version, first seen Oct 2, 2026
- joris887/exosuittheir own version, first seen Aug 20, 2026
- gabrieldabbah/genesistheir own version, first seen Jul 28, 2026
- nfeuer/project-foundation-kittheir own version, first seen Jul 5, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- Destrayon/Connapse★ 22same name
- joris887/exosuit★ 9same name
- gabrieldabbah/genesis★ 4same name
- Tcuzzo/backs-aios-skills★ 2same name
- aleiby/claude-skills★ 1same name
- aprameyak/coding-skills★ 1same 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 repository15 other files it gives its agents.
- ai-exchangeSkill
- cleanupSkill
- design-reviewSkill
- evidence-rulesSkill
- gradeSkill
- live-ai-checkSkill
- mine-skillsSkill
- open-prSkill
- plan-tasksSkill
- releaseSkill
- review-changeSkill
- ship-changeSkill
- skill-evalSkill
- test-necessitySkill
- write-specSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 6 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
6
Distinctive
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
- Distinctive: line 19
Never git checkout -b in the shared checkout.
- Distinctive: line 21
If git worktree add says the branch already exists, another session has probably claimed it.
- Very specific: line 26
Every worktree sees $(git rev-parse --git-common-dir)/hyvemind-queue.md.
- Distinctive: line 36
Never: run git stash, git clean, git reset --hard, or delete a branch you didn't create, in a tree others use.
- Distinctive: line 39
Before every commit, check git branch --show-current and git diff --cached.
- Distinctive: line 43
Commit and push to a branch to preserve work.
- Distinctive: line 44
Don't run two heavy test suites at the same time on one machine.
- Very specific: line 56
Remove a branch or worktree only after proving it landed: after git fetch, git merge-base --is-ancestor <branch> origin/<base> exits 0, or …
“Common” is measured: kept by at least 6 in 10 of the 6 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 work
Assume another session is editing this checkout right now.
Start
git fetch origin
git worktree add ../<repo>-<task> -b <branch> origin/main # from the REMOTE base, not local main
cd ../<repo>-<task> && <install dependencies for real> # don't symlink node_modules- Branch from
origin/<base>. Localmainfalls behind constantly. - Never
git checkout -bin the shared checkout. It moves the working tree out from under other sessions. - If
git worktree addsays the branch already exists, another session has probably claimed it. Pick a new name; don't adopt it.
Shared queue (advisory)
Every worktree sees $(git rev-parse --git-common-dir)/hyvemind-queue.md. Claim
your work there in one line (branch, area, session, date); edit only your own lines.
- Reconcile it before trusting it:
git ls-remote --heads originand PR state. A claim whose branch is merged or gone is stale. - It is advisory. Never impose a hold or freeze on another session; on overlap, tell the user.
While working
- Never run
git stash,git clean,git reset --hard, or delete a branch you didn't create, in a tree others use. Before discarding anything, diff it against the remote. If it differs, it is someone's unpushed work. - Before every commit, check
git branch --show-currentandgit diff --cached. A parallel checkout can move you, and a parallel write can land between add and commit. - Stage explicit paths only.
- Commit and push to a branch to preserve work. Don't rely on stash.
- Don't run two heavy test suites at the same time on one machine. Worker starvation produces failures that look real and aren't.
Fan-out to subagents
- Give each subagent its own worktree and a task with no file overlap with the others.
- Give each one only what it needs: the spec, its task, the files, and the exit check.
- Review each result against the spec yourself before merging it into your branch.
Finish
Remove a branch or worktree only after proving it landed: after git fetch,
git merge-base --is-ancestor <branch> origin/<base> exits 0, or (for squash or
rebase merges) git cherry origin/<base> <branch> shows no + lines. "The PR says
merged" is not proof. Then remove your own worktrees, branches, queue lines,
background processes and temp files (git worktree remove, git push origin
--delete <branch>). Never remove anything you didn't create.
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.

