agentleFS
McCavityMcCavity/claude-code-dashboard/.claude/skills/mission-control/SKILL.md

mission-control

Skill0 starsChanged 6 months agoMITView on GitHub

Background dispatcher that materializes scheduled tasks, runs them via `claude -p`, parses DECISION:/INBOX: markers from streaming output, and writes a live state row per session. Operates on the Command Centre SQLite DB.

4 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions4 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 4

    1. builderz-labs/mission-control★ 6.3ksame name
    2. sunholo-data/ailang★ 34same name
    3. alexanderpino/skills★ 1same name
    4. corygabrielsen/skills★ 1same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

The file

Files
SKILL.md

Mission Control

This is not a user-invocable skill. It is the daemon side of Command Centre: a launchd-driven Python loop that fires every 120 seconds.

Files

FileRole
heartbeat.pylaunchd entry point. Tick = materialize schedules + dispatcher run + heartbeat row.
dispatcher.pyPicks pending tasks, spawns claude -p children, parses streamed output.
task_tracker.pyAtomic ops_tasks operations (claim, complete, fail).
skill_router.pyOptional Haiku call that picks a skill for unassigned tasks.
session_state_hook.pyClaude Code hook target — writes live_session_state rows.

Concurrency model

  • MAX_CONCURRENT (env, default 3) tasks may run at once.
  • Each child gets a marker file at <data>/.tmp/mission-control-queue/pids/<pid> so the dashboard's emergency-stop can SIGTERM them without false-positives on unrelated claude -p terminals.
  • Tasks are claimed atomically: UPDATE ops_tasks SET status='running' WHERE id=? AND status='pending' — only the row whose rowcount is 1 proceeds. Daemon and --once runs cannot race.

Markers Claude can write

Inside any claude -p output (stream or classic mode), prefix a line with one of:

  • DECISION: <prompt> — surfaces a HITL question on the dashboard. Block the run for ≤ TASK_TIMEOUT_SECONDS or until answered.
  • INBOX: <body> — non-blocking note posted to the user inbox.

Markers inside triple-backtick fenced blocks are ignored.

Hook target

session_state_hook.py is wired into Claude Code's settings.json hooks array by setup_otel.py so the dashboard's LiveSessionsCard can show real-time state and current_tool for every session.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.