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.
mdr add shibing624/agentica/worktree@v2.1Pins 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
mdr add shibing624/agentica/worktree@sha256:eb4bcaff37b13377The 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.
[](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.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v2.1 latest | 2026-09-19 | af79c64 | 2,466 B | A | view · diff |
| v2.0 | 2026-09-19 | ba5541d | 2,294 B | A | view · diff |
| v1.0 | 2026-09-18 | f879379 | 2,847 B | A | view · diff |
| v1.0 | 2026-09-18 | f8a4ec7 | 2,697 B | A | view · diff |
| v1.0 | 2026-09-04 | 9eb61dc | 1,965 B | A | view |
Audit of the latest version
- 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
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
Every file in shibing624/agentica