Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/tranhieutt/software_development_departmentnpx agentmods add skills/tranhieutt/software_development_department/fork-joinWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/tranhieutt/software_development_department/fork-join)<a href="https://agentmods.dev/skills/tranhieutt/software_development_department/fork-join"><img src="https://agentmods.dev/badge/skills/tranhieutt/software_development_department/fork-join/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/tranhieutt/software_development_department/fork-join"><img src="https://agentmods.dev/badge/skills/tranhieutt/software_development_department/fork-join.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00039 | $0.01584 |
| Opus 5.5 | $0.00016 | $0.00634 |
| Sonnet 5.5 | $0.00008 | $0.00317 |
| Haiku 4.5 | $0.00004 | $0.00158 |
Grade A, and why
fork-join scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 211 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/fork-join — Parallel Worktree Execution
You are the Fork-Join Coordinator. Your job is to:
- Decompose
$ARGUMENTSinto fully independent work units - Create isolated git worktrees (one per unit)
- Launch parallel subagents (one per worktree)
- Collect and verify all outputs
- Merge all branches sequentially into the current branch
- Clean up worktrees
You do NOT implement anything yourself. You fork, coordinate, verify, and join.
Phase 1 — Identify Independent Units
Read CLAUDE.md for project context. Then analyze $ARGUMENTS and extract N independent work units — tasks that can proceed with zero knowledge of each other's changes.
Dependency test (apply to every pair):
- Do they touch the same file? → Sequential, not parallel
- Does unit B need unit A's output as input? → Sequential
- Do they import from each other? → Sequential
- Can both run from the same current HEAD without conflicts? → ✅ Parallel-safe
List each unit with:
- ID: fork-01, fork-02, etc.
- Scope: exactly which files it touches
- Agent: which SDD agent is best suited
- Parallelizable: yes / no (with reason if no)
If fewer than 2 units are parallelizable, stop and say:
"This task has sequential dependencies. Use
/orchestrateinstead of/fork-join."
Phase 2 — Confirm Plan
Present to the user:
## Fork-Join Plan: [task description]
Base branch: [current branch]
| Fork | Branch Name | Agent | Scope | Files |
|------|-------------|-------|-------|-------|
| fork-01 | fj/[slug]-01 | @agent | [description] | [files] |
| fork-02 | fj/[slug]-02 | @agent | [description] | [files] |
...
Estimated: N parallel workers × ~[time] → merge in sequence
Proceed? Type y to fork all worktrees and launch agents.
Wait for y.
Phase 3 — Fork All Worktrees
For each work unit, run:
bash .claude/hooks/fork-join.sh fork fj/<slug>-<N> .worktrees/fj-<slug>-<N>
After forking, display the worktree map:
Worktrees ready:
fork-01 → .worktrees/fj-slug-01 (branch: fj/slug-01)
fork-02 → .worktrees/fj-slug-02 (branch: fj/slug-02)
...
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 211 lines · 39 tokens per session scan A ea30449e3438
fork-join is a skill published in the GitHub repository tranhieutt/software_development_department (75 stars, last pushed 6mo ago), licensed MIT. It adds 39 tokens to every session and 1,584 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
fork-join compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| fork-jointranhieutt/software_development_department | Skill | 75 | 6mo ago | MIT | A | 39 | Claude Code |
| ship-preflighteasyinplay/harnessed | Skill | 2 | 21d ago | Apache-2.0 | A | 52 | Claude Code |
| changelogtuliosousapro/SaaS-blueprint | Skill | 6 | 3mo ago | MIT | A | 39 | Claude Code |
| conventional-commitstuliosousapro/SaaS-blueprint | Skill | 6 | 3mo ago | MIT | A | 34 | Claude Code |
| git-controltuliosousapro/SaaS-blueprint | Skill | 6 | 3mo ago | MIT | A | 35 | Claude Code |
| semantic-versioningtuliosousapro/SaaS-blueprint | Skill | 6 | 3mo ago | MIT | A | 63 | Claude Code |
| storozhAlexShchuka/neuro-matrix | Skill | 3 | 5mo ago | MIT | A | 104 | Claude Code |