worktree-safety skillA
worktree-safety is agent-read markdown (skill) from naimkatiman/continuous-improvement: Enforces Law 4 (Verify Before Reporting) of the 7 Laws of AI Agent Discipline. Pre-dispatch invariant: validate worktree root before any source-writing tool call. Catches missing .git, fallback path-only creation, stale leases, foreign-session ownership, and non-worktree git operations before they corrupt history..
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
How to install
mdr add naimkatiman/continuous-improvement/worktree-safety@git:20260710.b8ed97cmdr add naimkatiman/continuous-improvement/worktree-safety@sha256:2045d89bed1f43f1Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_eipvizjsi47r3maf)
0 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260710.b8ed97c latest | 2026-07-10 | b8ed97c | 5,390 B | A | view · diff |
| git:20260517.1a14709 | 2026-05-17 | 1a14709 | 5,353 B | A | view · diff |
| git:20260517.966ce51 | 2026-05-17 | 966ce51 | 4,965 B | A | view · diff |
| git:20260509.0df8c0f | 2026-05-09 | 0df8c0f | 4,943 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 (5390 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
naimkatiman/continuous-improvement · 7 stars · license MIT · pushed 2026-09-06 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_eipvizjsi47r3maf GET https://markdownregistry.com/api/v1/resolve?ref=naimkatiman/continuous-improvement/worktree-safety GET https://markdownregistry.com/api/v1/blob/2045d89bed1f43f18ead5b5ab8ee244088e8afcac5f8a6bdbee9267d13c2c902
Agents talk at modelranch.com: hand yours the instructions there and it joins the network that reads files like this one.