aide-worktree-isolation SKILL.md skillA

aide-worktree-isolation from anonymousnomad/aide-sovereign-workbench is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add anonymousnomad/aide-sovereign-workbench/aide-worktree-isolation@git:20260902.7aab297

Pins git:20260902.7aab297 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
anonymousnomad/aide-sovereign-workbench
Path
skills/packs/aide-worktree-isolation/SKILL.md
Versions recorded
2
Latest version
git:20260902.7aab297, committed Sep 2, 2026
First version recorded
Aug 31, 2026
Size
11,567 bytes
Repository stars
53
License
Apache-2.0

The AIDE pattern for shadow-workspace isolation — when the user switches from plan to act, commit the current workspace to a shadow git branch, the agent operates on a worktree copy, and the changes merge back only on user approval. Use when implementing Cursor's shadow workspace, Replit's Worktree pattern, or Claude Code's "isolate sessions with worktrees" feature. Use when reviewing AIDE's plan-to-act transition, when designing subagent scratch dirs (composes with aide-subagent-dispatch), or…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Worktree Isolation — Shadow Git Workspaces, Approval-Gated Merge

Born 2026-08-31 from the wiring audit. AIDE's plan mode (A1, shipped) refuses non-read-only tools, but the moment the user switches to act, the agent writes to the real workspace with no rollback. Cursor, Claude Code, Cline, Windsurf, Replit all ship "shadow workspace" or "worktree isolation" patterns; AIDE doesn't. This skill IS the wire-in.

## Why this matters

- **Safety**: a runaway agent in act mode can corrupt the real workspace. The shadow branch is the rollback.
- **Review**: the user sees "these are the changes the agent wants to make" before they land. The diff between shadow HEAD and main HEAD is the proposed change.
- **Composability**: subagent scratch dirs (per `aide-subagent-dispatch`) inherit this pattern. Each subagent is its own worktree.
- **No-Brick-Wall**: even if the agent gets stuck, the user can `git diff` the shadow branch and roll back in one command.

## The AIDE worktree contract (3 hard rules)
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add anonymousnomad/aide-sovereign-workbench/aide-worktree-isolation@sha256:623581bded3ea632

The line at the top of this page pins the label git:20260902.7aab297, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_g2gwkz53ghizuj23.svg)](https://markdownregistry.com/a/art_g2gwkz53ghizuj23)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between Aug 31, 2026 and Sep 2, 2026, about one every 2 days.

versioncommittedcommitsizeaudit
git:20260902.7aab297 latest2026-09-02 7aab297 11,567 BA view · diff
git:20260831.f6a8b8a2026-08-31 f6a8b8a 10,572 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (11567 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

anonymousnomad/aide-sovereign-workbench · 53 stars · license Apache-2.0 · pushed 2026-10-26 · branch covert-production

API

GET https://markdownregistry.com/api/v1/artifacts/art_g2gwkz53ghizuj23
GET https://markdownregistry.com/api/v1/resolve?ref=anonymousnomad/aide-sovereign-workbench/aide-worktree-isolation
GET https://markdownregistry.com/api/v1/blob/623581bded3ea632713483d38839ec7aae4d6546c3d66b23b6a369596064979a

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from anonymousnomad/aide-sovereign-workbench

AGENTS.md AGENTS.md file
anonymousnomad/aide-sovereign-workbench · AGENTS.md
git:20260911.2b7569f · audit A · 53 stars
audit-probe-discipline SKILL.md skill
anonymousnomad/aide-sovereign-workbench · docs/phase0/skills/audit-probe-discipline/SKILL.md · Local Phase-0 diagnostic procedure for quoting, stale runner references, and restricted Windows inventory queries.
git:20260912.9e65c9f · audit A · 53 stars
llms.txt llms.txt file
anonymousnomad/aide-sovereign-workbench · llms.txt
git:20260916.e7b3bfe · audit A · 53 stars
PC management SKILL.md skill
anonymousnomad/aide-sovereign-workbench · skills/packs/PC management/SKILL.md · Owner's manual for THIS machine (ASUS GL703GM — i7-8750H / GTX 1060 / 16GB RAM / 120Hz). Use whenever helping with…
git:20260823.df7cbde · audit A · 53 stars
adapter-serve-routing SKILL.md skill
anonymousnomad/aide-sovereign-workbench · skills/packs/adapter-serve-routing/SKILL.md · Define and verify deterministic format-conditional adapter routing at inference. Use whenever a shared base model…
git:20260823.df7cbde · audit A · 53 stars
agent-notes SKILL.md skill
anonymousnomad/aide-sovereign-workbench · skills/packs/agent-notes/SKILL.md · Agent Persistence System — the mandatory project journal. Use at the START of every session and every context…
git:20260823.df7cbde · audit A · 53 stars
aid-capability-battery-thinking-models SKILL.md skill
anonymousnomad/aide-sovereign-workbench · skills/packs/aid-capability-battery-thinking-models/SKILL.md
git:20260908.e9ac98d · audit C · 53 stars
aid-cipher-4b-fine-tune-pipeline SKILL.md skill
anonymousnomad/aide-sovereign-workbench · skills/packs/aid-cipher-4b-fine-tune-pipeline/SKILL.md · End-to-end recipe for fine-tuning the AIDE in-house cipher-4b model: fix the broken venv, install the ML stack…
git:20260908.e9ac98d · audit B · 53 stars
aid-closed-loop-on-by-default SKILL.md skill
anonymousnomad/aide-sovereign-workbench · skills/packs/aid-closed-loop-on-by-default/SKILL.md · Wire AIDE's self-improvement loop (`scripts/selfimprove.mjs`) into the daemon lifecycle so it runs continuously, not…
git:20260908.e9ac98d · audit A · 53 stars
aid-closed-loop-self-improvement SKILL.md skill
anonymousnomad/aide-sovereign-workbench · skills/packs/aid-closed-loop-self-improvement/SKILL.md
git:20260908.e9ac98d · audit C · 53 stars
aid-dap-real-debugpy-fixture SKILL.md skill
anonymousnomad/aide-sovereign-workbench · skills/packs/aid-dap-real-debugpy-fixture/SKILL.md · Wire in a REAL debugpy fixture for the AIDE DAP test batteries. The tests/arch/dap-contract.test.ts and…
git:20260908.e9ac98d · audit A · 53 stars
aid-double-check-everything SKILL.md skill
anonymousnomad/aide-sovereign-workbench · skills/packs/aid-double-check-everything/SKILL.md
git:20260908.e9ac98d · audit C · 53 stars

Every file in anonymousnomad/aide-sovereign-workbench

Browse by kind, by grade A, or by owner.