R

resume

by @alirezarezvaniv
4.3(20)

恢复暂停的实验上下文,读取完整历史记录并继续执行,支持长时间实验的断点续传和状态管理

experiment-trackingresearch-methodologyautomationcontext-preservationscientific-methodGitHub
安装方式
npx skills add alirezarezvani/claude-skills --skill resume
compare_arrows

Before / After 效果对比

1
使用前

长时间实验因上下文限制被迫暂停,重新开始需要重复之前的设置和步骤,浪费大量时间且难以复现中间结果

使用后

自动保存实验完整状态和上下文,随时恢复到任意断点继续执行,保留中间结果和调试信息,大幅提升实验效率

SKILL.md

resume

/ar:resume — Resume Experiment

Resume a paused or context-limited experiment. Reads all history and continues where you left off.

Usage

/ar:resume                                  # List experiments, let user pick
/ar:resume engineering/api-speed            # Resume specific experiment

What It Does

Step 1: List experiments if needed

If no experiment specified:

python {skill_path}/scripts/setup_experiment.py --list

Show status for each (active/paused/done based on results.tsv age). Let user pick.

Step 2: Load full context

# Checkout the experiment branch
git checkout autoresearch/{domain}/{name}

# Read config
cat .autoresearch/{domain}/{name}/config.cfg

# Read strategy
cat .autoresearch/{domain}/{name}/program.md

# Read full results history
cat .autoresearch/{domain}/{name}/results.tsv

# Read recent git log for the branch
git log --oneline -20

Step 3: Report current state

Summarize for the user:

Resuming: engineering/api-speed
  Target: src/api/search.py
  Metric: p50_ms (lower is better)
  Experiments: 23 total — 8 kept, 12 discarded, 3 crashed
  Best: 185ms (-42% from baseline of 320ms)
  Last experiment: "added response caching" → KEEP (185ms)

  Recent patterns:
  - Caching changes: 3 kept, 1 discarded (consistently helpful)
  - Algorithm changes: 2 discarded, 1 crashed (high risk, low reward so far)
  - I/O optimization: 2 kept (promising direction)

Step 4: Ask next action

How would you like to continue?
  1. Single iteration (/ar:run)  — I'll make one change and evaluate
  2. Start a loop (/ar:loop)     — Autonomous with scheduled interval
  3. Just show me the results    — I'll review and decide

If the user picks loop, hand off to /ar:loop with the experiment pre-selected. If single, hand off to /ar:run. Weekly Installs451Repositoryalirezarezvani/…e-skillsGitHub Stars10.1KFirst SeenMar 13, 2026Security AuditsGen Agent Trust HubPassSocketPassSnykPassInstalled onopencode427codex426cursor426gemini-cli425github-copilot425amp424

用户评价 (0)

发表评价

效果
易用性
文档
兼容性

暂无评价

统计数据

安装量1.2K
评分4.3 / 5.0
版本
更新日期2026年5月19日
对比案例1 组

用户评分

4.3(20)
5
70%
4
30%
3
0%
2
0%
1
0%

为此 Skill 评分

0.0

兼容平台

🔧Claude Code

时间线

创建2026年4月9日
最后更新2026年5月19日