Artifact Redactor for Openclaw

A robust redaction tool designed to strip sensitive information from text-based artifacts before public sharing.

zack-dev-cm
v1.0.7
Apr 30, 2026
0
1k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install artifact-redactor

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 artifact-redactor 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 Artifact Redactor?

Artifact Redactor is a specialized utility within the Openclaw Skills ecosystem built to automate the sanitization of sensitive data from text files such as logs, Markdown, JSON, and YAML. It provides a structured approach to identifying and masking private paths, secret-like strings, private URLs, and personally identifiable information (PII). By transforming raw data into safer share bundles, it allows developers and operations teams to share diagnostic information or documentation without risking security or privacy breaches.

This skill is particularly effective for teams using Openclaw Skills to streamline their DevOps or security auditing workflows. It ensures that context is preserved by using stable placeholders instead of simply deleting surrounding text, making the redacted output remains useful for troubleshooting while staying compliant with privacy standards.

Artifact Redactor Use Cases

  • Sharing bug bundles, browser traces, or experiment reports with external teams or public forums.
  • Cleaning logs and manifests that contain internal private paths, local URLs, or email addresses.
  • Generating safe public issue attachments without manual text editing.
  • Creating a clear audit trail for files that require manual review due to their binary nature.

How Artifact Redactor Works

  1. The user initiates a scan of the source artifacts to identify obvious sensitive text patterns using Python-based logic.
  2. The system generates a redacted copy of all supported text files into a separate, clean output directory.
  3. A secondary structural check is performed on the redacted output to verify that no sensitive patterns remain.
  4. Files that cannot be automatically processed, such as binary files or PDFs, are flagged for manual review.
  5. A final Markdown report is rendered, providing a summary of findings and the redaction status for the entire bundle.

Artifact Redactor Setup

To get started with this component of Openclaw Skills, ensure you have Python 3.9+ installed on your system.

# Step 1: Scan source for sensitive data
python3 scripts/scan_sensitive_text.py --root <source_folder> --out scan.json

# Step 2: Generate redacted files
python3 scripts/redact_artifacts.py --root <source_folder> --out-dir <safe_output_dir> --out redaction.json

# Step 3: Verify the output
python3 scripts/check_redaction_output.py --root <safe_output_dir> --redaction redaction.json --out check.json

Artifact Redactor Data Schema & Taxonomy

Artifact Redactor organizes data through a series of JSON metadata files and a final human-readable report. This structure is common among Openclaw Skills that require auditability.

File Name Description
scan.json Contains findings of PII, secrets, and private paths found in the initial scan.
redaction.json Maps the original source files to the redacted output files.
check.json Stores the final verification status, such as share-ready or manual-review-required.
report.md A concise summary of the redaction process, findings, and remaining manual tasks.

Artifact Redactor Advanced Features

  • Multi-stage validation ensures that redacted outputs are re-scanned for leaked data before being marked as ready.
  • Support for stable placeholders which maintains the structural integrity and readability of logs and configuration files.
  • Intelligent detection of query strings and fragments within URLs while preserving the safe public domain context.
  • Comprehensive reporting that categorizes findings into automated successes and manual-review requirements.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Github Stars: 0
forks: 0

Featured*