Log Redactor Skill
Workflow
- •Run the redaction script on the raw log.
- •Verify that obvious secrets and PII are masked.
- •Summarize the redacted content if requested.
Script usage
- •Run:
python scripts/redact_logs.py --input <path> --output <path> - •If no output path is provided, print to stdout.
Output format
Redacted log:
code
<redacted content>
Optional summary:
- •...
Notes
- •Do not invent values when masking.
- •Keep original structure intact while replacing sensitive tokens.