clean-repos SKILL.md skillA

clean-repos from raffertyuy/repo-of-repos is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add raffertyuy/repo-of-repos/clean-repos@git:20260723.1db5b32

Pins git:20260723.1db5b32 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
raffertyuy/repo-of-repos
Path
.agents/skills/clean-repos/SKILL.md
Versions recorded
1
Latest version
git:20260723.1db5b32, committed Jul 23, 2026
Size
2,457 bytes
Repository stars
19
License
MIT

Find and remove stale entries from repos.yaml whose directories no longer exist on disk.

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

# 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

No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_ue5me6t3tdsc2esb/70f6066777fc60f323e594a3ab44c843ff89115afe1a4a5306b485044a1d8c91.json

Then /plugin install clean-repos@markdownregistry-ue5me6t3tdsc2esb in Claude Code. It installs git:20260723.1db5b32, the one graded A here, pinned to the commit it was graded at, and leaves it there.

The exact contents, by fingerprint
mdr add raffertyuy/repo-of-repos/clean-repos@sha256:70f6066777fc60f3

The line at the top of this page pins the label git:20260723.1db5b32, 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ue5me6t3tdsc2esb.svg)](https://markdownregistry.com/a/art_ue5me6t3tdsc2esb)

2 badge image fetches in 30 days. What the badge shows.

Ask from your agent
claude mcp add --transport http markdownregistry https://markdownregistry.com/mcp/registry

Then ask it: what changed in raffertyuy/repo-of-repos/clean-repos since the version I have? It reads every saved version here, no key and no account. Any agent that speaks MCP can add it.

Got a copy of clean-repos from somewhere else? Ask it: where did my clean-repos come from, and what was changed? It names the public original, the version yours is closest to and every changed line. The text is not kept.

Versions

The registry has recorded 1 version of this file, committed on Jul 23, 2026.

Watch this file (sign in, one email per new version)

versioncommittedcommitsizeaudit
git:20260723.1db5b32 latest2026-07-23 1db5b32 2,457 BA view
Keep it current by itself, install once

Committed this skill to a repository? Install the markdownregistry skill updates app on it, or on all of them. When the registry saves a newer version, a pull request brings your copy to it within minutes, the newest version first, then what changed and any check it newly trips. A copy you edited is never touched, and nothing is deleted.

Install on GitHub

It asks to read and write contents and pull requests, and to read metadata. No workflow file, no Actions setting, nothing runs on your runners. Uninstall it and everything the registry kept about your repository is deleted.

Keep it current by itself

Committed this skill to a repository? Add one workflow file, and when a newer version is saved, a pull request brings your copy to it, the newest version first, then what changed and any check it newly trips. A copy you edited is never touched, and nothing is deleted.

mkdir -p .github/workflows && curl -fsSL https://markdownregistry.com/ci/skill-updates.yml -o .github/workflows/skill-updates.yml

It runs daily on GitHub Actions, no key and no account. Read the workflow before you add it.

Check a whole project

From the root of your project, one line hashes each installed skill's SKILL.md, your AGENTS.md and your CLAUDE.md, and asks the registry once. Only the fingerprints and paths are sent.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --data-binary @- https://markdownregistry.com/api/v1/check-copies

In CI, add --fail-with-body: the answer is 409 when any file is behind, so the step fails and still prints which files.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --fail-with-body --data-binary @- https://markdownregistry.com/api/v1/check-copies

No sha256sum on your machine? shasum -a 256 prints the same lines.

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

raffertyuy/repo-of-repos · 19 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 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 raffertyuy/repo-of-repos

add-repository SKILL.md skill
raffertyuy/repo-of-repos · .agents/skills/add-repository/SKILL.md · Clone a git repo or register a local folder into repos/ and update repos.md with its description
git:20260723.1db5b32 · audit A · 19 stars
commit-all-repos SKILL.md skill
raffertyuy/repo-of-repos · .agents/skills/commit-all-repos/SKILL.md · Iterate through all sub-repos in repos/ and stage/commit/push each one, then do the same for the master repo
git:20260723.1db5b32 · audit A · 19 stars
commit SKILL.md skill
raffertyuy/repo-of-repos · .agents/skills/commit/SKILL.md · Stage, commit, and push changes for the master repo only (excludes sub-repos in repos/)
git:20260723.1db5b32 · audit A · 19 stars
create-plan SKILL.md skill
raffertyuy/repo-of-repos · .agents/skills/create-plan/SKILL.md · Create an implementation plan in _plans/ with embedded repo context and step-by-step task lists
git:20260723.1db5b32 · audit A · 19 stars
implement-plan SKILL.md skill
raffertyuy/repo-of-repos · .agents/skills/implement-plan/SKILL.md · Execute a plan from _plans/, implementing steps, checking off tasks, running tests, and documenting fixes
git:20260723.1db5b32 · audit A · 19 stars
pr-all-repos SKILL.md skill
raffertyuy/repo-of-repos · .agents/skills/pr-all-repos/SKILL.md · Create PRs in all sub-repos with uncommitted branches, then link them as siblings
git:20260723.1db5b32 · audit A · 19 stars
pull-all-repos SKILL.md skill
raffertyuy/repo-of-repos · .agents/skills/pull-all-repos/SKILL.md · Clone/pull git repos, verify local folders, auto-register orphans, and regenerate repos.md
git:20260723.1db5b32 · audit A · 19 stars
remove-repository SKILL.md skill
raffertyuy/repo-of-repos · .agents/skills/remove-repository/SKILL.md · Remove a repo or local folder from repos/, updating repos.yaml, repos.md, and .gitignore
git:20260723.1db5b32 · audit A · 19 stars
sync-template SKILL.md skill
raffertyuy/repo-of-repos · .agents/skills/sync-template/SKILL.md · Pull latest repo-of-repos template updates into this workspace
git:20260723.1db5b32 · audit A · 19 stars
update-all-md-docs SKILL.md skill
raffertyuy/repo-of-repos · .agents/skills/update-all-md-docs/SKILL.md · Review and update all markdown docs in the repo-of-repos (excluding cloned repos)
git:20260723.1db5b32 · audit A · 19 stars
add-repository SKILL.md skill
raffertyuy/repo-of-repos · .claude/skills/add-repository/SKILL.md · Clone a git repo or register a local folder into repos/ and update repos.md with its description
git:20260723.1db5b32 · audit A · 19 stars
clean-repos SKILL.md skill
raffertyuy/repo-of-repos · .claude/skills/clean-repos/SKILL.md · Find and remove stale entries from repos.yaml whose directories no longer exist on disk
git:20260723.1db5b32 · audit A · 19 stars

Every file in raffertyuy/repo-of-repos

Other files named clean-repos

clean-repos SKILL.md skill
raffertyuy/repo-of-repos · .claude/skills/clean-repos/SKILL.md · Find and remove stale entries from repos.yaml whose directories no longer exist on disk
git:20260723.1db5b32 · audit A · 19 stars

Browse by kind, by grade A, or by owner.

Kept in .agents/skills, the folder Codex reads. More agent skills for Codex.