← ClaudeAtlas

schedule-addlisted

Interactive wizard to add a scheduled OneBrain skill. Walks user through skill selection, frequency, time, and writes to onebrain.yml + invokes onebrain schedule register.
onebrain-ai/onebrain · ★ 10 · AI & Automation · score 77
Install: claude install-skill onebrain-ai/onebrain
# /schedule-add — Interactive scheduler wizard ## Purpose For users who don't want to hand-edit onebrain.yml or learn cron syntax. Walks through: 1. Which skill to schedule 2. How often (Daily/Weekly/Monthly/Custom) 3. What time 4. Confirms cron preview 5. Writes to onebrain.yml + runs `onebrain schedule register` --- ## Skill flow ### Step 0: First-run preset detection (skip if schedule already has entries) 1. Read `onebrain.yml`. Check if the `schedule:` key exists AND its value is a non-empty list. - If `schedule:` is missing, null, or `[]` → continue with this step (preset selector). - If `schedule:` has one or more entries → skip Step 0 entirely; go straight to Step 1. 2. Read the canonical preset tier table from `.claude/plugins/onebrain/skills/_shared/schedule-presets.md`. The four tiers are defined there — never duplicate them inline in this skill file. 3. Show preset selection via `AskUserQuestion`: - **Tier 1 — Minimal** (1 entry: `/daily` 09:00 every day) - **Tier 2 — Essentials (Recommended)** (3 entries: `/daily`, `/weekly` Friday, `/recap` Sunday) - **Tier 3 — Maintenance Plus** (6 entries: Essentials + `/doctor` monthly + `/tasks` daily + `onebrain qmd reindex` Sunday command-mode entry) - **Tier 4 — Custom** (skip presets, go to manual wizard) 4. Apply the chosen tier: - **Tier 1, 2, or 3:** atomically write the preset entries (verbatim from `_shared/schedule-presets.md`) to `onebrain.yml` `schedule:` block (load → mutate → write