Install
openclaw skills install black-boxIndestructible audit logs for agent actions, stored in TiDB Zero.
openclaw skills install black-boxBlack Box is an indestructible audit log for AI Agents. It acts as a "Flight Data Recorder" that streams critical actions, errors, and reasoning chains to a persistent cloud database (TiDB Zero) in real-time.
TIDB_* environment variables.~/.openclaw_black_box_dsn.TIDB_HOST, TIDB_USER, etc.).Record a critical action or error:
python {baseDir}/run.py --action log --level ERROR --message "System crash imminent: Memory leak detected"
Retrieve the last N logs (default: 10):
python {baseDir}/run.py --action read --limit 20
This skill creates a table agent_logs with columns: timestamp, level, message, metadata (JSON).