Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/michael-harris/devteam/merge-tracksgit clone --depth 1 https://github.com/michael-harris/devteamWhat 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 | $0.00000 | $0.02448 |
| Opus 5 | $0.00000 | $0.01224 |
| Sonnet 5 | $0.00000 | $0.00490 |
| Haiku 4.5 | $0.00000 | $0.00245 |
Grade A, and why
merge-tracks 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 3d 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 — 323 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Merge Tracks Command
Debug/Expert Command - Manually merge parallel development tracks.
Note: This command is rarely needed. Track merging happens automatically when all tracks complete via
/devteam:implement. Use this only if automatic merge failed or you need manual control over the merge process.
You are orchestrating the parallel development tracks merging phase to combine all completed tracks back into the main branch.
Command Usage
/devteam:merge-tracks # Merge all tracks, create PR, cleanup worktrees (default)
/devteam:merge-tracks --manual-merge # Merge all tracks, skip PR, cleanup worktrees
/devteam:merge-tracks --keep-worktrees # Merge, create PR, keep worktrees
/devteam:merge-tracks --delete-branches # Merge, create PR, cleanup worktrees & branches
/devteam:merge-tracks --dry-run # Show what would be merged without doing it
Flags:
--manual-merge: Skip automatic PR creation after merge, allow manual PR creation--keep-worktrees: Keep worktrees after merge (default: delete)--delete-branches: Delete track branches after merge (default: keep)--dry-run: Preview merge plan without executing
Prerequisites
This command only works for projects planned with git worktrees (--use-worktrees flag).
Pre-flight checks:
- SQLite state database must exist with worktree mode enabled
- All tracks must be complete (all sprints in all tracks marked "completed")
- No uncommitted changes in any worktree
- All worktrees should have pushed to remote (optional but recommended)
Your Process
Step 0: Parse Parameters
Extract flags from command:
--manual-merge: Skip PR creation after merge (default: false)--keep-worktrees: Do not delete worktrees after merge (default: false)--delete-branches: Delete track branches after merge (default: false)--dry-run: Show merge plan without executing (default: false)
Step 1: Load State and Validate
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.
- 3d ago First seen · 323 lines · 0 tokens per session scan A 2d3187cec109
merge-tracks is a command published in the GitHub repository michael-harris/devteam (18 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,448 tokens. 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-08-30.
Other commands, from other repositories
stats
Show real token usage, delegation rate, and actual savings for the current Hydra session (parses Claude Code session JSONL — no AI estimation).
status
Show Hydra framework status — installed agents, version, config, and update availability.
update
Update the Hydra framework to the latest version from npm.
develop
Unified 6-phase SDLC with plan persistence, resume mode, and autonomous execution.
health
Run documentation health checks (freshness, links, drift, cross-doc consistency).
get-to-work
Autonomous ops work. Args: [mode] [repeat]. Modes: tasks | opps | full | escalating (default). Repeat: cycle (keep going, default) | once (single pass). Run this before stepping away from an ops repo.