schedule-removelisted
Install: claude install-skill onebrain-ai/onebrain
# /schedule-remove — Remove a scheduled skill
## Purpose
Safely unschedule a skill: presents the current schedule, confirms intent, removes the entry from onebrain.yml, and unregisters the corresponding launchd job.
---
## Skill flow
### Step 1: Show current schedule
Run the `/schedule-list` logic (read onebrain.yml `schedule:` block + call `onebrain schedule register --status`) to display the current entries.
If no entries are found:
```
No scheduled skills to remove.
→ Run /schedule-add to set one up.
```
Stop.
### Step 2: Pick entry to remove
Show via `AskUserQuestion`:
- question: "Which scheduled skill would you like to remove?"
- header: "Remove Schedule"
- multiSelect: false
- options: one option per scheduled entry, label = `/skill-name` with cron and frequency as description
- e.g. label: `/daily`, description: `0 9 * * * — daily at 09:00`
Store: `chosen_entry` (the matched onebrain.yml schedule entry).
### Step 3: Confirm removal
Show via `AskUserQuestion`:
- question: "Remove `{chosen_skill}` scheduled at `{cron}` ({frequency_description})? This stops all automatic invocations."
- header: "Confirm Removal"
- multiSelect: false
- options:
- label: "Yes, remove it", description: "Delete the schedule entry and unregister the launchd plist"
- label: "Cancel", description: "Keep the schedule as-is"
If Cancel, stop.
### Step 4: Edit onebrain.yml
Read onebrain.yml. Remove the matching entry from the `schedule:` block.
Write the full updated onebrai