Log Scrubber
/install log-scrubber
Log Scrubber
This skill automatically scans your /root/.openclaw/workspace/ environment, logs, and memory files to detect and redact sensitive information like API keys, tokens, and credentials.
Features
- Proactive Scanning: Scans for known patterns (regex) of common secrets.
- Automated Redaction: Sanitizes files in-place while keeping backups of original files (e.g.,
.bakextension). - Dry-Run Mode: Allows you to simulate redaction without modifying files.
- Security: Ensures your secrets don't accidentally end up in logs sent to providers or stored in plain-text memory files.
Usage
To perform a dry-run (check proposed changes without modification):
python3 /root/.openclaw/workspace/skills/log-scrubber/scripts/scrub.py --dry-run
To apply changes:
python3 /root/.openclaw/workspace/skills/log-scrubber/scripts/scrub.py
External Endpoints
- This skill does not call any external endpoints. It operates entirely locally.
Security & Privacy
- This skill performs all redaction operations locally on your machine. No data is sent to external servers.
Model Invocation
- This skill runs locally and does not autonomously invoke models beyond the standard OpenClaw agent execution.
Trust Statement
- By using this skill, you agree that it will overwrite files in your workspace with redacted versions. Always ensure you have backups of important data.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install log-scrubber - After installation, invoke the skill by name or use
/log-scrubber - Provide required inputs per the skill's parameter spec and get structured output
What is Log Scrubber?
Automatically redacts API keys, tokens, and secrets from workspace logs and memory files. It is an AI Agent Skill for Claude Code / OpenClaw, with 225 downloads so far.
How do I install Log Scrubber?
Run "/install log-scrubber" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Log Scrubber free?
Yes, Log Scrubber is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Log Scrubber support?
Log Scrubber is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Log Scrubber?
It is built and maintained by Heather-Herbert (@heather-herbert); the current version is v1.0.2.