project-folder-cleanup

project-folder-cleanup is a skill for Claude Code, Codex from aka-kika/akakika-skills. It costs 87 tokens per session (1,409 once invoked), scanned A, original, MIT.

A cautious process for removing rebuildable clutter such as dependency folders, build output, caches, and logs from a project folder.

In plain words
What is it for?
Use it to reclaim disk space, prepare a repository for archiving, reset it for a fresh build, or tidy it after experiments.
Why use it?
It protects against accidental data loss by scanning first, backing up removed paths, documenting them, and requiring confirmation before deletion.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to reclaim disk space, prepare a repository for archiving, reset it for a fresh build, or tidy it after experiments.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aka-kika/akakika-skills/project-folder-cleanup
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 aka-kika/akakika-skills --skill project-folder-cleanup
Clone the repo
git clone --depth 1 https://github.com/aka-kika/akakika-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 project-folder-cleanup

README.md
[![agentmods](https://agentmods.dev/badge/skills/aka-kika/akakika-skills/project-folder-cleanup/github.svg)](https://agentmods.dev/skills/aka-kika/akakika-skills/project-folder-cleanup)
Your own site
<a href="https://agentmods.dev/skills/aka-kika/akakika-skills/project-folder-cleanup"><img src="https://agentmods.dev/badge/skills/aka-kika/akakika-skills/project-folder-cleanup/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-folder-cleanup

Your own site · 80×15
<a href="https://agentmods.dev/skills/aka-kika/akakika-skills/project-folder-cleanup"><img src="https://agentmods.dev/badge/skills/aka-kika/akakika-skills/project-folder-cleanup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,409 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Rogue Agent · line 167
    Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.
    Fix: Prevent the skill from modifying its own code, SKILL.md, or configuration files. Treat skill files as read-only at runtime.
How audits are shown
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.00087 $0.01409
Opus 5 $0.00044 $0.00705
Sonnet 5 $0.00017 $0.00282
Haiku 4.5 $0.00009 $0.00141

Measured 11d ago against content hash b7dd75ff4952, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

project-folder-cleanup 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 11d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/cleanup-with-backup.mjs, scripts/render-backup-readme.mjs, scripts/scan-cleanup-candidates.mjs), 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.

skills/maintenance/project-folder-cleanup/SKILL.md · 168 lines

How it starts

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

Project Folder Cleanup

Remove regenerable clutter from a project folder without losing data. Every targeted path is copied into a backup first, documented in BACKUP.md, compressed into a zip archive, and only then removed from the project when explicitly confirmed.

When to Use

  • Clean node_modules, build folders, caches, or logs from a project
  • Reclaim disk space before archiving or zipping a repo
  • Reset a project to a fresh-build state
  • Tidy a workspace after switching branches or experiments

Do not use it for general file organization across the whole computer — that's out of scope for this skill.

Core Rules

  1. Backup before delete — no exceptions
  2. Scan and confirm — show paths and sizes; get approval before destructive steps
  3. Dry-run first — always run with --dry-run until the plan is approved
  4. Zip the backup — keep disk use small; retain the .zip, drop uncompressed folder by default
  5. Document everythingBACKUP.md inside the backup explains what, why, and how to restore

Read Safety Rules before every run.

Workflow

Step 1: Choose the project

Confirm the project root path. Do not run from $HOME unless the user explicitly wants home-level cleanup.

Step 2: Scan candidates

node scripts/scan-cleanup-candidates.mjs /path/to/project --json

Or human-readable:

node scripts/scan-cleanup-candidates.mjs /path/to/project

Review output with the user. Compare against Default Cleanup Targets. Add or remove paths based on user preference.

Step 3: Check git status

git -C /path/to/project status --short

Warn if targeted paths overlap with uncommitted work the user may care about.

Step 4: Dry-run backup + cleanup plan

node scripts/cleanup-with-backup.mjs --project /path/to/project --dry-run

Optional custom manifest:

node scripts/cleanup-with-backup.mjs \
  --project /path/to/project \
  --targets /tmp/cleanup-targets.json \
  --dry-run

Read the full file on GitHub · 168 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 168 lines · 87 tokens per session scan A b7dd75ff4952

Subscribe to this mod's changes

project-folder-cleanup is a skill published in the GitHub repository aka-kika/akakika-skills (10 stars, last pushed yesterday), licensed MIT. It adds 87 tokens to every session and 1,409 once invoked, about $0.0004 per session on Opus 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-08-31.

Related

Other skills, from other repositories

peon-ping-toggle

Toggle peon-ping sound notifications on/off. Use when user wants to mute, unmute, pause, or resume peon sounds during a Claude Code session. Also handles config changes like volume, pack rotation, categories — any peon-ping setting.

PeonPing/peon-ping · 58 tokens

peon-ping-log

Log exercise reps for the Peon Trainer. Use when user says they did pushups, squats, or wants to log reps. Examples - "/peon-ping-log 25 pushups", "/peon-ping-log 30 squats", "log 50 pushups".

PeonPing/peon-ping · 64 tokens

linkedin-job-scraper

Scrapes LinkedIn job postings using the JobSpy library (python-jobspy). Use this skill whenever the user wants to find jobs on LinkedIn, search for open roles, pull job listings, build a job pipeline, source job targets for GTM research, or monitor hiring signals. Even if the user just says "find me some jobs" or…

gooseworks-ai/goose-skills · 121 tokens

planning-with-files

Persistent file-based planning for multi-step AI-agent work. Keeps taskplan.md, findings.md, and progress.md on disk; lifecycle hooks inject selected project planning context. Automatic recovery reads project planning files only. Explicit session-catchup.py --metadata reads same-project local agent session records and…

mxyhi/ok-skills · 117 tokens

save-progress

Save current project task progress to local task state file for cross-session continuity. Use when the user asks to save progress, uses an equivalent localized trigger phrase, the session is interrupted, or the user wants to resume work later. Writes to .claude/project-task-state.json so next session can load it via…

KimYx0207/Meta_Kim · 65 tokens

slack-messaging

Use when writing, drafting, scheduling, or improving a Slack message, announcement, or reply sent via the Slack MCP tools (slacksendmessage, slacksendmessagedraft, slackschedulemessage). Covers Slack markdown formatting, message structure, thread etiquette, reactions, and scheduling, and points to the right dialect…

slackapi/slack-skills-plugin · 74 tokens