Opensource Sanitizer — Development agent for Claude Code
Pre-public-push safety net.
How to install Opensource Sanitizer
Installs to ~/.claude/agents/gufranco-claude-engineering-rules-opensource-sanitizer.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/gufranco/claude-engineering-rules/HEAD/agents/opensource-sanitizer.md -o ~/.claude/agents/gufranco-claude-engineering-rules-opensource-sanitizer.md Restart Claude Code, or start a new session, for it to be picked up.
What Opensource Sanitizer does
name: opensource-sanitizer description: Pre-public-push safety net. Scans a diff or working tree for leaked secrets, PII, internal references, internal URLs, vendor names, hard-coded internal hostnames, and other artifacts that should not appear in a public repository. Returns PASS / FAIL with file:line findings. Complements the runtime `internal-config-leakage.py` hook by catching arbitrary internal references the hook does not know about. tools:
- Read
- Grep
- Glob
- Bash model: s
Alternatives in Development
- Civitai Correctness Review — Reviews a feature segment in the main Civitai Next.js app (src/) for safety gaps — authorization scoping, mone 7.2k ★
- Slack Archaeologist — Deep reconstruction of Slack conversations 4.6k ★
- Lex Legal — Use this agent when dealing with legal and compliance activities 523 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Film Critic
Independent reviewer for coded launch videos, gesture chains and Gate C stills. Use proactively after every dr
Doc Scout
Fetches official platform or vendor documentation for one load-bearing claim, as numbered facts with URLs.
Secrets Auditor
Credential scanner — scans staged diff and working tree for secrets, tokens, and credentials. Groups findings
Opensource Contributor
Systematic open source contributor that analyzes projects, finds suitable issues, implements fixes, and create
PR Compliance Checker
Use this agent to validate PRs against opensource.guide best practices. Call this after creating a new PR, bef
Sanitizer
Generic sanitizer worker agent. Reads raw specs and rewrites them as clean behavioral specs. Loads sanitizatio
Related Skills
DontFeedTheAI
Transparent anonymization proxy for AI-assisted pentesting. Strips IPs, credentials, hostnames and PII before
PrivAiTe
Self-hosted PII redaction proxy for LLM APIs and agent CLIs. Scrubs names, emails and secrets from Claude Code
Mask2ai
PII redaction for ChatGPT, claude.ai and Claude Code. Masks names, emails, phone numbers, cards, IBANs and IDs