anonymize-logs
Installation
SKILL.md
Anonymize Logs
Sanitize customer-provided logs so they are safe to share or commit. Replace identity only; keep the original structure, delimiters, quoting, field order, and line breaks.
Input may be a file or a single syslog / KV / NDJSON line. Output must match that shape — do not pretty-print, wrap, truncate, or “fix” values as part of sanitization.
What you provide
| Input | How to provide |
|---|---|
| Log file(s) to sanitize | @-mention files or paste inline |
| Output location (optional) | free text path, defaults to same directory with .sanitized suffix |
| In-place override (optional) | say "in place" to overwrite the original |
Golden rule — never reformat the content
Only replace sensitive values. Do not touch anything else.
Parsers and anyone reviewing the log depend on exact whitespace, delimiters, quoting, and line structure.