mirror of
https://github.com/zenlm/agent-sanitizer.git
synced 2026-07-26 22:31:10 +00:00
A standalone tool to sanitize AI agent logs for safe dataset sharing. Features: - Clean credentials, PII, and crypto keys from agent logs - Support for agent, Cursor, Continue, Aider - Interactive CLI with rich formatting - Auto-upload to HuggingFace Hub - Dry-run mode for safety - Run with uvx (no installation needed) Usage: uvx agent-sanitizer uvx agent-sanitizer --input ~/.claude/projects --upload user/dataset Perfect for the community to share coding datasets safely!
41 lines
314 B
Plaintext
41 lines
314 B
Plaintext
# Python
|
|
__pycache__/
|
|
*.py[cod]
|
|
*$py.class
|
|
*.so
|
|
.Python
|
|
*.egg-info/
|
|
dist/
|
|
build/
|
|
*.egg
|
|
|
|
# Virtual environments
|
|
venv/
|
|
env/
|
|
ENV/
|
|
|
|
# IDE
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
|
|
# Testing
|
|
.pytest_cache/
|
|
.coverage
|
|
htmlcov/
|
|
|
|
# Distribution
|
|
*.whl
|
|
|
|
# Logs
|
|
*.log
|
|
|
|
# OS
|
|
.DS_Store
|
|
|
|
# Output
|
|
sanitized-dataset/
|
|
clean-dataset/
|
|
*.backup.*
|