exp-status
Skill1.7k starsChanged 34 days agoMITView on GitHub
View the status of all running experiments; optionally auto-collect completed experiments and advance the pipeline
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 1 is distinctive, and 11 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 17
No arguments (default): check all running experiments, print status table
- Very specific: line 51
If --pipeline <slug> is specified:
- Very specific: line 52
Read wiki/outputs/pipeline-progress.md, extract the slug list from the stage3a_deployed field
- Very specific: line 53
If the file does not exist or slug does not match: report error, suggest running /research first or specifying manually
- Very specific: line 55
Use Glob to scan wiki/experiments/*.md, filter for status == running
- Very specific: line 79
No output → alive: false (session is gone)
- Very specific: line 94
If wiki status is already completed: classify as collected
- Distinctive: line 155
After all collections are done, re-print the updated status report.
- Very specific: line 160
Read stage3a_deployed list from wiki/outputs/pipeline-progress.md
- Very specific: line 161
Check the status of each slug's wiki/experiments/{slug}.md
- Very specific: line 162
Condition met: all experiments have status == completed
- Very specific: line 202
screen -ls returns nothing: does not mean the experiment failed — may be a brief delay.
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/exp-status
Unified experiment status monitoring entry point. Scans all
runningexperiments, 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
- No arguments (default): check all
runningexperiments, print status table --pipeline <slug>(optional): check only experiments belonging to the specified pipeline; additionally print overall pipeline progress--collect-ready(optional): auto-call/exp-run --collectfor all experiments whose session has already ended--auto-advance(optional, requires--pipeline <slug>): if all pipeline experiments arecompleted, automatically trigger/research --start-from stage4without waiting for the user
Outputs
- Status report (terminal output, all modes): list of experiments in running/anomaly/completed states
wiki/experiments/{slug}.md— updated (outcome/key_result/status) when--collect-readytriggers Phase 4wiki/outputs/pipeline-progress.md—--auto-advanceupdates current_stage → stage4 (done internally by /research --start-from stage4)wiki/log.md— appended status check log
Wiki Interaction
Reads
wiki/experiments/*.md— status, remote frontmatter (server/session/started), date_plannedwiki/outputs/pipeline-progress.md— in--pipelinemode, identifies target experiments and monitoring_cron_id
Writes
wiki/experiments/{slug}.md— updated via /exp-run --collect in--collect-readymodewiki/outputs/pipeline-progress.md— updated by /research when--auto-advancetriggers Stage 4wiki/log.md— appended status check log
Graph edges created
- None (result writes triggered indirectly via /exp-run --collect do not produce new edges)
Workflow
Precondition: confirm working directory is the wiki project root (directory containing wiki/, raw/, tools/).
Step 1: Collect Target Experiment List
- Determine check scope:
- If
--pipeline <slug>is specified:- Read
wiki/outputs/pipeline-progress.md, extract the slug list from thestage3a_deployedfield - If the file does not exist or slug does not match: report error, suggest running
/researchfirst or specifying manually
- Read
- Otherwise:
- Use Glob to scan
wiki/experiments/*.md, filter forstatus == running
- Use Glob to scan
- If
- If no running experiments:
- Print a friendly message:
No running experiments found. - To start an experiment: /exp-run <slug> - To see all experiments: check wiki/experiments/ - Return
- Print a friendly message:
Step 2: Check Status of Each Experiment
For each target experiment, execute in parallel (or sequentially):
- Read experiment page: from
wiki/experiments/{slug}.mdget:remoteblock (if present, this is a remote experiment)run_logpathstarted(fromremote.startedordate_planned, used to compute elapsed time)- Deployment environment (has remote block → remote, otherwise → local)
- Check process status:
- Local:
screen -ls | grep "exp-{slug}"- Has output →
alive: true - No output →
alive: false(session is gone)
- Has output →
- Remote:
python3 tools/remote.py check --name "exp-{slug}"- Parse JSON:
alive,last_lines,anomalies
- Parse JSON:
- Local:
- If alive == true:
- Fetch recent logs (at most 20 lines):
- Local:
tail -20 {run_log} - Remote: use
last_linesfrom thecheckcommand response
- Local:
- Extract latest metric (loss, accuracy, step, etc. — grep the last metric line)
- Detect anomalies (NaN/OOM/Traceback/Inf): use
anomaliesfield fromremote.py check(remote), or manual grep (local) - Compute elapsed time (current time − started)
- Classify as:
runningoranomaly
- Fetch recent logs (at most 20 lines):
- If alive == false:
- Classify as:
completed_pending_collect(session gone but wiki status is still running) - If wiki status is already
completed: classify ascollected
- Classify as:
- 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
```bash
# 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:
```bash
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)
- Check pipeline completion condition:
- Read
stage3a_deployedlist fromwiki/outputs/pipeline-progress.md - Check the status of each slug's
wiki/experiments/{slug}.md - Condition met: all experiments have status ==
completed
- Read
- If condition is not met (some experiments still running or pending collect):
- Print current progress:
Pipeline {slug}: {M}/{N} experiments completed - Return (do not advance)
- Cron will trigger again in 30 minutes
- Print current progress:
If condition is met (all experiments completed):
a. Print notification and trigger Stage 4:
- Print:
✅ All experiments completed for pipeline {slug}! Advancing to Stage 4 (Verdict & Iteration)... - Append log:
python3 tools/research_wiki.py log wiki/ \ "exp-status | pipeline {slug}: all experiments done, advancing to stage4" - Trigger next stage:
Skill: research Args: "--start-from stage4"
- Print:
Constraints
- Read-only in non --collect-ready mode: without
--collect-ready, do not modify any wiki files --auto-advancerequires--pipeline: using--auto-advancealone is invalid, report an error- Status checks must be non-blocking: each experiment check should complete quickly (single SSH check or screen -ls)
- Anomalies are not auto-fixed:
/exp-statusonly reports anomalies; fixes require the user to manually call/exp-run --collect - pipeline-progress.md must exist: in
--pipelinemode, if the file is missing, report an error
Error Handling
- No running experiments: print friendly message, not an error; provide next step suggestions
--pipelinebut pipeline-progress.md does not exist: report error "Pipeline progress file not found. Run/research <direction>first or check wiki/outputs/"--auto-advancewithout--pipeline: report error "--auto-advance requires --pipeline<slug>"- SSH connection fails (remote experiment): mark that experiment as
check_failed, note it in the report, continue checking other experiments - screen -ls returns nothing: does not mean the experiment failed — may be a brief delay; mark as
completed_pending_collect /exp-run --collectfails (--collect-readymode): record the failure, continue collecting other experiments, report all failures at the end
Dependencies
Skills(via Skill tool)
/exp-run— call collect phase in--collect-readymode/research— trigger Stage 4 via--auto-advance
Tools(via Bash)
python3 tools/remote.py check --name "exp-{slug}"— remote experiment status checkpython3 tools/remote.py tail-log --name "exp-{slug}" --lines 20— fetch remote logspython3 tools/research_wiki.py set-meta <path> <field> <value>— update pipeline-progresspython3 tools/research_wiki.py log wiki/ "<message>"— append logscreen -ls— local process statustail -20 {log}— fetch local logs
Claude Code Native
Read— read experiment pages and pipeline-progressWrite— update pipeline-progress statusGlob— scan wiki/experiments/*.mdBash— screen/tail and other system commandsSkill— call /exp-run --collect and /research
Called by
- CronCreate schedule (created by
/research --autoStage 3b: triggers every 30 minutes) - User directly
/researchStage 3b (in interactive mode, suggested to user)
Trending
More talk lately.thin dataabout the whole repository
Who's talking about PKU-DAIR/AutoSci
The biggest 1 of 1 mention linking to the repository that our crawl found. Each line is their own headline.
Other versions4 projects use a version of this.
Word for word · 3
- DAIR-AutoResearch/AutoSci★ 1.7k100% same
- skyllwt/AutoSci★ 1.7k100% same
- skyllwt/OmegaWiki★ 1.7k100% same
Edited · 1
- Lambenthan/empiricalwiki★ 8528% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository30 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- runtime/CLAUDE.mdCLAUDE.md
- askSkill
- checkSkill
- daily-arxivSkill
- discoverSkill
- editSkill
- exp-designSkill
- exp-evalSkill
- exp-pilot-evalSkill
- exp-pilot-runSkill
- exp-runSkill
- hiera-experimentSkill
- ideateSkill
- ingestSkill
- initSkill
- noveltySkill
- paper-compileSkill
- paper-draftSkill
- paper-planSkill
- posterSkill
- prefillSkill
- rebuttalSkill
- refineSkill
- researchSkill
- resetSkill
- reviewSkill
- setupSkill
- surveySkill
- visualizeSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

