worktree SKILL.md skillA

worktree from shibing624/agentica is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add shibing624/agentica/worktree@v2.1

Pins v2.1 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
shibing624/agentica
Path
agentica/skills/bundled/worktree/SKILL.md
Versions recorded
5
Latest version
v2.1, committed Sep 19, 2026
First version recorded
Sep 4, 2026
Size
2,466 bytes
Repository stars
359
License
Apache-2.0

Isolate parallel work in a git worktree of the current repository (worktree tool: status / new / merge / remove). Use when another live session is dirty in the same directory (list_agents), when two agents would fight over index.lock, or when starting a parallel task checkout.

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

# Isolate work in a worktree

Several sessions in one checkout overwrite each other and contend for git's
index. A worktree is one directory + one branch per *task*, sharing the
repository.

This session does **not** move. `worktree(action="new")` returns a path.
Pass that path as `work_dir` on `read_file` / `write_file` / `apply_patch` /
`execute`. On `glob` / `grep`, pass it as `path`. Omit those arguments and
the call stays in this session's directory.

Do not `cd` and expect later calls to follow — each call is independent.
Do not `execute` `git worktree add`: that only makes a directory, and later
calls still use this session unless you pass `work_dir` / `path`. Use
`worktree(action="new")`.

## When

- `list_agents` shows another session in this directory (dirty files, same
  branch) and you are about to edit.
- A change should not land on the shared working tree.

Not this: a read-only `task` subagent (it does not write). A second CLI
that should start already inside a tree is `agentica --worktree <task>`.

## How

Name the *task*, not yourself. Reused while the checkout is healthy; gone
after merge. A registration that is no longer a checkout is refused — remove
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add shibing624/agentica/worktree@sha256:eb4bcaff37b13377

The line at the top of this page pins the label v2.1, 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_okndzd2u3xsmvuco.svg)](https://markdownregistry.com/a/art_okndzd2u3xsmvuco)

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

Versions

The registry has recorded 5 versions of this file, between Sep 4, 2026 and Sep 19, 2026, about one every 4 days.

versioncommittedcommitsizeaudit
v2.1 latest2026-09-19 af79c64 2,466 BA view · diff
v2.02026-09-19 ba5541d 2,294 BA view · diff
v1.02026-09-18 f879379 2,847 BA view · diff
v1.02026-09-18 f8a4ec7 2,697 BA view · diff
v1.02026-09-04 9eb61dc 1,965 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 (2466 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

shibing624/agentica · 359 stars · license Apache-2.0 · pushed 2026-11-01 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_okndzd2u3xsmvuco
GET https://markdownregistry.com/api/v1/resolve?ref=shibing624/agentica/worktree
GET https://markdownregistry.com/api/v1/blob/eb4bcaff37b1337782556e1bed1d2e9f6ce62d485c61ae261da47657fe918b3a

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 shibing624/agentica

agentica SKILL.md skill
shibing624/agentica · agentica/skills/bundled/agentica/SKILL.md · How to answer questions about the agentica product you are running inside — CLI flags, config.yaml profiles, API keys…
v1.0 · audit A · 359 stars
cron SKILL.md skill
shibing624/agentica · agentica/skills/bundled/cron/SKILL.md · Schedule, list, pause, resume, edit, or run the user's agentica cron jobs with the cronjob tool. Use when asked to…
v1.0 · audit A · 359 stars
long-running-jobs SKILL.md skill
shibing624/agentica · agentica/skills/bundled/long-running-jobs/SKILL.md · Run work that outlives a session (hours of training, a server, a remote queue) with tmux/nohup/setsid and a background…
v1.0 · audit A · 359 stars
multi-agent SKILL.md skill
shibing624/agentica · agentica/skills/bundled/multi-agent/SKILL.md · Run work across more than one agent — the task subagent, the delegate tool, background commands, and the user's other…
v2.0 · audit A · 359 stars
python-lib-analyzer SKILL.md skill
shibing624/agentica · examples/data/skills/python-lib-analyzer/SKILL.md · Analyze any Python library structure, explore modules, classes, and functions with signatures and documentation.
v1.0 · audit A · 359 stars
web-research SKILL.md skill
shibing624/agentica · examples/data/skills/web-research/SKILL.md · Use this skill for requests related to web research; it provides a structured approach to conducting comprehensive web…
git:20260206.d8f7d1a · audit A · 359 stars

Every file in shibing624/agentica

Other files named worktree

worktree SKILL.md skill
imran31415/kube-coder · .claude/skills/worktree/SKILL.md · Create an isolated git worktree + branch + port for this session so concurrent kube-coder sessions and builds don't…
git:20260926.e57a6cf · audit A · 401 stars
worktree SKILL.md skill
oprogramadorreal/optimus-claude · skills/worktree/SKILL.md · Creates a git worktree for isolated parallel development — new branch in a separate directory with project setup and…
git:20260924.6e7f925 · audit B · 75 stars
worktree SKILL.md skill
jantichy/claude · skills/worktree/SKILL.md · Skill se použije, když uživatel zadá "/worktree", "/worktree enable", "/worktree disable", "/worktree status", nebo…
git:20261007.55ccadb · audit A · 45 stars
worktree SKILL.md skill
outlinedriven/odin-claude-plugin · plugins/odin-git/skills/worktree/SKILL.md · Use when work needs an isolated git worktree: new work, an existing ref, a gated feature workspace, a manifest-tracked…
git:20260912.eaa5f2e · audit A · 40 stars
worktree SKILL.md skill
hidorakai002/ai-workspace-archive · ai_agent_frameworks/major_frameworks/AutoGPT/.claude/skills/worktree/SKILL.md · Set up a new git worktree for parallel development. Creates the worktree, copies .env files, installs dependencies, and…
v3.0.0 · audit A · 38 stars
worktree SKILL.md skill
byerlikaya/claude-starter-kit · kit/skills/worktree/SKILL.md · Isolate risky or parallel file-mutating work in a git worktree so the main tree's uncommitted changes are…
git:20260926.aaa5dbc · audit A · 26 stars
worktree SKILL.md skill
byerlikaya/claude-starter-kit · plugin/skills/worktree/SKILL.md · Isolate risky or parallel file-mutating work in a git worktree so the main tree's uncommitted changes are…
git:20260926.aaa5dbc · audit A · 26 stars
worktree SKILL.md skill
ulises-jeremias/agent-toolkit · plugins/agent-toolkit-complete/.github/skills/worktree/SKILL.md · Manage Git worktrees per writer for Agent Toolkit swarms — isolated branches, handoff promotion,
v1.0 · audit A · 19 stars

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