cleanup SKILL.md skillA
cleanup from gufranco/claude-engineering-rules is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add gufranco/claude-engineering-rules/cleanup@git:20261013.02cb8cdPins git:20261013.02cb8cd in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- gufranco/claude-engineering-rules
- Path
skills/cleanup/SKILL.md- Versions recorded
- 5
- Latest version
- git:20261013.02cb8cd, committed Oct 13, 2026
- First version recorded
- May 27, 2026
- Size
- 8,487 bytes
- Repository stars
- 3
- License
- MIT
List stale branches, long-open PRs, merged branches, and orphaned worktrees, then close or delete each one with confirmation.
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
## Overview Repository hygiene tool that finds stale branches, lingering PRs, merged branches not yet deleted, and orphaned worktrees. Presents everything in a table, asks for confirmation per item, and cleans up what you approve. ## When to use - When the repository has accumulated many old branches. - When you want to prune merged branches that were never deleted after merge. - When open PRs have gone stale and need to be closed or re-evaluated. - When worktrees from previous tasks were left behind. - Before a release to reduce clutter. ## When NOT to use - For refactoring or cleaning up code. Use `/review` or a manual refactor instead. - For dependency updates or vulnerability scanning. Use `/audit` instead. - For git commit, push, or PR creation. Use `/ship` instead. ## Arguments This skill accepts optional arguments after `/cleanup`: - No arguments: full scan covering branches, PRs, and worktrees. **Default mode is dry-run.** No mutation happens without `--apply`. - `branches`: scan branches only. - `prs`: scan PRs only. - `worktrees`: scan worktrees only. - `--dry-run`: explicit dry-run flag. Same as the default. Kept for clarity. …
Read the whole file at its exact version.
How to install
mdr add gufranco/claude-engineering-rules/cleanup@sha256:3dc21d5ef371446cThe line at the top of this page pins the label git:20261013.02cb8cd, 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_vhnwqmbuwl22cjbo)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between May 27, 2026 and Oct 13, 2026, about one every 35 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261013.02cb8cd latest | 2026-10-13 | 02cb8cd | 8,487 B | A | view · diff |
| git:20261013.b817909 | 2026-10-13 | b817909 | 8,317 B | A | view · diff |
| git:20261012.84ebb18 | 2026-10-12 | 84ebb18 | 8,291 B | A | view · diff |
| git:20260818.24e3a02 | 2026-08-18 | 24e3a02 | 6,848 B | A | view · diff |
| git:20260527.6d7d562 | 2026-05-27 | 6d7d562 | 6,762 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 (8487 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
gufranco/claude-engineering-rules · 3 stars · license MIT · pushed 2026-10-30 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_vhnwqmbuwl22cjbo GET https://markdownregistry.com/api/v1/resolve?ref=gufranco/claude-engineering-rules/cleanup GET https://markdownregistry.com/api/v1/blob/3dc21d5ef371446cd0e137c23d5195973ca2ab8b1f9f99a217a370f1cbc1fbd3
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 gufranco/claude-engineering-rules
Every file in gufranco/claude-engineering-rules