recoverlisted
Install: claude install-skill boshu2/agentops
# $recover — Context Recovery After Compaction
> **Purpose:** Help you get back up to speed after context compaction. Automatically detects in-progress work (RPI runs, evolve cycles), loads relevant knowledge, summarizes what you were doing and what's next, and prefers the Codex hookless lifecycle path when applicable.
**YOU MUST EXECUTE THIS WORKFLOW. Do not just describe it.**
**CLI dependencies:** gt, ao, bd — all optional. Shows what's available, skips what isn't.
---
## Quick Start
```bash
$recover # Full recovery dashboard
$recover --json # Machine-readable JSON output
ao codex status # Codex hookless lifecycle health
ao codex ensure-start # Rebuild startup context explicitly in Codex
```
---
## Execution Steps
### Step 1: Detect In-Progress Sessions (Parallel)
Run ALL of the following in parallel bash calls:
**Call 1 — RPI Phased State:**
```bash
if [ -f .agents/rpi/phased-state.json ]; then
echo "=== RPI_STATE ==="
cat .agents/rpi/phased-state.json
else
echo "RPI_STATE=NONE"
fi
```
**Call 2 — Evolve Cycle History:**
```bash
if [ -f .agents/evolve/cycle-history.jsonl ]; then
echo "=== EVOLVE_STATE ==="
tail -3 .agents/evolve/cycle-history.jsonl
else
echo "EVOLVE_STATE=NONE"
fi
```
**Call 3 — Git Recent Changes:**
```bash
echo "=== GIT_STATUS ==="
git status --short
echo "=== GIT_LOG ==="
git log --oneline -5
echo "=== GIT_BRANCH ==="
git branch --show-current
```
**Call 4 — Work Queue State:**
```bash
if bd ready --j