/onebrain:schedule-oncefrom onebrain
Interactive wizard to schedule a OneBrain skill for a single future run at a specific datetime, then auto-uninstall after execution.
Ships in onebrain. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
For users who want a reminder or task to fire ONCE at a specific date and time, then disappear cleanly. Walks through:
schedulable_with_args)onebrain schedule registerAfter the scheduled time, the OS scheduler runs the skill once and the entry deletes itself (launchd self-removal block · Task Scheduler DeleteExpiredTaskAfter · systemd ExecStopPost cleanup).
List all schedulable skills by reading each SKILL.md frontmatter under .claude/plugins/onebrain/skills/. Filter for entries where schedulable: true OR schedulable_with_args: true.
Show via AskUserQuestion:
schedulable: true (no args required): e.g. /daily, /weekly, /recap, /doctor, /tasks, /mocschedulable_with_args: true (args required — wizard will prompt): e.g. /distill, /research, /summarize, /searchStore: chosen_skill (the slash-command name, e.g. /daily).
Ask which harness should execute the skill: Claude (default/backward compatible), Gemini, or Codex. Store chosen_harness. Codex entries keep the shared YAML skill name (/daily); the scheduler translates it to $onebrain:daily.
Prompt for YYYY-MM-DD via plain conversational text:
What date should
{chosen_skill}run? Enter a date in YYYY-MM-DD format.
Validate:
YYYY-MM-DD (4-digit year, 2-digit month 01–12, 2-digit day 01–31).Invalid date format. Please use YYYY-MM-DD (e.g. 2026-05-15).Date must be in the future. Current time: <now>.Store: run_date.
Prompt for HH:MM (24-hour) via plain conversational text:
What time should it run? Enter time in HH:MM format (24-hour, e.g. 14:30).
Validate:
That time has already passed today. Please enter a future time or change the date.Store: run_time, run_hour, run_minute.
If chosen_skill has schedulable_with_args: true, read its required_args list from the SKILL.md frontmatter and prompt for each one via AskUserQuestion or plain conversational text.
What argument should be passed to
{chosen_skill}when it runs? For example, for/distillyou might enter a topic name like "machine learning".
Rules:
"): Argument values cannot contain double-quote characters due to shell wrapper constraints. Please rephrase without quotes.Store: skill_args (key/value map; omit if no args).
Show a preview via AskUserQuestion:
Preview block:
{chosen_skill} will run once at {run_date} {run_time}.
Harness: {chosen_harness}
After firing, the schedule auto-uninstalls.
Output → vault (07-logs/scheduler/{YYYY}/{MM}/{run_date}-{skill-name}.md)
Confirm?
If Cancel, stop with no changes.
Read onebrain.yml (full file, parse as YAML).
Conflict check: Look in the schedule: block for any entry where:
skill matches chosen_skill, ANDat field (one-shot) OR cron field produces a schedule label that would collide.If a conflict is found, ask via AskUserQuestion:
{chosen_skill} already has a scheduled entry. How would you like to proceed?"If Cancel, stop.
Build the one-shot entry:
- at: "YYYY-MM-DD HH:MM"
skill: /skill-name
harness: codex # omit for Claude; include gemini/codex when selected
args: # omit entire args key if no args
key: value
schedule: list.schedule: block does not exist in onebrain.yml, create it.Atomic write:
onebrain.yml.tmp in the vault root.onebrain.yml.tmp → onebrain.yml (atomic replace on same filesystem).onebrain.yml.tmp if it exists; report the error; do not proceed to register step.Run from vault root:
onebrain schedule register
If the command fails, report the error. onebrain.yml has already been updated — the user can retry onebrain schedule register manually.
Say:
✓ Scheduled {chosen_skill} for {run_date} {run_time} (one-shot). Will auto-uninstall after firing.
Date must be in the future. Current time: <now> (Step 2).schedule: block — wizard creates it in Step 6.AskUserQuestion: overwrite or cancel (Step 6)." — reject with clear error; re-prompt (Step 4). Carried from backend constraint: the one-shot shell wrapper does not support double-quote characters in argument values.schedulable_with_args skill, no args provided — wizard prompts in Step 4 before proceeding; empty values not accepted.yaml library (already in CLI deps) — preserve comments and key order during write.onebrain schedule register generates for a one-shot entry runs the skill once, then removes itself (macOS: launchctl bootout + rm -f; Windows: DeleteExpiredTaskAfter; Linux: ExecStopPost disable+rm+daemon-reload) — the wizard does not need to schedule cleanup; the artifact handles it.at: field format is "YYYY-MM-DD HH:MM" (quoted string). Do not use cron syntax for one-shot entries.at: field is written.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub onebrain-ai/onebrain --plugin onebrain32 skills in this plugin
/bookmarkQuick URL bookmark capture : paste a link, AI generates name and description, suggests category, saves to Bookmarks.md in awesome-list format. Invoke when user wants to save a URL for later — bare URL with no other context defaults to this. Do NOT use for: deeply processing or summarizing the URL content now (use summarize), saving a note that is not a URL (use capture), or researching a topic from scratch (use research)./braindumpCapture a stream of raw thoughts : classify them and file to inbox with action items extracted. Use when the user signals a free-form, stream-of-consciousness dump with multiple unrelated threads — 'let me dump everything on my mind'. Do NOT use for: a single titled idea (use capture), saving a URL (use bookmark), or anything structured and focused./Other plugins' skills for the same job