mission-ralph
Launch ralph.sh in background. Lightweight mode (default) or full Pod crew (--pod). Best for large features (10+ tasks).
What this skill does
# /mission-ralph - Automatic Background Execution
Launch the Ralph loop in background. Runs automatically until all tasks complete or a critical blocker halts execution.
## The Process
1. **Validate feature** - Check feature exists and has tasks
2. **Activate feature** - Run `bd update FEATURE_ID --status in_progress`
3. **Ask launch mode** - "Start Ralph in mprocs (visible) or background (invisible)?"
4. **Launch Ralph**:
- If **background**: Run the script directly
- If **visible**: Print the command for user to run in a new terminal window
5. **Inform user** - Tell them how to monitor progress
6. **Exit** - HOUSTON's job is done, Ralph takes over
## Modes
| Mode | Flag | Execution | Token Cost |
|------|------|-----------|------------|
| Lightweight (default) | (none) | Pathfinder scout → HOUSTON direct → Airlock | ~50k/task |
| Pod | `--pod` | Full crew via /mission-pod skill | ~150k+/task |
Use lightweight mode for straightforward tasks. Use `--pod` when tasks need deeper analysis or have complex requirements.
## Launch Command
```bash
# Lightweight mode (default) - background
bash skills/mission-ralph/scripts/ralph.sh FEATURE_ID &
# Lightweight mode - visible (mprocs TUI)
bash skills/mission-ralph/scripts/ralph.sh FEATURE_ID --visible
# Pod mode - background (full crew per task)
bash skills/mission-ralph/scripts/ralph.sh FEATURE_ID --pod &
# Pod mode - visible
bash skills/mission-ralph/scripts/ralph.sh FEATURE_ID --pod --visible
```
## What Ralph Does
Ralph executes tasks in a loop until completion:
**Lightweight mode (default):**
1. Get next ready task via `bd ready`
2. Run Pathfinder scout to gather context
3. HOUSTON executes task directly
4. Run Airlock validation
5. Handle result (complete, retry, or create blocking bug)
6. Continue until no tasks remain or critical halt
**Pod mode (`--pod`):**
1. Get next ready task via `bd ready`
2. Spawn full Pod crew (Pathfinder → Builder → Inspector → Airlock)
3. Handle result (complete, retry, or create blocking bug)
4. Continue until no tasks remain or critical halt
## User Communication
**If background mode:**
```
HOUSTON: Ralph loop launched for feature FEATURE_ID.
Ralph runs automatically in background.
Check progress: /capcom
You'll be notified on:
- Feature completion
- Critical blocker (requires intervention)
Safe to close this session.
```
**If visible mode:**
```
HOUSTON: Run this command in a new terminal window:
bash skills/mission-ralph/scripts/ralph.sh FEATURE_ID --visible
This opens mprocs with live task progress.
Check status anytime: /capcom
```
## Monitoring
- `/capcom` - Check feature status and task progress
- `bd list --parent FEATURE_ID` - See all tasks
- `bd ready` - See what's next in queue
- `bd dep tree FEATURE_ID` - See task hierarchy and status
## Logging
Ralph logs to both console and file via `tee`:
```
.space-agents/mission/staged/{feature-slug}/ralph.log
```
When the mission completes, the entire feature folder (including logs) moves to:
```
.space-agents/mission/complete/{feature-slug}/
```
## Exit Codes
| Code | Meaning |
|------|---------|
| 0 | Feature complete |
| 1 | Critical blocker - check `/capcom` |
| 2 | Configuration error |
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.