agent-isolation

agent-isolation is a skill for Claude Code from vmobifystudio/app-dev-team. It costs 58 tokens per session (1,172 once invoked), scanned A, original, MIT.

A workflow for giving each coding agent its own Git worktree, which is a separate working copy of a repository. It also controls which files an agent can stage and checks that its changes were committed.

In plain words
What is it for?
It helps coordinate parallel coding agents, isolate their changes, and prevent unrelated files from entering a commit.
Why use it?
Multiple agents editing one folder can accidentally mix their work or overwrite each other. Separate worktrees make ownership and commits easier to verify.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the app-dev-team plugin — 26 skills, 21 commands, 29 agents, 2 hooks shipped together

Good fit It helps coordinate parallel coding agents, isolate their changes, and prevent unrelated files from entering a commit.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vmobifystudio/app-dev-team/agent-isolation
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.

Any agent
npx skills add vmobifystudio/app-dev-team --skill agent-isolation
Clone the repo
git clone --depth 1 https://github.com/vmobifystudio/app-dev-team

Made for: Claude Code.

Or install app-dev-team, the plugin that ships this one along with the rest of its 26 skills, 21 commands, 29 agents, 2 hooks.

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 agent-isolation

README.md
[![agentmods](https://agentmods.dev/badge/skills/vmobifystudio/app-dev-team/agent-isolation/github.svg)](https://agentmods.dev/skills/vmobifystudio/app-dev-team/agent-isolation)
Your own site
<a href="https://agentmods.dev/skills/vmobifystudio/app-dev-team/agent-isolation"><img src="https://agentmods.dev/badge/skills/vmobifystudio/app-dev-team/agent-isolation/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.

agentmods 80×15 button for agent-isolation

Your own site · 80×15
<a href="https://agentmods.dev/skills/vmobifystudio/app-dev-team/agent-isolation"><img src="https://agentmods.dev/badge/skills/vmobifystudio/app-dev-team/agent-isolation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,172 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00058 $0.01172
Opus 5.5 $0.00023 $0.00469
Sonnet 5.5 $0.00012 $0.00234
Haiku 4.5 $0.00006 $0.00117

Measured 10d ago against content hash a605c7e951a8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agent-isolation 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 10d 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.

skills/agent-isolation/SKILL.md · 96 lines

How it starts

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

Agent isolation

Parallel agents that share one working tree corrupt each other, silently: every agent reports DONE, the tests pass, and the review reads a diff that contains someone else's changes. A read-only agent is not exempt — one git add -A ships whatever another agent left in the tree.

Everything below applies to every agent. The spawning half (leases, the spawn-gate.sh check, reaping, which shared-tree writes are safe, a project that cannot use worktrees) is references/orchestrator.md — the /app-build loop already runs its commands, so read it only when one of those questions comes up.

Rule 1 — work only in the worktree you were given

Your spawn prompt names your worktree (.agent-wt/<owner>-<n>). It is your project root; never leave it. Before you write anything, cut the ticket's branch from the integration branch the prompt names: git checkout -b feat/APP-NNN-short-slug <integration branch> (a QA- ticket: the qa/QA-<sprint>-w<n> branch the prompt prints). Given no worktree? Say so in your first line, branch in the repo root, and treat Rule 5 as live.

Shared-tree files are the exception, and only these: your review verdict (docs/53-reviews/APP-NNN-cycle-N.md, unique per ticket and cycle) and the append-only logs written through their CLI. docs/31-board.md is generated, CLI-only — never edit it; board.mjs move is its only writer.

Rule 2 — never stage blindly, and never run a repo-wide destructive command

Banned, without exception:

git add -A        git add .        git add --all        git commit -a
git reset         git stash        git checkout -- .    git clean

The top row attributes someone else's work to your ticket. The bottom row destroys it, and none of those can be undone from inside your run — one git stash + git reset for "a clean tree" once discarded 22 files of another agent's live work.

If you need a clean tree to test, copy the repo to a temp dir and dirty that — cp -R . "$TMP", or git worktree add a scratch worktree. Never clean the tree you are standing in.

Read the full file on GitHub · 96 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. 10d ago Changed · -128 lines · -24 tokens per session a605c7e951a8
  2. 2mo ago First seen · 224 lines · 82 tokens per session scan A 48f54352abc4

Subscribe to this mod's changes

agent-isolation is a skill published in the GitHub repository vmobifystudio/app-dev-team (5 stars, last pushed 6d ago), licensed MIT. It adds 58 tokens to every session and 1,172 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.

Related

agent-isolation compared with skills from other repositories

agent-isolation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agent-isolationvmobifystudio/app-dev-teamSkill56d agoMITA58Claude Code
agentic-jujutsuruvnet/rufloSkill83ktodayMITA26Claude Code
github-pr-workflowpaperclipai/paperclipSkill118kyesterdayMITA39Claude Code, Codex
github-automationruvnet/rufloSkill83ktodayMITA61Claude Code
autopilot-commitstrzhao/autopilotSkill338d agoMITA24Claude Code
commitJotJunior/cstkSkill24todayMITA51Claude Code
session-startKanevry/session-orchestratorSkill535d agoMITA84Claude Code