Log Sanitize for Openclaw

A specialized tool for redacting sensitive information like passwords, API tokens, and private patterns from log files.

aronchick
v1.0.0
Feb 11, 2026
0
1.5k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install expanso-log-sanitize

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install expanso-log-sanitize using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Log Sanitize?

Log Sanitize is a critical utility within the Openclaw Skills ecosystem designed to maintain data privacy and security during development and operations. It provides a robust mechanism for scanning log entries and stripping away sensitive credentials, ensuring that your system logs remain compliant and safe for sharing or storage.

By leveraging this skill, developers can automate the sanitization of logs in real-time or as part of a batch processing pipeline. It bridges the gap between raw debugging data and secure information management, making it an essential component for any professional workflow using Openclaw Skills.

Log Sanitize Use Cases

  • Scrubbing authentication tokens from application logs before uploading to a centralized logging server.
  • Protecting PII and passwords in local development environments during troubleshooting sessions.
  • Creating safe, shareable log snippets for bug reports without exposing infrastructure secrets.
  • Real-time sanitization of MCP server outputs to prevent leaking sensitive credentials to AI models.

How Log Sanitize Works

  1. The log data is ingested through either a standard CLI pipeline or an MCP server interface.
  2. The skill applies a series of regex patterns and rules to identify common sensitive data formats such as passwords and tokens.
  3. Matches are redacted or replaced with safe placeholders to neutralize potential security risks.
  4. The processed, clean log output is then emitted for the user or downstream processes.

Log Sanitize Setup

To get started with Log Sanitize, ensure you have the required runtime installed. Use the following commands to set up your environment:

# Ensure Expanso Edge is installed
clawhub install expanso-edge

You can then run the pipeline locally using the provided YAML configuration files.

Log Sanitize Data Schema & Taxonomy

The skill manages its operation through a set of structured metadata and configuration files. This ensures that the sanitization logic is portable and easy to manage within Openclaw Skills.

File Purpose
skill.yaml Contains metadata including required inputs, outputs, and credential hooks.
pipeline-cli.yaml Defines the logic for standalone command-line log processing.
pipeline-mcp.yaml Configures the skill to operate as a Model Context Protocol server.

Log Sanitize Advanced Features

  • Deployment to Expanso Cloud for scalable, remote log sanitization jobs.
  • Integrated MCP support for use with advanced AI coding agents and interactive environments.
  • Configurable pipeline architectures allowing for both standalone and server-based operations.
  • Seamless integration into CI/CD pipelines as a security gate for log artifacts.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*