maintain

Workspace maintenance with health checks, index rebuilding, task sync, memory gap detection, archival, inbox processing, and reference file updates

SKILL.md

GitHub

Maintain

Maintenance is the time-and-drift control plane. Prefer natural-language workflow names in user output. Slash commands remain shortcuts.

Modes

Intent Mode
Process pending files or session captures inbox
Find missing context from calendar/tasks/inbox/activity gaps
Compare workspace to external systems sync
Propose lifecycle archival archive
Produce weekly review queue weekly
Inspect git worktree clutter worktrees

Non-negotiables

  • Never delete files.
  • Never auto-apply archive, memory, task, or harness changes.
  • Run core extension pre-flight before every mode. Enabled extensions whose triggers match "process inbox", "run maintenance", "sync", or the active mode must be loaded before scanning files or checking external drift.
  • Archive is active-set management, not punishment for old files.
  • Weekly maintenance includes a Harness review section.
  • Heavy scans belong in maintenance, not SessionStart.

References

  • references/inbox.md
  • references/sync.md
  • references/archive.md
  • references/weekly.md
  • references/legacy-full-protocol.md