clean-repos skillA
clean-repos is agent-read markdown (skill) from raffertyuy/repo-of-repos: Find and remove stale entries from repos.yaml whose directories no longer exist on disk.
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 before it reaches your agent: the main file against the SHA-256 recorded here, the others against the git hashes of its source commit. The deterministic audit below grades the latest version, and the same checks always give the same file the same grade.
What the file says
# Clean Repos Scan `repos/repos.yaml` for stale entries — entries whose corresponding `repos/<name>/` directory no longer exists on disk — and remove them from the configuration. ## Order of Operations 1. **Parse `repos/repos.yaml`** — read the `repos:` list - If the list is empty, report "Nothing to clean" and stop 2. **Check each entry** — for every entry, check if `repos/<name>/` exists on disk 3. **Collect stale entries** — entries where the directory does NOT exist - If no stale entries found, report "All entries are present on disk. Nothing to clean." and stop 4. **Show the stale entries** — display a table: | Entry | Type | URL | Status | |-------|------|-----|--------| | `<name>` | git | `<url>` | Directory missing | | `<name>` | local | — | Directory missing | 5. **Ask for confirmation** — "Remove these N entries from the config? (yes/no)" - If the user says no, stop without changes 6. **Remove stale entries from `repos/repos.yaml`** — delete each stale entry from the `repos:` list - If all entries were stale, leave `repos: []` …
Read the whole file at its exact version.
How to install
mdr add raffertyuy/repo-of-repos/clean-repos@git:20260723.1db5b32mdr add raffertyuy/repo-of-repos/clean-repos@sha256:70f6066777fc60f3Pin to a label to follow the author's releases, or to a sha256 for exact bytes. Either way the resolved hash is written to mdr.lock, and mdr install fetches those bytes again and checks them, so it installs them exactly or fails.
[](https://markdownregistry.com/a/art_ue5me6t3tdsc2esb)
2 badge views in 30 days
Versions
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 (2457 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
raffertyuy/repo-of-repos · 12 stars · license MIT · pushed 2026-09-25 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_ue5me6t3tdsc2esb GET https://markdownregistry.com/api/v1/resolve?ref=raffertyuy/repo-of-repos/clean-repos GET https://markdownregistry.com/api/v1/blob/70f6066777fc60f323e594a3ab44c843ff89115afe1a4a5306b485044a1d8c91
Your agent 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.
More from raffertyuy/repo-of-repos
Every file in raffertyuy/repo-of-repos