Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Indestructible audit logs for agent actions, stored in TiDB Zero.
Indestructible audit logs for agent actions, stored in TiDB Zero.
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
Black 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.
Bring Your Own Database (Recommended): Set TIDB_* environment variables. Auto-Provisioning (Fallback): If no credentials are found, this skill uses the TiDB Zero API to create a temporary database for logging. The connection string is cached in ~/.openclaw_black_box_dsn.
Crash Survival: Local logs vanish when containers crash. Cloud logs persist. Audit Trail: Prove exactly what your agent did and why (compliance). Debugging: Retrieve the last 100 actions leading up to a failure.
TiDB Credentials: Standard MySQL connection parameters (TIDB_HOST, TIDB_USER, etc.). Network: Outbound access to TiDB Cloud (port 4000).
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).
Identity, auth, scanning, governance, audit, and operational guardrails.
Largest current source with strong distribution and engagement signals.