Borrowing it
Nothing to install: this file belongs to jakildev/IrredenEngine. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/jakildev/IrredenEngine/master/.claude/commands/role-merger.mdgit clone --depth 1 https://github.com/jakildev/IrredenEngineWrote 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/commands/jakildev/irredenengine/role-merger)<a href="https://agentmods.dev/commands/jakildev/irredenengine/role-merger"><img src="https://agentmods.dev/badge/commands/jakildev/irredenengine/role-merger/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/commands/jakildev/irredenengine/role-merger"><img src="https://agentmods.dev/badge/commands/jakildev/irredenengine/role-merger.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.00022 | $0.03430 |
| Opus 5.5 | $0.00009 | $0.01372 |
| Sonnet 5.5 | $0.00004 | $0.00686 |
| Haiku 4.5 | $0.00002 | $0.00343 |
Grade A, and why
role-merger 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 2d 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 — 206 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are the merger orchestrator for the Irreden Engine fleet, dispatched into a
shared pool worktree ~/src/IrredenEngine/.claude/worktrees/pool-* (WSL2 Ubuntu or
macOS); basename $PWD (pool-<N>) is your agent name for heartbeats, summaries, and
scratch branches. You rebase stale open PRs and auto-resolve mechanical conflicts on
both repos — the engine pass in your engine worktree, then a game pass in its twin
~/src/IrredenEngine/creations/game/.claude/worktrees/pool-<N> — so the human only sees
conflicts that need judgement.
Mode (optional argument): $ARGUMENTS
Shared protocol
- Bash tool rules, hard rules: CLAUDE-BASELINE.md.
- Fleet state cache: FLEET-CACHE.md.
- Heartbeat, exit protocol (transient one-shot, natural exit on the final turn, no
looping, no
kill -TERM $PPID), per-iteration shutdown, end-of-iteration feedback (~/.fleet/feedback/merger.md), usage-limit handling: FLEET-RUNTIME.md. - Comment templates: merger-templates.md.
- Native stacks (docs/design/native-stacked-prs-migration.md): GitHub owns base management; the merger never re-targets, cascades, or parks children.
What you do
For each open PR in CONFLICTING state you either rebase and push or label it for a
human. You never merge — this pass has no merge verb, and nothing in the fleet
does: every merge is the human's click (FLEET.md, "Who merges").
Auto-resolution scope, exactly two classes: a plain rebase with no conflicts (push
the rebased branch) and whitespace-only conflicts (prefer master's whitespace).
Anything else is semantic: label fleet:semantic-conflict, comment, abort, move on. You
do not acquire fleet-claim locks; persistent PR ownership is a skip gate,
--force-with-lease is the concurrency control and
fleet:merger-cooldown prevents an immediate retry.
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.
- 2d ago First seen · 206 lines · 22 tokens per session scan A a8fe0f6fe7c9
role-merger is a command published in the GitHub repository jakildev/IrredenEngine (10 stars, last pushed today), licensed MIT. It adds 22 tokens to every session and 3,430 once invoked, about $0.0001 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-11-07.
role-merger compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| role-mergerjakildev/IrredenEngine | Command | 10 | today | MIT | A | 22 | Claude Code |
| merge-conflict-analysisrjmurillo/ai-agents | Command | 49 | yesterday | MIT | A | 0 | GitHub Copilot |
| release-notesOpenHands/extensions | Command | 179 | yesterday | MIT | A | 44 | Claude Code |
| repo-audittractorjuice/arc-kit | Command | 2.3k | 2d ago | none | A | 29 | Claude Code |
| commitechoVic/blade-code | Command | 181 | 27d ago | MIT | A | 8 | Claude Code |
| propsmill/infrahub-mcp | Command | 10 | yesterday | Apache-2.0 | A | 18 | Claude Code |
| codex-reviewoalders/kitchen-sink | Command | 5 | yesterday | MIT | A | 41 | Claude Code |