worktree-isolation

worktree-isolation is a skill for Claude Code, Codex from Insajin/autopus-adk. It costs 15 tokens per session (1,716 once invoked), scanned A, original, MIT.

A worktree-isolation guide for running independent coding-agent tasks in separate Git worktrees. A worktree is another working copy of a Git repository, allowing parallel changes without collisions.

In plain words
What is it for?
Use it when dispatching parallel tasks that write to separate parts of a Git project.
Why use it?
It defines when isolation is safe and prevents agents from interfering with each other's files or branches.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when dispatching parallel tasks that write to separate parts of a Git project.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/insajin/autopus-adk/worktree-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 Insajin/autopus-adk --skill worktree-isolation
Clone the repo
git clone --depth 1 https://github.com/Insajin/autopus-adk

Made for: Claude Code, Codex.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/insajin/autopus-adk/worktree-isolation"><img src="https://agentmods.dev/badge/skills/insajin/autopus-adk/worktree-isolation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,716 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00015 $0.01716
Opus 5.5 $0.00006 $0.00686
Sonnet 5.5 $0.00003 $0.00343
Haiku 4.5 $0.00002 $0.00172

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

Security

Grade A, and why

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

.omp/skills/worktree-isolation/SKILL.md · 143 lines

How it starts

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

OMP Native Task Isolation

This skill defines isolation policy for Autopus executor fan-out on OMP. The native task tool owns workspace materialization, patch/branch integration, and cleanup.

Activation

Use per-item isolation only when all conditions hold:

  • the current dynamic task schema exposes isolated;
  • OMP settings enable a non-none isolation mode;
  • the project is a git repository;
  • the item writes files;
  • ownership is disjoint from every concurrent item.

Do not request isolation for --solo, read-only work, overlapping ownership, shared migration numbering, or an environment where the field is absent. Missing required isolation is a blocker, not permission to imitate it with shell commands.

Native Dispatch Contract

Inspect the current dynamic schema before each wave. When it exposes batch mode, dispatch independent isolated work in one batch with top-level i and shared context. Each item uses a unique stable name, a discovered custom role when needed, a complete assignment, the discovered isolation field enabled, the strict five-field receipt schema, and schemaMode: strict. When batch mode is absent, dispatch the corresponding flat calls and reference one shared local:// context.

The parent must check dynamic availability before adding isolated or effort. isolated does not exist when task.isolation.mode = none, and effort does not exist when its setting is off. Omit either unsupported field rather than sending it from a static example.

Ownership Preflight

Before fan-out:

  1. normalize every owned and forbidden path to a project-relative path;
  2. reject absolute paths, traversal, symlinks, nested ownership, and ambiguous globs;
  3. detect exact overlap and directory-prefix containment;
  4. serialize tasks that share a generated artifact, migration directory, package manifest, lockfile, schema registry, or other mutable authority;
  5. put cross-task interfaces in top-level context before dispatch.

A maximum of five Autopus executor items may be active in one wave. Queue overflow by task id. This policy is stricter than OMP's session-wide semaphore and prevents excessive integration churn.

Read the full file on GitHub · 143 lines

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. 2mo ago First seen · 143 lines · 15 tokens per session scan A 5e00e9247daa

Subscribe to this mod's changes

worktree-isolation is a skill published in the GitHub repository Insajin/autopus-adk (111 stars, last pushed 1mo ago), licensed MIT. It adds 15 tokens to every session and 1,716 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-09-03.

Related

worktree-isolation compared with skills from other repositories

worktree-isolation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
worktree-isolationInsajin/autopus-adkSkill1111mo agoMITA15Claude Code, Codex
agent-framework-py-releasemicrosoft/agent-frameworkSkill15kyesterdayMITA102Claude Code, Codex
ghbubbuild/bubSkill1.7kyesterdayApache-2.0A96Claude Code, Codex
git-workflowericrisco/rsc-harnessSkill5032d agoMITA127Claude Code, Codex
ship-itBlackBeltTechnology/pi-agent-dashboardSkill3412d agoMITA92Claude Code, Codex
release-cutBlackBeltTechnology/pi-agent-dashboardSkill3412d agoMITA93Claude Code, Codex
release-revokeBlackBeltTechnology/pi-agent-dashboardSkill3412d agoMITA85Claude Code, Codex