Agent Sweep — AI skill for Claude Code
Find and redact secrets in AI coding agent histories (Claude Code, and more).
How to install Agent Sweep
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Ishannaik/agent-sweep and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agent Sweep does
Find and redact secrets in AI coding agent histories (Claude Code, and more).
Alternatives in AI
- ZotSeek — AI semantic search for Zotero, with a built-in MCP server for AI agents (Claude Code, Codex) 193 ★
- Vibesubin — AI skills that keep your code honest, your secrets unleaked, and your repo from rotting 50 ★
- Qiaomu LLM MCP — 把多模型 Provider、本地密钥和 HeavySkill 讨论统一成 MCP 网关 Local MCP gateway for multi-provider LLM routing, secrets, and Hea 46 ★
README

AgentSweep
**Find and redact secrets in your AI coding agent's local history. Fully offline.**
[](https://pypi.org/project/agentsweep/) [](https://pypi.org/project/agentsweep/) [](https://github.com/Ishannaik/agent-sweep/actions/workflows/ci.yml) [](LICENSE) [](https://www.python.org/downloads/) [](#) [](https://github.com/Ishannaik/agent-sweep/stargazers) [](https://discord.gg/KKvtRhQvRv) [](https://github.com/Ishannaik/agent-sweep)
[](https://github.com/Ishannaik/agent-sweep/raw/main/docs/agentsweep-demo.mp4)
[Watch the full clip with sound](https://github.com/Ishannaik/agent-sweep/raw/main/docs/agentsweep-demo.mp4)
**Prevention:** Don't paste API keys into cloud-backed AI agents at all. The key transits the provider's servers before it ever hits your disk.
**If you already did:** agentsweep removes the remaining local attack vector: supply-chain malware and compromised packages that scan your disk for credentials. Your files never leave your machine.
**32 agents supported:** Claude Code · Codex · OpenCode · Cursor · Windsurf · Aider · Cline · Kilo Code · Roo Code · PearAI · Trae · Void · Gemini CLI · Qwen Code · Continue · Open Interpreter · GitHub Copilot
Related Skills
Llmscrub
Sweep LLM agent logs (Claude Code, Codex) for leaked secrets and redact them in place.
Neuralyzer
Your AI agent saw your API keys, and saved them in plaintext forever. Scan, redact and rotate secrets in Claud
Claude Code Redact
Claude Code mod that redacts secrets and PII before the model reads them, stores placeholders in the conversat
Residoo
Find secrets your AI coding agent leaked to disk. Free, MIT, zero deps, zero network calls. Beat TruffleHog an
Agentleak
Find secrets you already leaked into AI chat sessions — offline, local-first.
AI Secret Scout
Zero-dependency heuristic secret scanner & redaction tool for AI coding assistant histories (Claude Code, Anti
Related Agents
Tp Audit Scanner
Use this when the user asks for a security / quality audit, pre-release sweep, or "scan this for issues". Find
Design Reviewer Security
The security reviewer of the stage-2 design review round — breach-opening patterns, secrets, isolation, the fi
Correction Sweep
Find every note restating a corrected fact and classify each as authoritative, restatement, or historical. Dis