Use blackbox to inspect local OpenClaw run evidence and produce deterministic debugging reports.
Setup
npm install -g @shan8851/blackbox~/.openclawOPENCLAW_HOME=/path/to/.openclaw blackbox doctorHealth Check
blackbox doctorblackbox doctor --jsonList Evidence
blackbox list failures --limit 10blackbox list failures --label context_overflowblackbox list failures --commandsblackbox list sessions --agent all --limit 20blackbox list sessions --evidence checkpoint_presentInspect Runs
blackbox inspect --cron-job "Example nightly job" --latest-errorblackbox inspect --session-id blackbox inspect --session-id --view full --out reports/run.md blackbox inspect --session-id --json-out reports/run.json blackbox inspect --session-id --html-out reports/run.html --open Find Requests
blackbox find request --query "summarise the failed run" --agent allblackbox find request --message-id --agent main blackbox find request --query "failed to send" --commandsOutput
inspect always prints a terminal snapshotreports/.md unless --out is setBLACKBOX_REPORT_DIR to change the default report directory--json for machine-readable output--view simple is the default triage report; --view full includes fuller evidence and timeline detailsAgent Notes
find request / inspect --query are conservative; if a query maps to multiple sessions, inspect by explicit --session-idcontext_overflow, message_delivery_failed, timeout, session_lock_timeout, gateway_restart_interrupted, model/auth labels, tool failure labels, and unknown_errormissing_transcript, transcript_deleted, transcript_reset, missing_trajectory, checkpoint_present, and session_write_in_progressNotes
@shan8851/blackbox; binary name: blackbox; skill/ClawHub slug: openclaw-blackbox共 1 个版本