Repository navigation
AgentDetox 0.6.0 adds an optional model check. It is off by default; with it off, 0.6.0 behaves as 0.5.0 does apart from two fixes. Upgrade the executable and, if installed, the Claude Code plugin, run agentdetox --version and agentdetox doctor, then start a fresh client session.
- A model's reading of each write (optional).
agentdetox config judge ask(orrecord) has a small model read the text a write adds to memory, rules or skills for what it would make the agent do. It is asked through the Claude Code you are logged in to, in a session with no tools, no MCP servers and none of your settings. It is asked after the rules and takes no question or refusal away. A flagged text stays flagged (the last 5,000 flags are kept). The text is sent to the model; see PRIVACY.md. It costs a model call of two to four seconds per write and sends that text to the model. - It says which lines. The question, the session notice,
review,agent inspectand the preview ofcleanname the lines the model pointed at. - Files that arrive outside the agent. With the check on, a session start reads what changed outside the agent, and
agentdetox agent inspect --judgereads every memory, rules and skill file on request. - Fixed on Windows:
clean,restoreand quarantine failed in folders deep enough to pass 260 characters.
Measured with real calls: 208 of 210 attack texts flagged across three sets (the rules alone stop about a third), with 6 of 210 short ordinary texts and 3 of 120 whole ordinary files flagged. It is not certain and not proof against a text written to persuade it. Measurements and what they do not say
Claude Code remains the supported hook integration. Codex and Cursor hooks are experimental. The release-candidate Claude Code lab, with the model check off, passed 9 of 12 scenarios with AgentDetox installed; two failures were the client's or the model's own, and in one run of five a later memory write naming a non-default registry was saved after the first attempt was asked about. Lab results