multi-worktree-dev

multi-worktree-dev is a skill for Claude Code, Codex from addxai/enterprise-harness-engineering. It costs 82 tokens per session (5,983 once invoked), scanned A, original, Apache-2.0.

A design and implementation guide for using several Git worktrees, which are separate working folders for different branches, at the same time.

In plain words
What is it for?
Use it to set up concurrent development and testing environments with automatic port assignment, branch isolation, shared-service rules, and hot reloading.
Why use it?
It helps developers work on branches in parallel without manually reconfiguring environments, colliding over ports, or disrupting shared services.

Skill for Claude CodeCodex

Part of the enterprise-harness-engineering plugin — 25 skills shipped together

Install

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.

agentmods
npx agentmods add skills/addxai/enterprise-harness-engineering/multi-worktree-dev
Any agent
npx skills add addxai/enterprise-harness-engineering --skill multi-worktree-dev
Clone the repo
git clone --depth 1 https://github.com/addxai/enterprise-harness-engineering

Made for: Claude Code, Codex.

Or install enterprise-harness-engineering, the plugin that ships this one along with the rest of its 25 skills.

Wrote 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.

agentmods badge for multi-worktree-dev

README.md
[![agentmods](https://agentmods.dev/badge/skills/addxai/enterprise-harness-engineering/multi-worktree-dev.svg)](https://agentmods.dev/skills/addxai/enterprise-harness-engineering/multi-worktree-dev)
Your own site
<a href="https://agentmods.dev/skills/addxai/enterprise-harness-engineering/multi-worktree-dev"><img src="https://agentmods.dev/badge/skills/addxai/enterprise-harness-engineering/multi-worktree-dev.svg" alt="Measured on agentmods" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,983 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00082 $0.05983
Opus 5 $0.00041 $0.02991
Sonnet 5 $0.00016 $0.01197
Haiku 4.5 $0.00008 $0.00598

Measured 4d ago against content hash 0fcf2ef464d3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

multi-worktree-dev scanned grade A with 1 finding 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 4d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sf --max-time 3 "$url" >/dev/null 2>&1 \
skills/multi-worktree-dev/SKILL.md · 514 lines

How it starts

The opening of the file, as written. The whole thing — 514 lines — stays where its author put it; the contents beside it link to each section on GitHub.

multi-worktree-dev

Handbook for designing and deploying parallel multi-worktree development environments — helps teams define a layered environment strategy that supports concurrent worktree development, parallel testing, and stable shared infrastructure.

Core Design Goals

Goal Specific Design
Zero complexity Creating a new worktree requires no manual configuration — make dev handles all setup automatically
Parallel safety Tests across multiple worktrees run fully in parallel without blocking each other
Shared channel exclusivity Singleton channels like Feishu WS are held by only one worktree at a time
Instant layer switching Layer 1 stays running; switching worktrees only requires starting L2/L3
Zero port conflicts Ports are assigned via automatic hash offset; developers never need to manually edit configuration
Smooth development Layer 3 is fully hot-reloaded; code changes require no process restart

Description

This Skill covers designing a local environment system from scratch that supports parallel multi-branch development. The core idea is the following three-layer separation structure:

Layer Description Lifecycle
Layer 1 — Global Shared Infra Database, cache, message queue (Kafka/RabbitMQ), LLM proxy, and other heavyweight services Always running, shared across all branches
Layer 2 — Worktree-Exclusive Infra Services that require isolation (e.g., Temporal, secret store) Started/stopped with the worktree
Layer 3 — Host Processes Application services (API, Worker, frontend) Hot-reloaded, run directly on the host machine

Rules

Rule 0 — Scan the codebase first; auto-discover services

Read the full file on GitHub · 514 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 4d ago First seen · 514 lines · 82 tokens per session scan A 0fcf2ef464d3

Subscribe to this mod's changes

multi-worktree-dev is a skill published in the GitHub repository addxai/enterprise-harness-engineering (44 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 82 tokens to every session and 5,983 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

peon-ping-create-pack

Internal — invoked headlessly by peon create; humans should run peon create instead. Author and render a brand-new PeonPing draft pack — invoked headlessly as: "Use the peon-ping-create-pack skill to draft a pack: name= flavor= vibe= draftroot= . Follow the skill exactly." Authors all 7 CESP categories honoring the…

PeonPing/peon-ping · 134 tokens

peon-ping-config

Update peon-ping configuration — volume, pack rotation, categories, active pack, and other settings. Use when user wants to change peon-ping settings like volume, enable round-robin, add packs to rotation, toggle sound categories, or adjust any config.

PeonPing/peon-ping · 60 tokens

peon-ping-use

Set which voice pack (character voice) plays for the current chat session. Automatically enables sessionoverride rotation mode if not already set. Use when user wants a specific character voice like GLaDOS, Peon, or Kerrigan for this conversation.

PeonPing/peon-ping · 55 tokens

peon-ping-rename

Rename the current Claude session for peon-ping notifications and terminal tab title. Use when user wants to give this session a custom name like "/peon-ping-rename Auth Refactor". Call with no argument to reset to auto-detect.

PeonPing/peon-ping · 57 tokens

peon-ping-toggle

Toggle peon-ping sound notifications on/off. Use when user wants to mute, unmute, pause, or resume peon sounds during a Claude Code session. Also handles config changes like volume, pack rotation, categories — any peon-ping setting.

PeonPing/peon-ping · 58 tokens

peon-ping-log

Log exercise reps for the Peon Trainer. Use when user says they did pushups, squats, or wants to log reps. Examples - "/peon-ping-log 25 pushups", "/peon-ping-log 30 squats", "log 50 pushups".

PeonPing/peon-ping · 64 tokens