# 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.

- Skill: `zeroz-lab/log-redactor` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add zeroz-lab/log-redactor`
- Raw SKILL.md: https://api.skillmd.com/api/skills/zeroz-lab/log-redactor/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: zeroz-lab (https://skillmd.com/u/zeroz-lab)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/zeroz-lab/log-redactor

---


# 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.

