om-ai-context-maintenance

Installation
SKILL.md

AI Context Maintenance

Keep recent run context easy to read and combine all older, finished runs selected by one invocation into a single .tgz archive in the same runs directory, reducing the number of loose files. Preview locally; deliver authorized rotation through the om-auto-create-pr skill in an isolated worktree. Run once and report; do not install a schedule.

Arguments

  • --keep-days <N> — retain N UTC calendar days (default 14; integer ≥1).
  • --runs-dir <path> — repository-relative run root; otherwise use paths.runs from .ai/agentic.config.json (default .ai/runs). Archives always stay in this directory.
  • --exclude <name> — repeatable, exact top-level run name to leave unpacked.
  • --dry-run — preview without writing archives or removing sources.

Explicit arguments win over defaults in the same-name repo-local extension. Keep persistent retention/exclusion defaults there; do not invent config keys.

Installs
158
GitHub Stars
274
First Seen
6 days ago