/hivehouse:overnight <what to work through>from hivehouse
Runs a queue of work unattended on the local or a remote host using a team of Claude sessions with heartbeat monitoring and a morning report. Invoked via /hivehouse:overnight.
Ships in hivehouse. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Claude Code fills a ${user_config.X} below only when a value of X was saved; only when one still reads literally, as ${user_config.X}, run hh-settings option X and use what it prints (the value saved in Claude Code's settings, else the plugin's default); a filled value is used as it is.
You run a queue of work while the owner is away. The work: $ARGUMENTS
First run hh-resolve rules and read the file it prints, and follow it (the project's or the user's own custom/rules/RULES.md,
else the plugin's). Briefs follow the file hh-resolve brief prints; a role's file is the one hh-resolve role <role> prints. If it prints a note that it ignored a custom file, tell the owner why. Team setup is the same as the start skill's steps 1, 4, 5 and 6 (read the
project and resume the team, name yourself, plan with the owner's OK, spawn); this skill adds what an unattended night
needs.
Call every hh-* executable on its own, never inside a compound command. Executables that are not pre-approved
(hh-push, hh-cleanup, hh-gate, hh-slot run, hh-slot acquire, hh-remote-sync) ask for permission each time;
that is intended, and you do not work around it. Never write permission rules into the owner's settings.
A skill's pre-approval ends at the owner's next message, and every heartbeat beat is a new turn, so from the first beat
hh-context, hh-disk, hh-settings, hh-rotate and hh-self-rotate are no longer pre-approved and hh-cleanup
never was. Overnight therefore only runs unattended in auto mode, where the classifier decides each call (step 3).
If hh-* is not found, the plugin is not enabled in this session: say so and stop.
Working through the owner's hub. When the work reads Task <id>: read <file>. It came from the owner through <hub>,
read that file first and register with the hub's name as the start skill's "Working through the owner's hub" says
(hh-spawn --self --agent orchestrator --hub <hub>). The owner is then not at this screen: they read and answer only
through the hub, so everywhere this skill says to ask them or wait for their OK, send it to the hub with SendMessage
instead and wait for a reply that begins OWNER on TASK <id>: (the owner's own words) or HUB on TASK <id>: (the hub's
decision, made for the owner while they are away: act on it, but what the hub keeps for the owner, such as a push, a
deploy, a paid step or deleting data, still waits for the owner's own reply):
TASK <id>: HH-CLARIFY for a question and TASK <id>: HH-PLAN for the queue or the team, then the same text you would
have shown on this screen;TASK <id>: BLOCKED with one line, so
an owner looking at the hub from elsewhere sees it;TASK <id>: DONE, the report's path and its three to five most
important lines.hh-cleanup and the other executables that ask permission still ask on this screen, each time. The hub reads such a
dialog and shows the owner its text and options, and sends the one key for the option they choose; the owner no longer has
to be at this pane.
Run hh-adhd. When it prints a path, the owner uses the i-have-adhd output style: Read that file and follow it
for every message to the owner, from now on (your pickup line after a rotation names it again). When it prints nothing,
carry on as usual; never install or enable it. The morning report follows it too.
List the open decisions: scope, done conditions, paid steps, what may be pushed, where to run. Ask each with
AskUserQuestion, multiple choice, until none remain. Write HH-CLARIFY: before the questions. Every option must satisfy
a rule the owner has already fixed. Nobody is there to answer after this step, so an assumption made here is a
decision made for the owner: ask instead.
Write .hivehouse/overnight-queue.md: each item with its done condition; each paid step with its price; what may be
pushed, naming what CI runs on that push (deploys, migrations), since a push that deploys is an outward step; and the
morning-report template from ${CLAUDE_SKILL_DIR}/morning-report.md. Show it to the owner and take their OK.
This machine or a named remote host (offer the hosts in ${user_config.remote_hosts} as the choices), and with it the
permission mode. Resolve the local mode on its own call:
hh-settings resolve permission_mode ${user_config.permission_mode_local}.
The heartbeat in step 5 needs this session to run in auto mode, or in bypass while the owner is away (the hub's delegate
mode starts it so and hh-settings then resolves to bypassPermissions). If the resolved mode is neither auto nor that,
or this session is not running in one of those modes (if you cannot tell, ask the owner), do not set the heartbeat and do not start the night: tell the owner that each beat would sit
on a permission prompt with nobody there, and what they must set (permission_mode_local to auto, and this session
started in auto mode). Ask whether they want to change that or stop.
A dedicated host (${user_config.dedicated_hosts}) is where the owner may start a bypass session by hand, and only when they
confirm it that time; a previous night's yes does not carry. hivehouse never starts bypass itself except in away mode, on this
machine, for a project the owner's delegate file lists: hh-spawn refuses it otherwise (exit 4), and so does the remote one.
An agent on a remote host is started by hh-remote-sync start-agent, in the resolved mode and never in bypass, which asks
permission each time.
Over ssh, with hh-remote-sync, in this order, each on its own call:
check: free disk first, the hivehouse plugin installed at the same version (a private marketplace needs git
credentials there), and the plugin's install path, which every later remote call uses by absolute path;branches: bundles of the branches the remote lacks;files: files git does not carry, by manifest, verified by sha256;memory: copied by content into the remote's own path-derived memory folder (a different absolute path is a
different folder, so the mapping is explicit);secret: such as .env, copied at mode 0600, recorded in the remote's manifest and removed by its cleanup; settings
are compared by key hash and never printed;start-agent: how an agent starts there (step 5). First send the agent's role.md and RULES.md to
<root>/.hivehouse/team/<agent>/ with files, then hh-remote-sync start-agent <host> <root> <agent> --model … --effort … --mode <resolved> (add --worktree <abs> --branch <b> --base <b> for a worktree). It runs the remote's own hh-spawn, in
the resolved mode and never in bypass, and asks permission each time.Start the dev servers there and health-check them before the team starts.
Spawn as the start skill's step 6 (on a remote host, start each agent with hh-remote-sync start-agent, step 4, not hh-spawn), with the models and efforts from ${user_config.model_builder} /
${user_config.effort_builder} and ${user_config.model_reviewer} / ${user_config.effort_reviewer}. Write HH-PLAN:
and show the team and the queue's order; wait for the owner's OK.
Then set the heartbeat with CronCreate, every ${user_config.heartbeat_minutes} minutes. Each beat:
hh-context --all, yours included; rotate any session at or above ${user_config.rotate_at_percent}% as the start
skill's step 8 says, yourself last.hh-disk --min-gb ${user_config.min_free_gb}; when it reports low, hh-cleanup --disk (it asks permission).hh-settings resolve overnight_ceiling_usd ${user_config.overnight_ceiling_usd}.
At the ceiling, stop starting paid work and say so in the report.Record the CronCreate id in your handoff, so a rotated orchestrator can CronDelete it (CronList also finds it).
A heartbeat does not survive a restart. When you were woken (resumed) in the middle of a night, run CronList
first: if the heartbeat recorded in your handoff is gone, create it again and record the new id.
Add a dated line to your handoff for each beat that changed something.
If a call in a beat is refused (a classifier denial or a permission error): log it in the handoff with the command and the reason, finish everything else the beat can do, and put it in the morning report. Never route around a refusal, never retry it differently, and never stop the night silently.
hh-slot run --wait for suites, builds and browser runs (it queues; never retry by hand), while hh-gate takes the slot itself. A
gate log is read, never assumed (hh-gate-verify).date, never estimated.Write the report from ${CLAUDE_SKILL_DIR}/morning-report.md to .hivehouse/morning-report-<YYYY-MM-DD>.md, the date from date: what landed, what is on a branch only, spend, and the
owner's questions. Delete the heartbeat (CronDelete). The return trip of branches and files from a remote host, and
the remote's cleanup (hh-remote-sync, then hh-cleanup --finish --dry-run and hh-cleanup --finish), happen only
on the owner's word.
What SKILL.md sets; muted values are Claude Code's defaults
When the owner wants work to continue while they are away, or to move a team to another machine for the night.
Three short reads, in order
npx claudepluginhub cleveland-rd/hivehouse --plugin hivehouse9 skills in this plugin
/bubble-reviewReview a change at a stated depth (glance, delta, standard, full bubble) from a scratch copy, and give a PASS or FAIL verdict with REQUIRED, SHOULD and NOTE findings across nine bubble categories. Use when asked to review a diff, branch or tip./cleanupFull owner cleanup of a hivehouse run: preview what the manifest recorded, remove it on the owner's word, and report free disk before and after. Use when the owner types /hivehouse:cleanup after or during a run./doc-updaterAnalyzes code changes (staged, diff from main, or full codebase) and scans all documentation for staleness. Identifies outdated docs, presents a batch update proposal for approval, then applies all approved changes. Use when you want to ensure docs stay in sync with code changes.Other plugins' skills for the same job