cleanup

Archive processed inbox items into monthly directories and verify clean state.

1|1|Updated Nov 19, 2025
One-click install
npx skills add https://github.com/joshuacook/motoko --skill cleanup-joshuacook
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cleanup
Source: https://github.com/joshuacook/motoko/tree/main/.claude/skills/cleanup
Command: npx skills add https://github.com/joshuacook/motoko --skill cleanup-joshuacook

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill archives processed inbox items to keep the inbox clean and ready for new work, while ensuring processed content is preserved for reference.

Core Features & Use Cases

  • Archive processing: Move old summaries to a monthly archive.
  • Cleanup artifacts: Remove ephemeral files after processing.
  • Safe operation: Idempotent and non-destructive to active work.

Quick Start

When ready, run cleanup to archive old inbox items and verify the inbox is ready for new content.

Frequently Asked Questions about cleanup

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

FAQPage Schema
How do I archive processed inbox items to keep my inbox clean?

Archive processed inbox items by running the cleanup command, which moves old summaries to monthly archive directories and removes ephemeral processing flags. Items older than 60 minutes are archived automatically, preserving session summaries for reference while freeing space for new work.

What happens to my inbox session summaries when I clean up?

Session summaries are safely archived into monthly directories rather than deleted, ensuring you can reference past processing work. Only temporary processing flags are removed during cleanup, protecting all substantive content.

How often should I run inbox cleanup to maintain workflow efficiency?

Run cleanup whenever your inbox accumulates processed items, or automate it after processing completion. The Skill archives files older than 60 minutes, so regular runs keep your inbox ready for new content without manual tracking.

Can I use cleanup with existing inbox automation workflows?

Yes, cleanup integrates into inbox workflows as a Bash-driven process triggered by user commands or automatically after processing. It works safely alongside active inbox management since it archives rather than deletes content.

What's the difference between cleanup and simply deleting old inbox files?

Cleanup archives files into monthly directories for preservation and reference, whereas deletion removes them permanently. Archival maintains a searchable record while freeing active inbox space, and it's non-destructive if you need to recover processed items.

Does cleanup verify the inbox is ready for new work after archival?

Yes, cleanup verifies clean state and reports archival results after moving files and removing ephemeral flags. This confirmation ensures your inbox is genuinely ready to receive new items without residual processing artifacts.