Install
openclaw skills install openclaw-blackboxOpenClaw Blackbox CLI — inspect failed, stalled, expensive, or weird OpenClaw agent runs from local disk evidence; list sessions and failures; find the session behind a request; and generate terminal, Markdown, JSON, or HTML reports. Use when debugging OpenClaw cron runs, session failures, context overflows, missing transcripts/trajectories, message delivery issues, or when an agent needs deterministic run inspection without hidden LLM calls.
openclaw skills install openclaw-blackboxUse 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 <session-id>blackbox inspect --session-id <session-id> --view full --out reports/run.mdblackbox inspect --session-id <session-id> --json-out reports/run.jsonblackbox inspect --session-id <session-id> --html-out reports/run.html --openFind Requests
blackbox find request --query "summarise the failed run" --agent allblackbox find request --message-id <message-id> --agent mainblackbox find request --query "failed to send" --commandsOutput
inspect always prints a terminal snapshotreports/<run>.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