rootnode-repo-hygiene

rootnode-repo-hygiene is a skill for Claude Code, Codex from drayline/rootnode-skills. It costs 239 tokens per session (6,207 once invoked), scanned C, original, no licence file.

A repository-audit skill that checks Claude Code projects across 14 hygiene categories, with an optional seven-layer check for leaked information. Repository hygiene means keeping a project’s structure, settings, and instructions clean and safe to share.

In plain words
What is it for?
Use it to inspect permissions, hooks, CLAUDE.md files, Skills, process abstractions, structure, and possible leaks in Claude Code repositories.
Why use it?
It finds cleanup issues before a repository is distributed or handed to others, then can apply only the fixes marked as approved.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/drayline/rootnode-skills/rootnode-repo-hygiene
Any agent
npx skills add drayline/rootnode-skills --skill rootnode-repo-hygiene
Clone the repo
git clone --depth 1 https://github.com/drayline/rootnode-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for rootnode-repo-hygiene

README.md
[![agentmods](https://agentmods.dev/badge/skills/drayline/rootnode-skills/rootnode-repo-hygiene.svg)](https://agentmods.dev/skills/drayline/rootnode-skills/rootnode-repo-hygiene)
Your own site
<a href="https://agentmods.dev/skills/drayline/rootnode-skills/rootnode-repo-hygiene"><img src="https://agentmods.dev/badge/skills/drayline/rootnode-skills/rootnode-repo-hygiene.svg" alt="Measured on agentmods" height="20"></a>
Per session 239 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,207 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. Scan, not verified.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00239 $0.06207
Opus 5 $0.00120 $0.03104
Sonnet 5 $0.00048 $0.01241
Haiku 4.5 $0.00024 $0.00621

Measured 4d ago against content hash b92ec0b0b75f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

rootnode-repo-hygiene scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

The user invokes the Skill at the engine root with `default` profile. Phase 1 produces a report with 23 findings across 14 categories plus 3 leak findings. The user marks via three approval forms in the same session: bla
rootnode-repo-hygiene/SKILL.md · 233 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 233 lines · 239 tokens per session scan C b92ec0b0b75f

Subscribe to this mod's changes

rootnode-repo-hygiene is a skill published in the GitHub repository drayline/rootnode-skills (40 stars, last pushed 1mo ago), with no licence file. It adds 239 tokens to every session and 6,207 once invoked, about $0.0012 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.