Log Redactor

Redact secrets and PII from logs before sharing or summarizing. Use when the user asks to sanitize/redact logs or remove emails, tokens, API keys, or passwords.

zeroz-lab d92f7b0 2 files · 2.5 KB Updated

File contents

Log Redactor Skill

Workflow

  1. Run the redaction script on the raw log.
  2. Verify that obvious secrets and PII are masked.
  3. 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:

<redacted content>

Optional summary:

  • ...

Notes

  • Do not invent values when masking.
  • Keep original structure intact while replacing sensitive tokens.

zeroz-lab/ai-hub/tree/main/claude_agent_course/module_04_skills/projects/project_07_log_redactor/.claude/skills/log-redactor commit d92f7b0610

Frequently asked questions

npx skillmds@latest add zeroz-lab/log-redactor