assimilate
Assimilate an external methodology, harness, or specification into babysitter process definitions with skills and agents.
Clean up .a5c/runs and .a5c/processes directories. Aggregates insights from completed/failed runs into docs/run-history-insights.md, then removes old run data and orphaned process files.
> /plugin marketplace add a5c-ai/babysitter > /plugin install babysitter@babysitter
How it fires
How this command gets triggered: by you, by Claude, or both.
/cleanupContext preview
What this command does when you run it.
Clean up .a5c/runs and .a5c/processes directories. Aggregates insights from completed/failed runs into docs/run-history-insights.md, then removes old run data and orphaned process files.
description: Clean up .a5c/runs and .a5c/processes directories. Aggregates insights from completed/failed runs into docs/run-history-insights.md, then removes old run data and orphaned process files. argument-hint: "[--dry-run] [--keep-days N] Optional flags. --dry-run shows what would be removed without deleting. --keep-days N keeps runs newer than N days (default 7)." allowed-tools: Read, Grep, Write, Task, Bash, Edit, Grep, Glob, WebFetch, WebSearch, Search, AskUserQuestion, TodoWrite, TodoRead, Skill, BashOutput, KillShell, MultiEdit, LS
Invoke the babysitter:babysit skill (using the Skill tool) and follow its instructions (SKILL.md).
Resolve the active process library with:
babysitter process-library:active --json
Read `binding.dir` from that JSON and create/run the cleanup process from `cradle/cleanup-runs.js#process` relative to that active library root. Do not use plugin-cache-relative cradle paths.
Implementation notes (for the process):
CRITICAL: The cleanup MUST follow this exact phase order. Do NOT delete any run before Phase 2 completes.
Phase 1 — Scan:
Phase 2 — Aggregate insights (BEFORE any deletion):
Phase 3 — Confirm removal:
Phase 4 — Remove:
Enforce obedience on agentic workforces. Manage extremely complex workflows through deterministic, hallucination-free self-orchestration.
Repo: a5c-ai/babysitter
Assimilate an external methodology, harness, or specification into babysitter process definitions with skills and agents.
manage Babysitter blueprints. Use this command to list installed blueprints, browse marketplaces, install, update, uninstall, configure, or create a new…
Diagnose babysitter run health - journal integrity, state cache, effects, locks, sessions, logs, and disk usage
Set up a project for babysitting. Guides you through onboarding a new or existing project — researches the codebase, interviews you about goals and workflows,…