首页/ AI 技能 / @skilllib/skill-2014279418942795778
Skill站外收录 @skilllib/skill-2014279418942795778

monitor-experiment

持续跟踪实验运行状态,自动检测任务是否完成,并在异常时提取日志信息,正常结束时报告成功,适用于对远程实验进程的闭环监控与结果反馈。

0.0 (0) 152 次安装 原作者 编程导航
收录于 2026-01-22
研究 AI 技能

Skills.MD

# Monitor Beaker Experiment ## Instructions When monitoring a Beaker experiment: 1. Get the experiment status using `beaker experiment get <experiment-id>` 2. Check if the experiment has completed by looking at `status.exited` 3. If still running, wait 30 seconds and check again 4. When complete: - If exitCode is 0: Report success - If exitCode is non-zero: Fetch and display logs with `beaker experiment logs <experiment-id>` 5. Continue monitoring until the experiment finishes or the user asks you to stop ## Examples Check experiment status: ```bash beaker experiment get 01KCW39T5JBZTYV69BXHWJJ83P ``` Get experiment logs on failure: ```bash beaker experiment logs 01KCW39T5JBZTYV69BXHWJJ83P ``` Stream logs in real-time for running experiments: ```bash beaker experiment logs --follow 01KCW39T5JBZTYV69BXHWJJ83P ```

评论 0

还没有评论,来抢沙发。