repo-hygiene SKILL.md skillA

repo-hygiene from drayline/rootnode-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add drayline/rootnode-skills/repo-hygiene@v6.0.0

Pins v6.0.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
drayline/rootnode-skills
Path
plugins/rootnode-code/skills/repo-hygiene/SKILL.md
Versions recorded
2
Latest version
v6.0.0, committed Nov 3, 2026
First version recorded
Nov 1, 2026
Size
28,533 bytes
Repository stars
40
License
a license file GitHub does not identify

Audits Claude Code repositories. Two-phase workflow — Phase 1 sweeps 14 hygiene categories (permissions, hooks, CLAUDE.md bloat, Skills hygiene, process-abstraction, plus structural) and an optional 7-layer leak check. Phase 2 executes [APPROVED] markers from the report file. Use for repo cleanup, pre-distribution sanity, post-feature hygiene, environment audit, process-abstraction discovery. Trigger on "audit my CC repo," "sweep my repository for hygiene," "check this CC environment…

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

# rootnode-repo-hygiene

> **Calibration:** Tier 3 (High-effort recommended) — run on Opus 5.5 (start at its `medium` default; step to `high` when verification matters or edge cases are likely) or Sonnet 5.5 at `high`. Step up to `xhigh` only where your evals show a measured gain. Quality degrades at `low` effort and on legacy models (Sonnet 4.6). Reserve Fable 5.1 for long-horizon runs where Opus 5.5 at higher effort still fails your evals. See repository README for model compatibility.

A two-phase Skill for auditing and cleaning up Claude Code repositories. Phase 1 sweeps the repo across 14 categories of hygiene concern plus a cross-category 7-layer placement leak check, producing a `HYGIENE_REPORT.md`. Phase 2 reads `[APPROVED]` markers placed in that file and executes the marked findings under critic-gate composition with halt-on-failure discipline.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add drayline/rootnode-skills/repo-hygiene@sha256:678935224c2cad54

The line at the top of this page pins the label v6.0.0, 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_w5safqv7khvsxo3h.svg)](https://markdownregistry.com/a/art_w5safqv7khvsxo3h)

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

Versions

The registry has recorded 2 versions of this file, between Nov 1, 2026 and Nov 3, 2026, about one every 2 days.

versioncommittedcommitsizeaudit
v6.0.0 latest2026-11-03 7bd17b8 28,533 BA view · diff
v5.0.02026-11-01 f34b7ac 28,487 BA view

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 (28533 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

drayline/rootnode-skills · 40 stars · license a license file GitHub does not identify · pushed 2026-11-03 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_w5safqv7khvsxo3h
GET https://markdownregistry.com/api/v1/resolve?ref=drayline/rootnode-skills/repo-hygiene
GET https://markdownregistry.com/api/v1/blob/678935224c2cad54db248aa628c436f38f8bb00135eb197d3a63834fddc4addd

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 drayline/rootnode-skills

CLAUDE.md CLAUDE.md file
drayline/rootnode-skills · CLAUDE.md
git:20260725.01ef63f · audit A · 40 stars
cc-design SKILL.md skill
drayline/rootnode-skills · plugins/rootnode-code/skills/cc-design/SKILL.md · Designs Claude Code prompts and CC environments. Produces CLAUDE.md drafts, agent topologies, scope-authorization…
v6.0.0 · audit A · 40 stars
critic-gate SKILL.md skill
drayline/rootnode-skills · plugins/rootnode-governance/skills/critic-gate/SKILL.md · Independent re-derivation gate for proposed changes during autonomous execution. Evaluates a change (code diff, config…
v6.0.0 · audit A · 40 stars
handoff-trigger-check SKILL.md skill
drayline/rootnode-skills · plugins/rootnode-governance/skills/handoff-trigger-check/SKILL.md · Evaluates whether work-in-design is ready to hand off from a chat design conversation to autonomous execution (Claude…
v6.0.0 · audit A · 40 stars
mode-router SKILL.md skill
drayline/rootnode-skills · plugins/rootnode-governance/skills/mode-router/SKILL.md · Selects the active profile from triggering context. Evaluates a rule set against inputs (current time, calendar state…
v6.0.0 · audit A · 40 stars
profile-builder SKILL.md skill
drayline/rootnode-skills · plugins/rootnode-governance/skills/profile-builder/SKILL.md · Conversational profile builder. Produces validated JSON config files for any rootnode Skill that consumes…
v6.0.0 · audit A · 40 stars
session-handoff SKILL.md skill
drayline/rootnode-skills · plugins/rootnode-governance/skills/session-handoff/SKILL.md · Produces structured markdown session continuation documents for multi-session workflows. Captures active work streams…
v6.0.0 · audit A · 40 stars
anti-pattern-detection SKILL.md skill
drayline/rootnode-skills · plugins/rootnode-projects/skills/anti-pattern-detection/SKILL.md · Detects seven structural anti-patterns in Claude Projects that cause unpredictable output, ignored instructions, and…
v6.0.0 · audit A · 40 stars
context-budget SKILL.md skill
drayline/rootnode-skills · plugins/rootnode-projects/skills/context-budget/SKILL.md · Analyzes Claude Project context budget under the automatic-RAG-by-window model: knowledge files vs. threshold-exempt…
v6.0.0 · audit A · 40 stars
full-stack-audit SKILL.md skill
drayline/rootnode-skills · plugins/rootnode-projects/skills/full-stack-audit/SKILL.md · Comprehensive audit of a user's entire Claude environment — combines Project audit (six-dimension Project Scorecard…
v6.0.0 · audit A · 40 stars
global-audit SKILL.md skill
drayline/rootnode-skills · plugins/rootnode-projects/skills/global-audit/SKILL.md · Audits and optimizes the five global Claude layers (User Preferences, Styles, Global Memory, Skills, MCP Connectors)…
v6.0.0 · audit A · 40 stars
memory-optimization SKILL.md skill
drayline/rootnode-skills · plugins/rootnode-projects/skills/memory-optimization/SKILL.md · Rebalances context across Memory, Custom Instructions, knowledge files, and User Preferences in Claude Projects. Audits…
v6.0.0 · audit A · 40 stars

Every file in drayline/rootnode-skills

Other files named repo-hygiene

repo-hygiene SKILL.md skill
qwenlm/qwen-code · .qwen/skills/repo-hygiene/SKILL.md · Use when the scheduled repo-hygiene workflow runs from GitHub Actions (or an operator dry-run) to scan the repository…
git:20260802.07e35bf · audit A · 29,081 stars
repo-hygiene SKILL.md skill
0x0w1/jig · skills/repo-hygiene/SKILL.md · Use to audit and clean the debris a long-running jig repository accumulates: task branches whose work already shipped…
git:20260914.f91d23d · audit A · 5 stars
repo-hygiene SKILL.md skill
0x0w1/jig · .claude/skills/repo-hygiene/SKILL.md · Use to audit and clean the debris a long-running jig repository accumulates: task branches whose work already shipped…
git:20260914.f91d23d · audit A · 5 stars
repo-hygiene SKILL.md skill
rikvanriel/code-hygiene · skills/repo-hygiene/SKILL.md · Use when something must not live in a maintained source tree — paths, runtime state, data, duplicates.
v1.0.0 · audit A · 2 stars

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