Janitor

Delete stale .notify-* files, .pending-notify-temp/ artifacts, and .outputs/ chain artifacts by TTL.

Updated Jun 3, 2026
One-click install
npx skills add https://github.com/swarm-ai-research/aeon --skill janitor-swarm-ai-research
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Janitor
Source: https://github.com/swarm-ai-research/aeon/tree/main/skills/janitor
Command: npx skills add https://github.com/swarm-ai-research/aeon --skill janitor-swarm-ai-research

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Weekly cleanup of accumulated temp files and stale artifacts to keep the repo tidy and free up space.

Core Features & Use Cases

  • Remove root-level .notify-* files that accumulate and are not auto-deleted.
  • Clean .pending-notify-temp/ directories to remove temporary artifacts.
  • Delete stale .outputs/ chain artifacts older than their TTL to prevent clutter.
  • Safe exclusions: preserves active notifications and memory drafts.

Quick Start

Schedule the janitor to run weekly and confirm that stale files are removed as described.

Frequently Asked Questions about Janitor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate cleanup of stale temp files in a Node.js repository?

Automate cleanup of stale temp files by scheduling a weekly maintenance task that targets root-level .notify-* files and .pending-notify-temp/ directories. This removes accumulated ephemeral artifacts older than 7 days, keeping the repository tidy without manual effort.

What is the best way to manage repository maintenance and delete old .outputs chain artifacts?

Manage repository maintenance by enforcing a 14-day TTL to delete stale .outputs/ chain artifacts. This approach prevents clutter by removing only marked files older than their TTL while preserving active notifications and memory drafts.

How does TTL-based file cleanup work for temporary repository artifacts?

TTL-based file cleanup works by evaluating file age against defined thresholds, deleting marked files older than 7 days for .notify-* and .pending-notify-temp, and 14 days for .outputs/, then logging outcomes for auditing.

Can I safely clean .pending-notify-temp directories without deleting active notifications?

You can safely clean .pending-notify-temp directories because the process enforces safe exclusions that preserve active notifications and memory drafts, deleting only temporary artifacts older than their 7-day TTL.

Does automated artifact management log deletion outcomes for auditing?

Automated artifact management logs deletion outcomes for auditing by recording every file removed during the weekly cleanup. This provides a traceable record of which stale temp files and .outputs artifacts were purged.