vault-janitor

vault-janitor is a skill for Codex from jqaisystems/jqai-ai-skills. It costs 94 tokens per session (890 once invoked), scanned A, original, MIT.

A read-only scanner for finding junk that builds up in project folders, such as dependency folders, caches, logs, backups, and duplicate files. It groups the findings and shows how much space they use.

In plain words
What is it for?
Use it to inspect a workspace or folder tree, identify unused development files, and prepare a safe cleanup plan.
Why use it?
It helps you understand what is taking up space before anything is removed. You approve the cleanup list, and it prefers archiving items over permanently deleting them.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to inspect a workspace or folder tree, identify unused development files, and prepare a safe cleanup plan.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jqaisystems/jqai-ai-skills/vault-janitor
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 jqaisystems/jqai-ai-skills --skill vault-janitor
Clone the repo
git clone --depth 1 https://github.com/jqaisystems/jqai-ai-skills

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 vault-janitor

README.md
[![agentmods](https://agentmods.dev/badge/skills/jqaisystems/jqai-ai-skills/vault-janitor/github.svg)](https://agentmods.dev/skills/jqaisystems/jqai-ai-skills/vault-janitor)
Your own site
<a href="https://agentmods.dev/skills/jqaisystems/jqai-ai-skills/vault-janitor"><img src="https://agentmods.dev/badge/skills/jqaisystems/jqai-ai-skills/vault-janitor/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 vault-janitor

Your own site · 80×15
<a href="https://agentmods.dev/skills/jqaisystems/jqai-ai-skills/vault-janitor"><img src="https://agentmods.dev/badge/skills/jqaisystems/jqai-ai-skills/vault-janitor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 890 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.00094 $0.00890
Opus 5 $0.00047 $0.00445
Sonnet 5 $0.00019 $0.00178
Haiku 4.5 $0.00009 $0.00089

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

Security

Grade A, and why

vault-janitor 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 12d 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.

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/vault-janitor/SKILL.md · 54 lines

How it starts

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

Vault Janitor

You find the junk that working folders accumulate: the node_modules inside an abandoned experiment, the _backup_final_v2 nobody remembers making, the 400 MB of logs. You report it with sizes and let the human decide. You delete nothing on your own.

This skill exists because of a real cleanup: a personal vault that had quietly grown to 325,000 files, of which roughly 290,000 were dependency folders, build caches, and nested backups. The scan is the easy part; the discipline is in what happens after, which is why the report comes first and the deleting comes last, if at all.

Step 1: Scan (read-only)

Take a target folder (default: current directory). Walk it and classify what you find into groups:

Group Patterns
Dependency folders node_modules, venv, .venv, env, vendor, site-packages
Build caches __pycache__, .cache, dist, build, .next, .parcel-cache, *.pyc
Backup litter folders/files matching *backup*, *_old, *_bk, * copy, *final_v*, dated duplicates of the same name, .zip/.rar siblings of an existing folder
Logs and temp *.log, *.tmp, *.err.log, *.out.log, crash dumps
OS litter Thumbs.db, .DS_Store, desktop.ini
Heavyweights any single file over 100 MB that fits no group above

Measure each group: file count and total size. Note the largest individual offenders.

Things that are NEVER junk, regardless of pattern: anything inside a .git directory that belongs to a live repo, .env files, anything the user's notes or README mark as deliberate, and any folder whose name suggests the user chose to keep it ("dont_delete", "keep", "archive" with a date and intent).

Step 2: Report

Produce cleanup-report.md in the target folder:

  1. Headline numbers: total files, total size, what percentage the junk groups represent.
  2. Per group: count, size, and the top 10 paths by size.
  3. Judgment calls: items that match a junk pattern but might be deliberate (a backup folder with recent edits, a zip with no sibling folder). These get a "verify before touching" flag, not a recommendation.
  4. Recommended actions, most space per least risk first. Dependency folders and caches lead (regenerable by definition); ambiguous backups come last.

Read the full file on GitHub · 54 lines

Files

What ships with it

1 file 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. 12d ago First seen · 54 lines · 94 tokens per session scan A 7f27728e23b8

Subscribe to this mod's changes

vault-janitor is a skill published in the GitHub repository jqaisystems/jqai-ai-skills (3 stars, last pushed 1mo ago), licensed MIT. It adds 94 tokens to every session and 890 once invoked, about $0.0005 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

baoyu-wechat-summary

Summarizes WeChat group chat highlights into a structured digest using the local wx-cli binary (https://github.com/jackwener/wx-cli). Generates a normal digest by default; a roast (毒舌) version is opt-in. Maintains per-group history (history.json + history-digests.jsonl), per-user profiles, and per-group fact memory…

JimLiu/baoyu-skills · 213 tokens

i-have-adhd

Shape output for a reader with ADHD: lead with the next action, number multi-step work, restate state across turns, suppress tangents, give specific time estimates, make wins visible. Invoke with /i-have-adhd; stays on until "stop adhd mode".

ayghri/i-have-adhd · 62 tokens

update-turbo

Update installed Turbo skills from the local repo with a dynamic changelog, conflict resolution for customized skills, and guided user experience. Use when the user asks to "update turbo", "update turbo skills", "reinstall turbo", or "upgrade turbo".

tobihagemann/turbo · 54 tokens

herdr

Control Herdr, the terminal multiplexer for coding agents. Use when the user mentions Herdr or another skill delegates pane control, including concise pane naming, inspection, commands, and agents. Integrates with vd:worktree, vd:codex-workflow, and vd:ultracook. Requires HERDRENV=1.

vanducng/skills · 71 tokens

gog

Manage Google Workspace from the CLI via gog: Gmail, Drive, Calendar, Sheets, Docs, Chat, Tasks, and Admin. Invoke with --account (any account in the local registry) and --user person|sa. Use when the user mentions gmail, drive, calendar, sheets, docs, workspace, gog, email, files, events, or a configured account.

vanducng/skills · 83 tokens

superwhisper

Operate the official Superwhisper CLI and MCP to search or read dictation history, diagnose pronunciation and raw-versus-processed transcription errors, detect unwanted expansion of short utterances, inspect usage, build standups or commitment reviews, and manage vocabulary or snippets with approval. Use when the user…

vanducng/skills · 98 tokens