Codex

mission-control

Orchestrate multi-loop background operations via the Mission Control dashboard — start sessions, dispatch missions, monitor, and stop

104 stars

Best use case

mission-control is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

It is a strong fit for teams already working in Codex.

Orchestrate multi-loop background operations via the Mission Control dashboard — start sessions, dispatch missions, monitor, and stop

Teams using mission-control should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/mission-control/SKILL.md --create-dirs "https://raw.githubusercontent.com/jmagly/aiwg/main/.agents/skills/mission-control/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/mission-control/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How mission-control Compares

Feature / Agentmission-controlStandard Approach
Platform SupportCodexLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Orchestrate multi-loop background operations via the Mission Control dashboard — start sessions, dispatch missions, monitor, and stop

Which AI agents support this skill?

This skill is designed for Codex.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# Mission Control

You orchestrate multi-loop background operations using the Mission Control dashboard.

## Triggers

Alternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):

- "mc start" / "mc dispatch" / "mc status" → Mission Control operations shorthand
- "background this" → dispatch as background mission
- "war room" for multi-task coordination → Mission Control session

## Trigger Patterns Reference

| Pattern | Example | Action |
|---------|---------|--------|
| Background tasks | "run these tasks in the background" | Start session + dispatch |
| Parallel orchestration | "orchestrate X and Y in parallel" | Start session + dispatch each |
| Monitor loops | "monitor background tasks" | `aiwg mc status` or `aiwg mc watch` |
| Start session | "start a mission control session" | `aiwg mc start` |
| Check status | "how are the background tasks doing?" | `aiwg mc status --json` |
| Stop missions | "stop background work" | `aiwg mc stop` |

## Behavior

When triggered:

1. **Determine intent**:
   - Starting new background work → `aiwg mc start` + `aiwg mc dispatch`
   - Checking on existing work → `aiwg mc status`
   - Stopping work → `aiwg mc stop`

2. **For new background orchestration**:

   ```bash
   # Start a named session
   aiwg mc start --name "Sprint 4 Construction"

   # Dispatch missions (one per task)
   aiwg mc dispatch <session-id> "Fix auth service" --completion "npm test passes" --priority high
   aiwg mc dispatch <session-id> "Add pagination" --completion "all list endpoints paginated"
   aiwg mc dispatch <session-id> "Write integration tests" --completion "coverage > 80%"

   # Monitor
   aiwg mc status <session-id>
   aiwg mc watch <session-id>
   ```

3. **For monitoring**:

   ```bash
   # Dashboard view
   aiwg mc status

   # Machine-readable for agent orchestration
   aiwg mc status --json

   # List all sessions
   aiwg mc list
   ```

4. **For lifecycle management**:

   ```bash
   # Pause all running missions
   aiwg mc pause <session-id>

   # Resume paused session
   aiwg mc resume <session-id>

   # Stop (abort all)
   aiwg mc stop <session-id>

   # Stop (let running missions finish, cancel queued)
   aiwg mc stop <session-id> --drain
   ```

5. **Report the result** inline — summarize session state and mission progress.

## Examples

### Example 1: Parallel construction tasks

**User**: "Run these three features in parallel: auth fix, pagination, and test coverage"

**Action**:
```bash
aiwg mc start --name "Parallel Features"
aiwg mc dispatch <id> "Fix auth service" --completion "auth tests pass"
aiwg mc dispatch <id> "Add pagination to list endpoints" --completion "paginated responses"
aiwg mc dispatch <id> "Increase test coverage" --completion "coverage > 80%"
```

**Response**: "Started Mission Control session 'Parallel Features' with 3 missions queued. Use `aiwg mc status` to monitor progress."

### Example 2: Check background progress

**User**: "How are the background tasks doing?"

**Action**:
```bash
aiwg mc status
```

**Response**: "Mission Control 'Parallel Features': 1/3 done, 2 running (auth fix complete, pagination at loop 3/10, coverage at loop 2/10)."

### Example 3: Stop and clean up

**User**: "Stop the background tasks, let running ones finish"

**Action**:
```bash
aiwg mc stop <session-id> --drain
```

**Response**: "Draining session: 1 queued mission cancelled, 2 running missions will complete naturally."

## Clarification Prompts

If the user's intent is ambiguous:

- "Would you like me to start a new Mission Control session, or check on an existing one?"
- "How many parallel missions should I dispatch? (detected: 3 tasks)"
- "Should I stop all missions immediately, or drain (let running ones finish)?"

## References

- @$AIWG_ROOT/src/cli/handlers/mc.ts — Mission Control command handler
- @$AIWG_ROOT/docs/cli-reference.md — CLI reference
- @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/rules/self-maintenance.md — Self-maintenance rule

Related Skills

iteration-control

104
from jmagly/aiwg

Manage bounded iteration loops for autonomous implementation — track retries, synthesize failure feedback, and escalate when limits hit

Codex

flow-change-control

104
from jmagly/aiwg

Orchestrate change control workflow with baseline management, impact assessment, CCB review, and communication

Codex

aiwg-orchestrate

104
from jmagly/aiwg

Route structured artifact work to AIWG workflows via MCP with zero parent context cost

venv-manager

104
from jmagly/aiwg

Create, manage, and validate Python virtual environments. Use for project isolation and dependency management.

pytest-runner

104
from jmagly/aiwg

Execute Python tests with pytest, supporting fixtures, markers, coverage, and parallel execution. Use for Python test automation.

vitest-runner

104
from jmagly/aiwg

Execute JavaScript/TypeScript tests with Vitest, supporting coverage, watch mode, and parallel execution. Use for JS/TS test automation.

eslint-checker

104
from jmagly/aiwg

Run ESLint for JavaScript/TypeScript code quality and style enforcement. Use for static analysis and auto-fixing.

repo-analyzer

104
from jmagly/aiwg

Analyze GitHub repositories for structure, documentation, dependencies, and contribution patterns. Use for codebase understanding and health assessment.

pr-reviewer

104
from jmagly/aiwg

Review GitHub pull requests for code quality, security, and best practices. Use for automated PR feedback and approval workflows.

YouTube Acquisition

104
from jmagly/aiwg

yt-dlp patterns for acquiring content from YouTube and video platforms

Quality Filtering

104
from jmagly/aiwg

Accept/reject logic and quality scoring heuristics for media content

Provenance Tracking

104
from jmagly/aiwg

W3C PROV-O patterns for tracking media derivation chains and production history