worktree SKILL.md skillA
worktree from tercel/code-forge is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add tercel/code-forge/worktree@git:20260422.d0e053fPins git:20260422.d0e053f in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- tercel/code-forge
- Path
skills/worktree/SKILL.md- Versions recorded
- 4
- Latest version
- git:20260422.d0e053f, committed Apr 22, 2026
- First version recorded
- Feb 26, 2026
- Size
- 4,663 bytes
- Repository stars
- 6
- License
- none declared
Use when starting feature work that needs workspace isolation — creates git worktree with automatic project setup and baseline test verification. Ensures worktree directory is git-ignored and safe. Integrates with code-forge:impl and code-forge:finish.
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
# Code Forge — Worktree ## ⚡ Execution Entry Point @../shared/execution-entrypoint.md **For this skill:** start at **the first executable step**. If you catch yourself about to say "falling back to manual worktree setup", STOP and go to the indicated step. --- Create an isolated git worktree for feature development with automated project setup and safety verification. ## When to Use - Starting feature work that should not affect the main workspace - Before running code-forge:impl to isolate implementation changes - When you need a clean baseline for testing or experimentation ## Iron Law **NEVER create a project-local worktree without verifying it is git-ignored.** Worktree contents tracked by git will cause repository corruption. ## Workflow ``` Detect Directory → Verify Safety → Create Worktree → Project Setup → Baseline Tests → Report ``` ### Step 1: Detect Worktree Directory Check in order: 1. Existing `.worktrees/` or `worktrees/` directory in project root — use if found 2. Project CLAUDE.md for worktree preference — use without asking 3. Ask user: - **Project-local** `.worktrees/` (Recommended) — keeps worktrees near the code …
Read the whole file at its exact version.
How to install
mdr add tercel/code-forge/worktree@sha256:4a2201aa9877d286The line at the top of this page pins the label git:20260422.d0e053f, 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_4ydirutwhujgiyhx)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between Feb 26, 2026 and Apr 22, 2026, about one every 18 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260422.d0e053f latest | 2026-04-22 | d0e053f | 4,663 B | A | view · diff |
| git:20260409.eba6a05 | 2026-04-09 | eba6a05 | 5,602 B | A | view · diff |
| git:20260313.0860d48 | 2026-03-13 | 0860d48 | 4,420 B | A | view · diff |
| git:20260226.ce66352 | 2026-02-26 | ce66352 | 3,892 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 (4663 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
tercel/code-forge · 6 stars · license none declared · pushed 2026-09-16 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_4ydirutwhujgiyhx GET https://markdownregistry.com/api/v1/resolve?ref=tercel/code-forge/worktree GET https://markdownregistry.com/api/v1/blob/4a2201aa9877d286b64bfb02fbd819081bf18654157ca48b14c3eac11e08a2b6
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 tercel/code-forge
Every file in tercel/code-forge