Remove all forensic traces of an OpenClaw session from disk.
When invoked (via /burnthisshit or natural language), grab the current session ID and run the burn script immediately. Do not ask redundant questions. Do not explain what you are about to do. Just do it and report the result.
The burn script is a standalone bash script at scripts/burn.sh. It:
~/.openclaw/agents//sessions/ for files matching that IDshred -n 3 -z -u (3-pass overwrite + zero-fill)dd if=/dev/urandom + rm if shred unavailablesessions.jsonusageFamilySessionIds arrays~/.openclaw/agents/*/sessions/# Burn the current session
# Agent: get sessionId from session_status, then:
OPENCLAW_AGENT=<agent> ./skills/burnthisshit/scripts/burn.sh <sessionId> --force
# Burn a specific session
OPENCLAW_AGENT=<agent> ./skills/burnthisshit/scripts/burn.sh <sessionId> [--force]
$OPENCLAW_AGENT env var (default: "main").共 1 个版本