project-cleanup-audit

project-cleanup-audit is a skill for Codex from EthanYoQ/Skill-hub. It costs 102 tokens per session (1,446 once invoked), scanned A, original, MIT.

An audit workflow for safely reviewing and cleaning a local software project. It looks for generated files, old project remains, stale Git worktrees, caches, duplicate project roots, and other workspace clutter.

In plain words
What is it for?
Use it to inspect a messy repository, classify files, preserve untracked work, remove confirmed generated residue, and reduce unnecessary project or agent context files.
Why use it?
It helps reclaim space and reduce confusion without deleting user work blindly. It requires evidence, backups, and explicit path decisions before destructive cleanup.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Codex; built for gstack.

Good fit Use it to inspect a messy repository, classify files, preserve untracked work, remove confirmed generated residue, and reduce unnecessary project or agent context files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ethanyoq/skill-hub/project-cleanup-audit
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.

Any agent
npx skills add EthanYoQ/Skill-hub --skill project-cleanup-audit
Clone the repo
git clone --depth 1 https://github.com/EthanYoQ/Skill-hub

Made for: 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 project-cleanup-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/ethanyoq/skill-hub/project-cleanup-audit/github.svg)](https://agentmods.dev/skills/ethanyoq/skill-hub/project-cleanup-audit)
Your own site
<a href="https://agentmods.dev/skills/ethanyoq/skill-hub/project-cleanup-audit"><img src="https://agentmods.dev/badge/skills/ethanyoq/skill-hub/project-cleanup-audit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for project-cleanup-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/ethanyoq/skill-hub/project-cleanup-audit"><img src="https://agentmods.dev/badge/skills/ethanyoq/skill-hub/project-cleanup-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,446 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original 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.1 $0.00102 $0.01446
Opus 5.5 $0.00041 $0.00578
Sonnet 5.5 $0.00020 $0.00289
Haiku 4.5 $0.00010 $0.00145

Measured 2mo ago against content hash d39b87746f26, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

project-cleanup-audit scanned grade A with 0 findings 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 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/audit_repo_cleanup.ps1), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

archives/user-installed-skills/project-cleanup-audit/2e6d5bddaf2fdedb/project-cleanup-audit/SKILL.md · 100 lines

How it starts

The opening of the file, as written. The whole thing — 100 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Project Cleanup Audit

Operating Rules

Use this skill as an evidence-first cleanup workflow for local repositories. Prioritize preserving user work over reclaiming disk.

  • Do not delete, reset, or overwrite until the target paths and rationale are explicit.
  • If evidence is insufficient, provide only known facts, candidate hypotheses, validation paths, and temporary mitigations. Mark unverified conclusions clearly.
  • Keep installed applications, user data directories, credentials, and system-wide caches out of scope unless the user explicitly includes them.
  • Before structural cleanup, create a backup outside the workspace containing Git status, remotes, worktrees, patches, and copies of non-generated untracked files.
  • Stop only development processes whose command line clearly points inside the workspace. Do not stop installed app processes just because the product name matches.
  • Never run whole-repo git clean -fdX unless every ignored dry-run path has been classified as safe generated residue. If the dry-run includes datasets, release artifacts, local validation output, .runtime, .codex, .codegraph, or other agent context, delete only explicit pathspecs or resolved literal paths.
  • Do not recursively print or quote sensitive local data directories while auditing. Prefer aggregate sizes, file counts, top-level names, and short non-sensitive samples.

Quick Audit

Run the bundled read-only audit first when PowerShell is available:

powershell -ExecutionPolicy Bypass -File "<skill>/scripts/audit_repo_cleanup.ps1" -Root . -Top 25

Use -IncludeProcesses when deletion is blocked by locked files or old dev servers:

powershell -ExecutionPolicy Bypass -File "<skill>/scripts/audit_repo_cleanup.ps1" -Root . -Top 25 -IncludeProcesses

Use -HashReleaseArtifacts only when checking whether local release packages match already-published assets. This can be slow on GB-scale archives:

powershell -ExecutionPolicy Bypass -File "<skill>/scripts/audit_repo_cleanup.ps1" -Root . -Top 25 -HashReleaseArtifacts

Read the full file on GitHub · 100 lines

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. 2mo ago First seen · 100 lines · 102 tokens per session scan A d39b87746f26

Subscribe to this mod's changes

project-cleanup-audit is a skill published in the GitHub repository EthanYoQ/Skill-hub (12 stars, last pushed 2d ago), licensed MIT. It adds 102 tokens to every session and 1,446 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-13.

Related

project-cleanup-audit compared with skills from other repositories

project-cleanup-audit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
project-cleanup-auditEthanYoQ/Skill-hubSkill122d agoMITA102Codex
caveman-helpHarmeet10000/skillsSkill86mo agoMITA56Claude Code, Codex
conventional-commitJanDeDobbeleer/oh-my-poshSkill24k4d agoMITA26Claude Code, Codex
Dotfilesdanielmiessler/LifeOSSkill20k11d agoMITA125Claude Code, Codex
python-releaseComposioHQ/composioSkill31ktodayMITA53Claude Code, Codex
worktreeget-bb/bbSkill6.2ktodayMITA33Claude Code, Codex
release-noteskenryu42/cc-safety-netSkill2.1kyesterdayMITA65Claude Code, Codex