worktree-cleanup SKILL.md skillA
worktree-cleanup from figelwump/toastty is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add figelwump/toastty/worktree-cleanup@git:20261010.76cfc50Pins git:20261010.76cfc50 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- figelwump/toastty
- Path
examples/skills/worktree-cleanup/SKILL.md- Versions recorded
- 10
- Latest version
- git:20261010.76cfc50, committed Oct 10, 2026
- First version recorded
- Sep 26, 2026
- Size
- 5,001 bytes
- Repository stars
- 14
- License
- MIT
Use when the user asks which pull requests or task worktrees are ready to merge, asks to merge specific ready PRs, or asks to clean up merged worktrees, branches, and their Toastty workspaces or task spaces. Run it from outside the task workspaces.
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 Cleanup Report which task PRs are ready, merge the ones the user names, and clean up task worktrees whose PR has merged. Run it from a workspace other than the tasks being cleaned up, usually the repository's main checkout. Resolve `scripts/worktree-status.py` relative to this loaded package. Run it with `--repo <any checkout of the repository>`; it needs `git`, an authenticated `gh`, and, for cleanup, `TOASTTY_CLI_PATH` pointing at a Toastty with `workspace.list`. Cleanup refuses to run from a workspace-scoped session, because that session sees only some workspaces. A project session that launched tasks with `worktree-create` is scoped. Ask the user whether to clear this session's scope with `"$TOASTTY_CLI_PATH" session scope clear`, or to run cleanup from a new session; do not clear it without their answer. ## Report status Run `worktree-status.py` and summarize its verdicts: - **ready**: open, not draft, GitHub reports it mergeable with required checks met, no check failing or still running, the worktree is clean at exactly the PR head, and the description lists no merge prerequisites. …
Read the whole file at its exact version.
How to install
mdr add figelwump/toastty/worktree-cleanup@sha256:88d07f50def87061The line at the top of this page pins the label git:20261010.76cfc50, 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_2m4dlknpnofz4smz)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 10 versions of this file, between Sep 26, 2026 and Oct 10, 2026, about one every 2 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261010.76cfc50 latest | 2026-10-10 | 76cfc50 | 5,001 B | A | view · diff |
| git:20261008.bb441e4 | 2026-10-08 | bb441e4 | 4,999 B | A | view · diff |
| git:20261007.f912929 | 2026-10-07 | f912929 | 5,452 B | A | view · diff |
| git:20261007.f26298d | 2026-10-07 | f26298d | 5,014 B | A | view · diff |
| git:20261006.eb5f81f | 2026-10-06 | eb5f81f | 5,017 B | A | view · diff |
| git:20261002.8ae7f62 | 2026-10-02 | 8ae7f62 | 4,629 B | A | view · diff |
| git:20260929.5033df0 | 2026-09-29 | 5033df0 | 4,616 B | A | view · diff |
| git:20260926.d991ead | 2026-09-26 | d991ead | 4,453 B | A | view · diff |
| git:20260926.0ae5435 | 2026-09-26 | 0ae5435 | 3,956 B | A | view · diff |
| git:20260926.2853977 | 2026-09-26 | 2853977 | 3,502 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 (5001 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
figelwump/toastty · 14 stars · license MIT · pushed 2026-10-22 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_2m4dlknpnofz4smz GET https://markdownregistry.com/api/v1/resolve?ref=figelwump/toastty/worktree-cleanup GET https://markdownregistry.com/api/v1/blob/88d07f50def87061b6984ff7d65080ca8a374c457f1ad9c8d50a5530b1063539
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 figelwump/toastty
Every file in figelwump/toastty