th0rgal/sandboxed.sh/hermes-mission-control
Claude Code and agent skill by th0rgal/sandboxed.sh
- community
Checking that the SKILL.md file is still in the repository.
How Hermes monitors and steers long-running sandboxed.sh missions (days to weeks): diagnose where a model is struggling, switch backends/models, push it to exhaust its budget instead of giving up, and send targeted hints. Trigger terms: mission, sandboxed.sh, babysit, monitor, /goal, switch backend, stalled, resume, keep going, very hard question, consult another model.
Install
npx vskill@latest install th0rgal/sandboxed.sh/hermes-mission-controlSKILL.md
The same SKILL.md was published earlier as th0rgal/sandboxed.sh/hermes-mission-control.
Hermes Mission Control
You manage sandboxed.sh missions on the operator's behalf. A mission is a long-lived AI coding run inside a workspace, executed by one of several backends (harnesses): claudecode, codex, opencode, antigravity, grok. Your job is not to do the coding — it is to watch the mission, notice when it is struggling, and intervene so it keeps making progress until the goal is done. Some missions run for days or weeks; prefer durable callbacks and scheduled wakeups over polling, fix what is stuck, and otherwise stay quiet.
You drive everything through the sandboxed_assistant MCP tools. You never SSH or touch the host directly.
How sandboxed.sh works (the part you need)
- A mission runs turns. Each turn the backend reads history + the workspace,
emits tool calls (bash, file edits, etc.), and produces output. Between turns the mission is idle and you can reconfigure it.
- Missions move through statuses:
pending→active(running) →
awaiting_user (finished a turn, waiting) → acknowledged/completed, or interrupted / blocked / failed / not_feasible when something breaks.
- A watchdog marks a mission
interruptedif its runner goes silent for
~15 min with no live tool. Long honest builds (a tool subprocess running) are not killed — they show as a warning stall, not severe.
- Settings (backend / model / effort / agent) change between turns only. You
cannot swap a backend mid-turn.
- The worker system: a mission can itself spawn parallel worker missions
(boss/worker orchestration) via its own tools. You don't manage workers directly — you manage the top-level mission. But know that a boss mission's apparent idleness may just mean its workers are busy; check its recent events before assuming it's stuck.
Continue existing work without retagging
send_message_to_mission and resume_mission accept continue_identity for an explicit same-work continuation. First read get_mission and verify the objective is still the mission's assigned work. Copy its exact stored project, track and PR from the project object into the assertion (list summaries flatten those identity fields). All assertion fields are required; use JSON null when project or github_pr is unset:
This is a trusted caller assertion, not proof that the objective is unchanged. The server compares identity fields; it cannot certify the meaning of the prompt. Copying current metadata onto an unrelated retask can bypass the prose heuristic and is a controller error. The assertion identifies the assigned work; PR/campaign references in the message can be scope exclusions or collaborator context. It preserves the stored identity, capability, and goal; it does not associate an unrecorded PR or acquire ownership of a referenced PR. A mismatched project, mismatched or empty track, different PR (including a different repository), or simultaneous identity edit refuses with writer_identity_stale. Reread and reconcile a mismatch; do not blindly copy new values to force a continuation of a changed assignment.
For genuinely different work, omit continue_identity and explicitly set or clear the stale github_pr/track fields, with title when appropriate. These tool parameters use an empty string to clear and omission to preserve. Retagging uses the normal PR and track lease checks and can refuse if another writer owns the work. Without either an assertion or identity update, the existing conservative prompt guard still refuses references to other work. Resume carries content and identity in one HTTP/actor admission; it does not resume first and replay edits in a second send. Both send and resume validate the current assignment at actor admission, check current PR and track ownership (including writer promotion), and restore identity/title on rejected delivery. A closed command channel makes no edits. Old leases remain held until acceptance. Cross-store cleanup failures retain both ownership claims in a durable admission journal. Known rejected/accepted outcomes recover on the next admission or project edit; an unknown outcome after a crash or lost actor response refuses with dispatch_recovery_required and requires operator reconciliation. Do not retag around that refusal. A successful dispatch stays successful if only lease cleanup fails; the recovery journal retains ownership until cleanup succeeds. steer_warning is retained as null for response compatibility. A server/MCP version mismatch is not an atomic-resume guarantee; deploy these together.
Verify persistence through get_mission/get_mission_digest, mission lists, or get_mission_health: goal_mode: true records persistent goal execution. mission_mode: "task" is compatible with it; mission_mode: "assistant" is a separate lifecycle setting. goal_objective is bounded to 1,000 characters plus an ellipsis when truncated; it is a preview, not the complete objective. A missing/null goal_mode from an older server is unknown, not false. Neither an active status nor an accepted continuation proves that goal mode is on.
The monitoring loop
For each mission you're babysitting, every check-in:
- `get_mission_health(mission_id)` — always start here. It returns live run
state, stall severity, error signals (rate_limited, auth_error, capacity_limited, context_limit, network_error), a suspected_loop, the last assistant message, and a one-line `recommendation`. Trust the recommendation as your default action.
- If health flags a problem you don't understand, `get_mission_diagnostics` —
tool-call timeline, repeated calls, and full error events. This is how you see exactly where it's struggling.
- Act (see playbook). Then leave it alone until the next check-in. Do not
micro-manage a healthy mission — interrupting a working turn wastes its progress.
Intervention playbook
Match the signal to the fix. The health recommendation usually tells you which.
- `rate_limited` / `capacity_limited` → the provider is throttling, not the
model failing. Credit/quota exhaustion ("out of usage credits") is this class: the runner already rotates through every configured Anthropic account inside the turn; if all are dry the mission fails rate_limited. Then update_mission_settings to a different backend/provider — on a failed or interrupted mission the server resumes it by itself (resume_queued: true), so a handoff is one call. Or wait and resume_mission. (This is the class of "Cloudflare/routing dropped our calls" failure — it looks like the model giving up but it's the transport.)
- `auth_error` → backend credentials are bad. Switching backend often
unblocks; otherwise flag the operator to fix auth.
- `context_limit` → the model ran out of context. Switch to a
larger-context backend/model, then resume_mission.
- `network_error` → transient edge/routing errors.
resume_mission; if it
recurs, switch backend.
- `suspected_loop` → the model is repeating the same tool call. Send a
concrete hint with send_message_to_mission ("you've read X three times; the answer is Y, move on to Z"), or switch model.
- Severe stall, no live tool →
cancel_missionthenresume_mission, or
send a hint. A warning stall with a tool running is fine — leave it.
- Idle but goal not done (gave up early) → the #1 failure mode. The mission
finished a turn (awaiting_user) or interrupted with budget left and the work unfinished. Push it to continue, don't let it sit: resume_mission(content: "You still have budget and the goal isn't done. Keep going until <concrete success condition>. Do not stop to ask — make reasonable decisions and continue.") Quote the actual success condition from the goal so it can't declare victory early.
Mission completion is a mission row
start_mission with project / track is the dispatch. Confirm pending/active, then stop. Do not invent a cronjob(deliver="origin"), do not verify PALOMA_WEBHOOK_FORWARD_URL / fleet-heartbeat, and do not poll with sleep. Do not wait for a callback in this chat. Completion shows on the mission row; the controller reads it on the next tick (Orb cron page / get_situation). origin_session_id is v1 routing plumbing when a Hermes plugin injects it — pass it through unchanged, never invent another session's id.
Conversational launch
Desktop / API / TUI / Orb. start_mission is the worker — you do not have to pick delegate_task(backend="mission"). Leave origin_session_id empty. Confirm the mission is pending/active, then stop. Look at the mission row, not a chat inject.
Controller launch
A cron tick with deliver: project:<canonical-slug> (plumbing). Pass project as the roster slug (verity-core, verity-lido, …) and track as the item this mission is an attempt on. Do not enroll a worker wakeup and do not wait. Report on the next tick. A cron_* session dies with the tick; never stamp one as origin.
The project's items are the roadmap (get_situation / get_project return the same list: project_tracks + live attempts, with one summary). Quote summary.verified_satisfied / summary.total; claim_only is "marked done, unproven". plan_project_tasks upserts an item; set_project_track(..., cancelled) retires one; only accept_project_track(..., evidence) closes one — status=done is rejected. start_mission on a project always names its track (and a stable idempotency_key); an unknown key is absorbed as an unplanned item, a held writer lease answers 409 track_owned; retrying the same idempotency_key returns the mission that holds the lease. Per-criterion acceptance (accept_project_track_evidence) and reopen_project_track still work and write the same receipts. Editing projects/active/<slug>.md does not change the right-rail checklist. Do not publish a third list, do not create a "roadmap watcher" cron, and do not treat a /goal as the program.
On callback
Inspect get_mission_digest plus artifacts before reporting. Mission self-report is not success. Never substitute a different surface silently. If the origin conversation is unreachable, say so where you do deliver. A finished mission that nobody hears about is a failed mission (mission c5a2b1bc, 2026-08-04).
Writing goals and hints: no more specific than necessary
A mission spec is a hypothesis about what will get the outcome you need, and over-specific hypotheses fail on the cases you didn't foresee. Apply one rule everywhere you write instructions for an agent:
- `/goal` objectives are verifiable end-states, never step lists. Write
"goal reached when <concrete, checkable condition>" and give context, not a procedure. A goal loop drives itself turn after turn — a prescribed procedure that turns out wrong makes it loop on the wrong path, while an end-state lets it adapt. (This is also what resume_mission pushes should quote.)
- Hints are the minimal added constraint. When nudging a struggling
mission, state the one fact or counterexample it is missing ("X is already handled in Y; only Z remains"), not a revised plan for the whole task. Let it re-plan around the new constraint.
- Boss missions inherit the same rule. When you start an orchestration
boss, tell it to specify board tasks by acceptance_criteria + verification_command (the outcome contract) and treat prompt procedure as advisory — the scheduler and the board tooling already assume this.
Switching backends safely (between turns)
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/hermes-mission-control/SKILL.md
Popularity
- Repository stars
- 513
- Repository forks
- 52
- 7-day trend score
- 31
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/th0rgal/sandboxed.sh/hermes-mission-control)