seyio91

Archive Cleanup — Development skill for Claude Code

Development community

Prune archive/{plans,todos,working}/ files older than the retention threshold (default 30 days, overridable via MEMORY_ARCHIVE_RETAIN_DAYS).

How to install Archive Cleanup

Installs to ~/.claude/skills/seyio91-ai-memory-system-archive-cleanup/SKILL.md

Terminal
mkdir -p ~/.claude/skills/seyio91-ai-memory-system-archive-cleanup && curl -fsSL https://raw.githubusercontent.com/seyio91/ai-memory-system/HEAD/commands/archive-cleanup.md -o ~/.claude/skills/seyio91-ai-memory-system-archive-cleanup/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Archive Cleanup does

Prune `archive/{plans,todos,working}/` files older than the retention threshold (default 30 days, overridable via `MEMORY_ARCHIVE_RETAIN_DAYS`). `.gitkeep` files are preserved unconditionally.

Argument: `$ARGUMENTS` — optional flags forwarded to the script. Recognized:

  • --all-projects — clean every project's archive; default is active project only.
  • --days N — override retention threshold for this run.

Always runs dry-run first, surfaces results to the user, asks for explicit confirmatio

Alternatives in Development

  • Cohort Analysis — Cohort retention curves, feature adoption, and segment insights 7.8k ★
  • Last30days Skill — Claude Code skill that researches any topic across Reddit + X from the last 30 days, then writes copy-paste-re 4.4k ★
  • Create Todos — Create Smart TODOs 2.8k ★

Full documentation available on GitHub

View Source Repository