build-extensions
Create new skills, rules, and hooks for your world. Checks plugin compatibility, writes to the human's space (not plugin cache),…
The world feels messy. Stale tasks, orphan folders, v2 remnants, unsaved sessions — entropy is accumulating and needs to be addressed before it compounds. Scans across all walnuts, then surfaces issues one at a time.
Claude Code
$ npx -y skills add alivecontext/alive --skill system-cleanup --agent claude-code
Codex
$ npx skills add alivecontext/alive --skill system-cleanup -a codex -y
Cursor
$ npx skills add alivecontext/alive --skill system-cleanup -a cursor -y
Gemini CLI
$ npx skills add alivecontext/alive --skill system-cleanup -a gemini-cli -y
GitHub Copilot
$ npx skills add alivecontext/alive --skill system-cleanup -a github-copilot -y
OpenCode
$ npx skills add alivecontext/alive --skill system-cleanup -a opencode -y
Windsurf
$ npx skills add alivecontext/alive --skill system-cleanup -a windsurf -y
name: system-cleanup description: "The world feels messy. Stale tasks, orphan folders, v2 remnants, unsaved sessions — entropy is accumulating and needs to be addressed before it compounds. Scans across all walnuts, then surfaces issues one at a time." user-invocable: true
System maintenance. Root health first, then one walnut at a time. Surfaces issues with recommended fixes — the human picks.
Not a dashboard (that's world). Not a search (that's find). Not session history (that's alive:session-history). Pure maintenance.
---
Walnut structure is flat under `_kernel/`:
walnut-name/
_kernel/
key.md
log.md
insights.md
tasks.json
now.json
completed.json
bundle-a/
context.manifest.yaml
raw/
bundle-b/
context.manifest.yamlThere is NO `_kernel/_generated/` subdirectory. There is NO `bundles/` container directory. Bundles sit as direct children of the walnut root alongside `_kernel/`.
Task operations go through `tasks.py`, never by reading/writing task files directly:
Projection rebuilds go through `project.py`:
---
Phase 1: Root Audit (system-level, 7 checks — parallel subagents)
|
Phase 2: Walnut Summary (single subagent scans frontmatter, human picks)
|
Phase 3: Deep Audit (one walnut, 12 checks — parallel subagents)---
Tidy is read-heavy. Every phase uses subagents to keep the main context clean.
**Discovery subagents MUST use `subagent_type: "Explore"`** — Explore agents have direct file read access without needing Bash. Use Explore for all Phase 1, Phase 2, and Phase 3 discovery checks.
**Fix-execution subagents MUST use `subagent_type: "general-purpose"`** — only general-purpose agents have Write/Edit access. Dispatch one general-purpose agent per approved fix.
Each subagent gets: the subagent brief (read `$ALIVE_PLUGIN_ROOT/templates/subagent-brief.md` once, prepend to every agent prompt), the check description, what to scan, what constitutes a pass/fail, and instructions to return a structured result (pass/fail + details if fail). **Without the brief, subagents will not understand walnut/bundle structure, tasks.py, or v3 conventions.**
**Never read walnut files in the main context.** All file reading happens inside subagents. The main context only sees results.
---
---
Dispatch 7 subagents in parallel. Each checks one thing across the whole world.
Verify all 5 ALIVE folders exist at the world root (`01_Archive/` through `05_Experiments/`).
Pass: all 5 exist. Fail: any missing.
Scan `03_Inbox/` for items older than 48 hours. Unrouted inputs may contain decisions or context affecting active walnuts.
Pass: empty or nothing older than 48h. Fail: items found.
> **🐿️ tidy — unrouted inputs** > 03_Inbox/ has 3 items older than 48 hours: > - vendor-brochure.pdf (3 days) > - meeting-notes-feb20.md (4 days) > > ▸ route via alive:capture-context / skip
Scan ALL walnuts' `_kernel/key.md` frontmatter (`links:` and `parent:` fields) AND body text for `[[wikilinks]]`. Check for:
Quick scan that every walnut has the full v3 flat `_kernel/` skeleton:
There is NO `_kernel/_generated/` subdirectory expected. There is NO `bundles/` container directory expected. If either is found, that is a separate check (see 1d does not flag these — checks 3k and 3l handle v2 remnant detection during deep audit).
Pass: all walnuts have all 6 files in flat `_kernel/`. Fail: list what's missing where.
Scan `.alive/_squirrels/` (world-level) for YAML files where `saves: 0` (never saved). Flag entries that have stash items — those contain unrouted decisions/tasks. For entries with `saves: 0` and empty stash, check transcript file size to distinguish "opened and closed" from "real work, never saved."
Separate entries with stash (need review) from empty shells (safe to clear).
> **🐿️ tidy — unsaved sessions** > 3 sessions with unrouted stash: > - stellarforge / squirrel:67b1e464 — 4 stash items > - glass-cathedral / squirrel:45dcf404 — 6 stash items > 13 empty shells (no walnut, no stash) — safe to clear. > > ▸ review stellarfor
Create new skills, rules, and hooks for your world. Checks plugin compatibility, writes to the human's space (not plugin cache),…
Create, share, and graduate bundles — the unit of focused work within a walnut. Manages the full bundle lifecycle from creation…
Use when external content arrives in the session — emails, transcripts, screenshots, documents, files, or in-session research…
Something new is emerging. A venture, an experiment, a person entering the orbit, a life area getting serious. It needs its own…
Generate a believable, lived-in ALIVE world from a free-text persona description (custom path) or a deterministic sandbox preset.…
Report a bug, request a feature, or send general feedback to the ALIVE team. Collects safe system metadata, shows a preview, and…
Shape output for a reader with ADHD: lead with the next action, number multi-step work, restate state across turns, suppress…
Set up the owner profile so a personal agent knows who it works for (first-run setup, \"get to know me\"), or distill colleague,…