Artifact Redactor
/install artifact-redactor
Artifact Redactor
Goal
Take a directory or file full of text artifacts and produce a safer share bundle:
- one scan of obvious sensitive text patterns
- one redacted output directory for supported text files
- one structural check of the redacted output plus a manual-review decision for skipped files
- one markdown report that explains what was found, what was redacted, and what still needs manual review
This skill is for text artifacts such as Markdown, JSON, logs, YAML, CSV, shell output, and similar files. It does not claim to sanitize screenshots, PDFs, or other binary files. It requires Python 3.9+.
Use This Skill When
- a bug bundle, browser trace, experiment report, or release note needs to be shared outside the immediate team
- logs or manifests contain private paths, local URLs, token-like strings, email addresses, or phone numbers
- you want a safer public issue attachment without rewriting the artifact by hand
- you need a clear manual-review list for files the automatic pass did not rewrite
Quick Start
-
Scan the source artifacts.
- Use
python3 {baseDir}/scripts/scan_sensitive_text.py --root \x3Csource> --out \x3Cscan.json>. - Point
--rootat either one file or a directory.
- Use
-
Write a redacted copy.
- Use
python3 {baseDir}/scripts/redact_artifacts.py --root \x3Csource> --out-dir \x3Csafe-dir> --out \x3Credaction.json>. - This writes only supported text files into the output tree.
- Binary or unsupported files are skipped and called out for manual review.
- Use
-
Check the output.
- Use
python3 {baseDir}/scripts/check_redaction_output.py --root \x3Csafe-dir> --redaction \x3Credaction.json> --out \x3Ccheck.json>. - The check returns
share-readyonly when no supported-text findings remain and no skipped files still require manual review. - If skipped files exist, expect
manual-review-requiredrather than a full-clear result.
- Use
-
Render the report.
- Use
python3 {baseDir}/scripts/render_redaction_report.py --scan \x3Cscan.json> --redaction \x3Credaction.json> --check \x3Ccheck.json> --out \x3Creport.md>. - Share the report with the redacted output directory instead of the raw artifacts.
- Use
Operating Rules
Safety rules
- Keep the promise narrow: supported text files only.
- Treat screenshots, videos, PDFs, and other binary files as manual-review items.
- Prefer preserving public context when safe. Public URLs may stay, but query strings and fragments should be removed.
- Replace sensitive values with stable placeholders instead of deleting surrounding context.
Review rules
- Re-scan the redacted output before sharing it.
- If the output check returns
fix-requiredormanual-review-required, do not present the full bundle as cleared. - Manual-review lists are part of the deliverable, not optional cleanup.
Bundled Scripts
scripts/scan_sensitive_text.py- Scan files for obvious sensitive text patterns and emit JSON findings.
scripts/redact_artifacts.py- Write a redacted copy of supported text files into a separate output directory.
scripts/check_redaction_output.py- Re-scan the redacted output and emit
share-ready,manual-review-required, orfix-required.
- Re-scan the redacted output and emit
scripts/render_redaction_report.py- Render a concise markdown summary from the scan, redaction, and check JSON outputs.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install artifact-redactor - After installation, invoke the skill by name or use
/artifact-redactor - Provide required inputs per the skill's parameter spec and get structured output
What is Artifact Redactor?
Public OpenClaw skill for redacting private paths, secret-like strings, private URLs, and common PII from Markdown, JSON, logs, and other text artifacts befo... It is an AI Agent Skill for Claude Code / OpenClaw, with 151 downloads so far.
How do I install Artifact Redactor?
Run "/install artifact-redactor" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Artifact Redactor free?
Yes, Artifact Redactor is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Artifact Redactor support?
Artifact Redactor is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Artifact Redactor?
It is built and maintained by Zakhar Pashkin (@zack-dev-cm); the current version is v1.0.6.