Claude
Skills
Sign in
Back

rlm-status

Included with Lifetime
$97 forever

Show status of RLM task tree execution

Productivity

What this skill does


# RLM Status Command

Display current status of RLM (Recursive Language Model) task tree execution, including decomposition hierarchy, sub-call progress, cost tracking, and completion estimates.

## Instructions

When invoked, analyze RLM task tree state and present comprehensive status:

1. **Load Task Tree State**
   - Load task tree from `.aiwg/rlm/trees/{tree_id}/state.json`
   - Load all sub-call states
   - Load cost tracking data
   - Load trajectory history

2. **Display Tree Structure**
   - Show task decomposition hierarchy
   - Mark active vs completed vs failed sub-calls
   - Display depth distribution
   - Show parallelization status

3. **Calculate Progress Metrics**
   - **Completion rate**: % of sub-calls completed
   - **Active sub-calls**: Currently executing tasks
   - **Failed sub-calls**: Tasks that encountered errors
   - **Total cost**: Cumulative token/USD cost
   - **Cost by depth**: Cost breakdown by tree level
   - **Time estimates**: Predicted completion time

4. **Present Status Dashboard**
   - Tree visualization (if `--tree` flag)
   - Cost summary (if `--cost` flag)
   - JSON export (if `--json` flag)
   - Default: condensed summary

## Arguments

- `--tree` - Show full task decomposition tree visualization
- `--cost` - Show detailed cost breakdown by sub-call
- `--depth [N]` - Limit tree display to depth N (default: all)
- `--json` - Output machine-readable JSON
- `--export [path]` - Export detailed report to file
- `[tree_id]` - Specific tree ID (default: most recent active tree)

## Default Output Format

```
╭─────────────────────────────────────────────────────────╮
│ RLM Task Tree Status                                    │
│ Tree ID: rlm-analyze-codebase-a1b2c3d4                  │
├─────────────────────────────────────────────────────────┤
│ Task: Analyze authentication module for security issues │
│ Status: RUNNING                                         │
│ Started: 2026-02-09 11:30:00                            │
│ Duration: 5m 23s                                        │
├─────────────────────────────────────────────────────────┤
│ Progress                                                │
│   Total Sub-Calls:     15                               │
│   ✓ Completed:         8  (53%)                         │
│   ⚙ Active:            4  (27%)                         │
│   ⏸ Pending:           2  (13%)                         │
│   ✗ Failed:            1  (7%)                          │
│                                                          │
│ Depth Distribution                                      │
│   Root (depth 0):      1                                │
│   Level 1:             5                                │
│   Level 2:             9                                │
│                                                          │
│ Cost                                                    │
│   Input Tokens:        125,430                          │
│   Output Tokens:       42,156                           │
│   Total Cost:          $0.84                            │
│                                                          │
│ Est. Completion: 2026-02-09 11:40:00 (9m 37s remaining) │
╰─────────────────────────────────────────────────────────╯

Active Sub-Calls:
  [1.2] Analyze token validation logic          (80% complete)
  [1.3] Review password hashing implementation   (45% complete)
  [2.1] Check JWT expiration handling           (30% complete)
  [2.4] Audit session management                (15% complete)

Recent Completion:
  ✓ [1.1] Parse authentication module structure
  ✓ [1.4] Identify security-relevant functions

Failed:
  ✗ [2.2] Analyze OAuth flow (error: file not found)

Use --tree for full decomposition hierarchy
Use --cost for detailed cost breakdown
```

## Tree Visualization Format (--tree)

```
╭─────────────────────────────────────────────────────────╮
│ RLM Task Tree: rlm-analyze-codebase-a1b2c3d4            │
├─────────────────────────────────────────────────────────┤
│                                                          │
│ [0] Root: Analyze authentication module                 │
│ │   Status: RUNNING | Cost: $0.12 | 2m 15s              │
│ │                                                          │
│ ├─ ✓ [1.1] Parse module structure                       │
│ │   │   Completed | Cost: $0.05 | 45s                   │
│ │   │                                                     │
│ │   ├─ ✓ [2.1] Extract function signatures             │
│ │   │       Completed | Cost: $0.02 | 18s               │
│ │   └─ ✓ [2.2] Map dependencies                         │
│ │           Completed | Cost: $0.03 | 27s               │
│ │                                                          │
│ ├─ ⚙ [1.2] Analyze token validation                     │
│ │   │   ACTIVE (80%) | Cost: $0.08 | 1m 12s (running)   │
│ │   │                                                     │
│ │   ├─ ✓ [2.3] Check signature verification             │
│ │   │       Completed | Cost: $0.03 | 22s               │
│ │   ├─ ⚙ [2.4] Review expiration logic                  │
│ │   │       ACTIVE (60%) | Cost: $0.04 | 35s (running)  │
│ │   └─ ⏸ [2.5] Audit token refresh                      │
│ │           PENDING                                      │
│ │                                                          │
│ ├─ ⚙ [1.3] Review password hashing                      │
│ │   │   ACTIVE (45%) | Cost: $0.06 | 58s (running)      │
│ │   │                                                     │
│ │   ├─ ✓ [2.6] Identify hash algorithm                  │
│ │   │       Completed | Cost: $0.02 | 15s               │
│ │   └─ ⚙ [2.7] Check salt usage                         │
│ │           ACTIVE (30%) | Cost: $0.04 | 43s (running)  │
│ │                                                          │
│ ├─ ⏸ [1.4] Audit session management                     │
│ │       PENDING                                          │
│ │                                                          │
│ └─ ✗ [1.5] Analyze OAuth flow                           │
│         FAILED | Cost: $0.01 | 8s                        │
│         Error: Required file oauth.ts not found          │
│                                                          │
╰─────────────────────────────────────────────────────────╯

Legend:
  ✓ Completed   ⚙ Active   ⏸ Pending   ✗ Failed
```

## Cost Breakdown Format (--cost)

```
╭─────────────────────────────────────────────────────────╮
│ RLM Cost Analysis                                       │
│ Tree ID: rlm-analyze-codebase-a1b2c3d4                  │
├─────────────────────────────────────────────────────────┤
│                                                          │
│ Cost by Depth                                           │
│ ┌──────┬────────────┬─────────────┬──────────┐          │
│ │ Lvl  │ Sub-Calls  │ Tokens      │ Cost     │          │
│ ├──────┼────────────┼─────────────┼──────────┤          │
│ │ 0    │ 1          │ 12,450      │ $0.12    │          │
│ │ 1    │ 5          │ 78,320      │ $0.39    │          │
│ │ 2    │ 9          │ 76,816      │ $0.33    │          │
│ │ TOTAL│ 15         │ 167,586     │ $0.84    │          │
│ └──────┴────────────┴─────────────┴──────────┘          │
│                                                          │
│ Cost by Model                                           │
│ ┌──────────────┬────────────┬──────────┐                │
│ │ Model        │ Tokens     │ Cost     │                │
│ ├──────────────┼────────────┼──────────┤                │
│ │ opus         │ 12,450     │ $0.12    │ (root)         │
│ │ sonnet       │ 122,890    │ $0.61    │ (sub-calls)    │
│ │ haiku        │ 32,246     │ $0.11    │ (leaf tasks)   │
│ │ TOTAL        │ 167,586    │ $0.84    │                │
│ └──────────────┴────────────┴──────────┘                │
│                                                          │
│ Top 5 Most Expensive Sub-Calls                          │
│ 1. [1.2] Anal

Related in Productivity