mission-pod
Execute a single task with Pathfinder/Builder/Inspector crew. Self-fetches work from Beads.
What this skill does
# /mission-pod - Task Executor
You are a **Pod** - a fresh spacecraft that fetches and executes ONE task from the Beads queue.
## Phase 1: Task Selection
```bash
# 1. Find work (if no task_id provided)
bd ready -t task --limit 1
# 2. Claim task
bd update <task_id> --status in_progress
# 3. Load task details (title, description, acceptance criteria, parent ID, and comments)
bd show <task_id>
# 4. Load parent feature context (if has parent)
bd show <parent_id>
```
Note: `bd show` includes comments at the bottom - no separate `bd comments` call needed.
---
## Phase 2: Briefing
Present the briefing before starting work:
```
+----------------------------------------------------------------+
| POD BRIEFING |
+----------------------------------------------------------------+
| Task: <task_id> |
| Title: <title> |
| Feature: <parent_title> (<parent_id>) |
+----------------------------------------------------------------+
| DESCRIPTION |
| <task description and acceptance criteria> |
+----------------------------------------------------------------+
| DEPENDENCY CONTEXT |
| <summary from [HANDOVER] comments, or "No dependencies"> |
+----------------------------------------------------------------+
| FEATURE CONTEXT |
| <key points from parent feature> |
+----------------------------------------------------------------+
```
---
## Phase 2.5: Pathfinder
Dispatch Pathfinder agent to explore codebase and document findings in bead comments.
```
Task tool:
subagent_type: "space-agents:mission-pathfinder"
prompt: |
Explore codebase for task [TASK_ID] in feature [FEATURE_ID].
Run `bd show [TASK_ID]` and `bd show [FEATURE_ID]` first.
```
Pathfinder adds `[PATHFINDER]` comment to the bead with:
- Codebase context (relevant files, patterns)
- Implementation guidance (recommended approach)
- Risks (blockers, unknowns)
Builder reads these findings from bead comments.
---
## Phase 3: Execution
Dispatch crew in sequence. Track builder attempts (max 3).
### Execution Flow
```
Pathfinder ---> Builder --- [COMPLETE] ---> Inspector --- [PASS] ---> Airlock
| |
+-- [FAILED] --> Retry +-- [FAIL] --> Retry
(max 3) (counts as retry)
```
### 3.1 Log Progress Comment
Before dispatching Builder, log the start:
```bash
bd comments add <task_id> "[ATTEMPT] Starting implementation - attempt 1"
```
### 3.2 Dispatch Crew
**CRITICAL:** Always pass `task_id` and `feature_id` (parent_id) explicitly to each agent. Agents will run `bd show` to fetch authoritative details from Beads.
| Agent | subagent_type | Prompt must include | On success | On fail |
|-------|---------------|---------------------|------------|---------|
| **Pathfinder** | `space-agents:mission-pathfinder` | task_id, feature_id | → Builder | Exit (exploration failed) |
| **Builder** | `space-agents:mission-builder` | task_id, feature_id | → Inspector | Retry (max 3) |
| **Inspector** | `space-agents:mission-inspector` | task_id, feature_id | → Airlock | → Builder retry |
Example Builder prompt:
```
"Execute task [TASK_ID] for feature [FEATURE_ID].
Run `bd show [TASK_ID]` and `bd show [FEATURE_ID]` first.
Pathfinder findings are in bead comments."
```
### 3.3 Run Airlock
Invoke `/mission-airlock` for validation. Exit 0 → completion. Exit non-zero → blocked.
---
## Phase 4: Handover and Completion
**CRITICAL: You MUST write a handover comment before closing.**
### 4.1 Write Handover Comment
Add a handover comment that future tasks can reference:
```bash
bd comments add <task_id> "[HANDOVER] <summary>
## Summary
<2-3 sentence summary of what was accomplished>
## Files Changed
- path/to/file1.ts (created/modified)
- path/to/file2.ts (modified)
## Key Details
<Important implementation details dependent tasks should know>
## Notes
<Any context that would help subsequent work>"
```
### 4.2 Close the Task
```bash
bd close <task_id>
```
### 4.3 Exit Success
Display completion message and exit with code 0:
```
┌────────────────────────────────────────────────────────────────┐
│ POD COMPLETE │
├────────────────────────────────────────────────────────────────┤
│ Task: <task_id> ✓ │
│ <task_title> │
├────────────────────────────────────────────────────────────────┤
│ SUMMARY │
│ <2-3 sentence summary of what was accomplished> │
├────────────────────────────────────────────────────────────────┤
│ FILES │
│ + path/to/new-file.ts (created) │
│ ~ path/to/modified.ts (modified) │
├────────────────────────────────────────────────────────────────┤
│ ISSUES │
│ <any warnings or notes, or "None"> │
└────────────────────────────────────────────────────────────────┘
```
---
## Failure Protocol
On unrecoverable failure:
```bash
# 1. Write blocked comment
bd comments add <task_id> "[BLOCKED] <reason>: what failed, what tried, suggested fix"
# 2. Create bug if applicable
bd create -t bug --title "Bug in <task_id>: <summary>" --parent <task_id>
# 3. Update status
bd update <task_id> --status blocked
```
Display failure message and exit with code 1:
```
┌────────────────────────────────────────────────────────────────┐
│ POD BLOCKED │
├────────────────────────────────────────────────────────────────┤
│ Task: <task_id> ✗ │
│ <task_title> │
├────────────────────────────────────────────────────────────────┤
│ BLOCKER │
│ <what failed and why> │
├────────────────────────────────────────────────────────────────┤
│ ATTEMPTED │
│ <what was tried before giving up> │
├────────────────────────────────────────────────────────────────┤
│ NEXT STEPS │
│ <suggested fix or action needed> │
└────────────────────────────────────────────────────────────────┘
```
---
## Comment Prefixes
Use these standard prefixes for structured comments:
| Prefix | Purpose |
|--------|---------|
| `[PATHFINDER]` | Codebase exploration findings from Pathfinder |
| `[BUILDER]` | Builder completion summary (files changed, tests, details) |
| `[INSPECTOR]` | Inspector review results (requirements + quality pass/fail) |
| `[ATTEMPT]` | Builder attempt start (includes attempt number) |
| `[HANDOVER]` | Completion summary for dependent tasks |
| `[PROGRESS]` | Work log entry during execution |
| `[BLOCKED]` | Blocker description with context |
| `[ALERT:severity]` | Issue requiring attention |
---
## Constraints
**Do:**
- Display briefing before starting work
- Read dependency handovers for context
- Dispatch crew via Task tool (Pathfinder, then Builder, then Inspector)
- Write handover comment before closing (always!)
- Log progress with titled comments
- Stay focused on the single task
**Do NOT:**
- Write code yourself (dispatch Builder)
- Skip the handover (dependent tasks need it!)
- Continue after critical failure
- Scope creep beyondRelated in Productivity
gitea-workflow
IncludedOrchestrate agile development workflows for Gitea repositories using the tea CLI. Use when working with Gitea-hosted repos and asking to 'run the workflow', 'continue working', 'what's next', 'complete the task cycle', 'start my day', 'end the sprint', 'implement the next task', or wanting guided step-by-step development assistance. Keywords: workflow, orchestrate, agile, task cycle, sprint, daily, implement, review, PR, standup, retrospective, gitea, tea.
microsoft-graph-gateway
IncludedRoute Microsoft Graph work in this workspace. Use when users want to read or write Outlook mail, calendar events, contacts, OneDrive or SharePoint files, Teams, Planner, To Do, users, groups, directory data, or arbitrary Microsoft Graph endpoints from VS Code. Prefer WorkIQ for common read scenarios. Use Microsoft Graph for write actions and gap-read scenarios that need exact Graph properties, filters, permissions, or endpoints.
copilotkit
IncludedUse when building with CopilotKit — setup, development, integrations, debugging, upgrading, or contributing. Routes to the appropriate specialized skill based on the task.
wordly-wisdom
IncludedProvides calibrated decision analysis using Charlie Munger-style multiple mental models, inversion, incentive mapping, circle-of-competence checks, misjudgment audits, second-order effects, and forecast updates. Use when the user asks for an oracle take, a hard call, a decision memo, a premortem, an outside view, a red-team, a sanity-check, what am I missing, think this through, or wants a strategy, hire, investment, plan, product, partnership, or major life choice analysed. Avoid for simple factual lookups or time-sensitive legal, medical, or market questions without fresh evidence.
swain-session
IncludedSession management and project status dashboard. Owns the full session lifecycle (start/work/close/resume), focus lane, bookmarks, worktree detection, and tab naming. Also serves as the project status dashboard — shows active epics, progress, actionable next steps, blocked items, tasks, GitHub issues, and recommendations. Worktree creation is deferred to swain-do task dispatch (SPEC-195). Triggers on: 'session', 'status', 'what's next', 'dashboard', 'overview', 'where are we', 'what should I work on', 'show me priorities', 'bookmark', 'focus on', 'session info'.
gandi
IncludedComprehensive Gandi domain registrar integration for domain and DNS management. Register and manage domains, create/update/delete DNS records (A, AAAA, CNAME, MX, TXT, SRV, and more), configure email forwarding and aliases, check SSL certificate status, create DNS snapshots for safe rollback, bulk update zone files, and monitor domain expiration. Supports multi-domain management, zone file import/export, and automated DNS backups. Includes both read-only and destructive operations with safety controls.