maintain
Workspace maintenance with health checks, index rebuilding, task sync, memory gap detection, archival, inbox processing, and reference file updates
SKILL.mdskills/maintain/SKILL.md
GitHubMaintain
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.mdreferences/sync.mdreferences/archive.mdreferences/weekly.mdreferences/legacy-full-protocol.md