Surveiller une expérience Beaker

VérifiéSûr

Interroge périodiquement l’état d’une expérience Beaker jusqu’à son achèvement. Signale la réussite si le code de sortie est 0, sinon récupère et affiche les logs de l’expérience pour le débogage.

Spar Skills Guide Bot
Data & IAIntermédiaire
6002/06/2026
Claude Code
#beaker#experiment-monitoring#status-checking#log-retrieval

Recommandé pour

Notre avis

Surveiller l'avancement des expériences Beaker jusqu'à leur achèvement.

Points forts

  • Automatise la vérification périodique de l'état des expériences.
  • Récupère automatiquement les logs en cas d'échec.
  • S'intègre facilement avec l'outil CLI Beaker.

Limites

  • Nécessite que l'outil Beaker soit installé et configuré.
  • Ne gère pas les expériences parallèles ou complexes.
  • La boucle de surveillance peut prendre beaucoup de temps sans notification.
Quand l'utiliser

Lorsque vous devez surveiller l'avancement d'une expérience Beaker sans intervention manuelle.

Quand l'éviter

Quand vous avez besoin de surveiller plusieurs expériences simultanément ou lorsque l'expérience produit des logs en continu que vous devez analyser en direct.

Analyse de sécurité

Sûr
Score qualité90/100

The skill only uses read-only Beaker commands to monitor experiment status and retrieve logs. No destructive actions, exfiltration, or obfuscation. The allowed tool 'Bash(beaker:*)' limits execution to Beaker CLI, which is safe for this purpose.

Aucun point d'attention détecté

Exemples

Monitor until completion
Monitor experiment 01KCW39T5JBZTYV69BXHWJJ83P and tell me when it's done, including its exit status and logs if it failed.
Check status and logs on failure
Check the status of experiment 01KCW39T5JBZTYV69BXHWJJ83P. If it has failed, retrieve the logs and show them to me.
Stream logs in real-time
Stream the logs for experiment 01KCW39T5JBZTYV69BXHWJJ83P while it's running, and notify me when it completes.

category: Research id: monitor-experiment name: Monitor Experiment description: Monitor Beaker experiments until completion. allowed-tools: Bash(beaker:*)

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:

beaker experiment get 01KCW39T5JBZTYV69BXHWJJ83P

Get experiment logs on failure:

beaker experiment logs 01KCW39T5JBZTYV69BXHWJJ83P

Stream logs in real-time for running experiments:

beaker experiment logs --follow 01KCW39T5JBZTYV69BXHWJJ83P
Skills similaires