Exp status

From Lambenthan/empiricalwiki · View interactive version

Exp status is an AI agent skill from the GitHub repository Lambenthan/empiricalwiki. View the status of all running experiments; optionally auto-collect completed experiments and advance the pipeline

How to use this skill

Skill file

/exp-status

Unified experiment status monitoring entry point.

Scans all running experiments, performs a live status check on each (screen session / SSH),

and outputs a status table (alive / anomaly / completed) to guide the user's next actions.

When used with /research --auto, acts as a periodic checker scheduled by CronCreate:

when all experiments in a pipeline are completed, automatically triggers /research --start-from stage4.

Inputs

automatically trigger /research --start-from stage4 without waiting for the user

Outputs

Wiki Interaction

Reads

Writes

Graph edges created

Workflow

Precondition: confirm working directory is the wiki project root (directory containing wiki/, raw/, tools/).

Step 1: Collect Target Experiment List

  1. Determine check scope:
  1. If no running experiments:

```

No running experiments found.

```

Step 2: Check Status of Each Experiment

For each target experiment, execute in parallel (or sequentially):

  1. Read experiment page: from wiki/experiments/{slug}.md get:
  1. Check process status:
  1. If alive == true:
  1. If alive == false:
  1. Aggregate results: build status dict {slug: {state, elapsed, latest_metric, anomalies}}

Step 3: Print Status Report

# Experiment Status — {YYYY-MM-DD HH:MM}

### 🔄 Running ({N})
| Experiment | Elapsed | Latest | Env |
|-----------|---------|--------|-----|
| [[exp-foo-baseline]] | 2.3h | loss: 0.42 | local |
| [[exp-foo-validation]] | 1.1h | step: 1200 | remote (gpu1) |

### ⚠️ Anomaly Detected ({N})
| Experiment | Elapsed | Issue | Action |
|-----------|---------|-------|--------|
| [[exp-foo-ablation]] | 0.8h | NaN loss at step 500 | Run `/exp-run exp-foo-ablation --collect` to inspect |

### ✅ Completed — Pending Collect ({N})
| Experiment | Finished (estimate) |
|-----------|---------------------|
| [[exp-foo-sanity]] | session gone |

### 📦 Already Collected ({N})
| Experiment | Outcome |
|-----------|---------|
| [[exp-foo-old]] | succeeded |

---
### Actions

Collect all completed experiments at once:

/exp-status --collect-ready

Collect a specific experiment:

/exp-run exp-foo-sanity --collect

Pipeline progress (if in /research):

/exp-status --pipeline {pipeline-slug}

Append log:

python3 tools/research_wiki.py log wiki/ \
  "exp-status | running: {N}, anomaly: {M}, pending-collect: {K}"

Step 4: --collect-ready Auto-Collect (if specified)

For each completed_pending_collect experiment, call /exp-run --collect:

Skill: exp-run
Args: "{slug} --collect"

Collect each completed experiment sequentially (not in parallel, to avoid concurrent wiki writes).

After all collections are done, re-print the updated status report.

Step 5: --auto-advance Pipeline Advance (if both --pipeline and --auto-advance are specified)

  1. Check pipeline completion condition:
  1. If condition is not met (some experiments still running or pending collect):
  1. If condition is met (all experiments completed):

a. Print notification and trigger Stage 4:

```

✅ All experiments completed for pipeline {slug}!

Advancing to Stage 4 (Verdict & Iteration)...

```

```bash

python3 tools/research_wiki.py log wiki/ \

"exp-status | pipeline {slug}: all experiments done, advancing to stage4"

```

```

Skill: research

Args: "--start-from stage4"

```

Constraints

Error Handling

Dependencies

Skills(via Skill tool)

Tools(via Bash)

Claude Code Native

Called by

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.