cbowcrptex/cbowcryptex/janitor
Claude Code and agent skill by cbowcrptex/cbowcryptex
- community
Checking that the SKILL.md file is still in the repository.
Weekly cleanup of accumulated temp files — .notify-* root-level files, .pending-notify-temp/, and stale .outputs/ chain artifacts older than their TTL
Install
npx vskill@latest install cbowcrptex/cbowcryptex/janitorSKILL.md
The same SKILL.md was published earlier as cbowcrptex/cbowcryptex/janitor.
Today is ${today}. Your task is to delete stale ephemeral files that accumulate from normal skill operation.
Three classes of files pile up with no automated cleanup:
- Root-level `.notify-*` files — written by skills before
./notify -f, never deleted after send. - `.pending-notify-temp/` files — brace+quote-gate workaround artifacts.
- `.outputs/` chain artifacts — skill output files written for chain
consume:steps. Still around weeks after the chain ran.
Do not touch:
.pending-notify/— active undelivered notifications. Leave these alone.memory/pending-disclosures/— vuln disclosure drafts (committed). Leave these alone.- Any file created today or yesterday (within 2 days).
Steps
1. Scan root-level .notify-* files
List all files matching .notify-*.md and .notify-*.txt in the repo root.
For each: check the date suffix in the filename (format: YYYY-MM-DD or YYYYMMDD). If the file's date is 7 or more days before today, mark for deletion.
If the filename has no parseable date, check file modification time. If older than 7 days, mark for deletion.
Count: how many total, how many marked.
2. Scan .pending-notify-temp/
List all files in .pending-notify-temp/. Same 7-day rule based on filename date suffix or mtime.
Count: how many total, how many marked.
3. Scan .outputs/
List all files in .outputs/. These are chain step outputs. TTL is 14 days — chain runs are short-lived, outputs don't need to persist beyond two weeks.
Mark files with mtime older than 14 days for deletion.
Count: how many total, how many marked.
4. Delete marked files
Delete all marked files using node -e to avoid bash brace/glob issues:
Build the file list as a JSON array of strings. Do NOT use shell glob expansion — construct paths explicitly from the listing step.
5. Log results
Append to memory/logs/${today}.md:
If nothing was deleted: still log JANITOR_OK with zeros.
6. Notify (only if something was deleted)
If total_deleted > 0, write to .pending-notify-temp/janitor-${today}.md and send:
Notification format:
If nothing was deleted: skip notification entirely. No noise.
Sandbox Note
All file operations are local. Use node -e for deletion to avoid bash brace+quote gate issues. No network calls needed.
Environment Variables
None required.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/janitor/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/cbowcrptex/cbowcryptex/janitor)