What the poison0 agent watches
The poison0 agent watches a fixed set of agent memory and configuration files on each device, locally. This page lists the exact path patterns under protection.
Overview
Three groups of files are watched:
- Instruction and rule files - always protected inside a detected project, cannot be switched off.
- Agent configuration files - watched inside already confirmed agent projects.
- Config and hook files - classified by path; from model size Mini up a dedicated Melira expert evaluates them, with Nano the same expert as for memory.
Instruction and rule files (always on)
The known agent instruction and rule files. Projects are also found from the records of Codex, Gemini CLI, Cursor, Windsurf, Kiro, Antigravity and VS Code. Protected inside every detected project root, recursively (** matches any depth), and never switchable off:
| Pattern | What it is |
|---|---|
**/CLAUDE.md | Claude Code project instructions |
**/AGENTS.md | Agent instructions (Codex, OpenClaw) |
**/GEMINI.md | Gemini CLI instructions |
**/.cursorrules | Cursor rules |
**/.clinerules | Cline rules |
**/.windsurfrules | Windsurf rules |
**/CLAUDE.local.md, **/.claude/CLAUDE.md | Claude Code project instructions |
**/.claude/rules/**, **/.claude/skills/**, **/.claude/agents/**, **/.claude/commands/** | Claude Code rules, skills, subagents and commands |
**/.cursor/rules/** | Cursor rules (.mdc, subfolders) |
**/.github/copilot-instructions.md, **/.github/instructions/**/*.instructions.md | GitHub Copilot instructions |
**/.windsurf/rules/**, **/.windsurf/skills/**, **/.devin/rules/**, **/.devin/skills/** | Windsurf rules and skills |
**/.clinerules/**, **/.cline/rules/** | Cline rules folders |
**/.kiro/steering/** | Kiro steering files |
**/.agents/rules/**, **/.agents/workflows/**, **/.agents/skills/** | Antigravity rules, workflows and skills (also the older .agent/ folder) |
**/.cortex/** | Cortex Code project files |
**/.opencode/** | OpenCode agents, commands, plugins and skills |
**/.kilo/rules/**, **/.kilocode/rules/**, **/.kilo/plugin/**, **/.kilo/tool/**, **/.kilocode/plugin/** | Kilo 7.x rules, plugins and tools |
**/.kilo/{agent,agents,command,commands,skill,skills,mode,modes,plugins,tools}/**, **/.kilocode/{tool,skills,workflows}/** | Kilo 7.x agents, commands, skills, modes and legacy tools |
claude.md is the same file the agent loads as CLAUDE.md, so it is matched too.Agent configuration files
These configure what the agent is and what it may reach - which tool servers exist and what the workspace hands it. Watched inside already confirmed agent projects:
| Pattern | What it is |
|---|---|
**/.mcp.json | MCP tool-server configuration |
**/mcp.json | MCP tool-server configuration |
**/.vscode/tasks.json | VS Code tasks (only under .vscode/) |
**/opencode.json, **/opencode.jsonc | OpenCode configuration |
**/kilo.json, **/kilo.jsonc | Kilo 7.x configuration |
tasks.json sits in countless ordinary dev projects, so it is not a trigger on its own.Config and hook files
Agent config and hook files, classified by their path (from model size Mini up a dedicated Melira expert evaluates them, with Nano the same expert as for memory):
| Pattern | What it is |
|---|---|
**/settings.json | Agent settings |
**/settings.local.json | Local agent settings |
**/setup.mjs | Agent setup hook |
The config route also includes the three agent-configuration files above (.mcp.json, mcp.json, .vscode/tasks.json).
Per-agent memory locations
The built-in registry ships default watch locations per agent, relative to the user home; the memory globs are relative to each agent root:
| Agent | Home path | Memory globs |
|---|---|---|
| Claude Code | .claude | **/memory/**, settings.json, settings.local.json, setup.mjs, CLAUDE.md, rules/**, skills/**, agents/**, commands/** |
| OpenClaw | .openclaw | **/AGENTS.md, **/*.memory.md, **/SOUL.md, **/USER.md, **/IDENTITY.md, **/BOOT.md, **/BOOTSTRAP.md, **/MEMORY.md, **/memory/**/*.md, openclaw.json |
| OpenClaw Skills | .openclaw/skills | **/*.md |
| Agent Skills | .agents/skills | **/*.md |
| Cursor | .cursor | rules/**, mcp.json |
| Windsurf / Codeium | .codeium | **/memories/** |
| Cline | .cline | **/*.md |
| Continue | .continue | **/rules/** |
| OpenAI Codex | .codex | **/AGENTS.md |
| Gemini CLI | .gemini | **/GEMINI.md, settings.json |
| Cline Rules | Documents/Cline/Rules, Cline/Rules | ** |
| Agents (global AGENTS.md) | .agents | AGENTS.md, rules/** |
| Kiro | .kiro | steering/** |
| Antigravity | .gemini/antigravity | global_workflows/**, skills/**, rules/**, mcp_config.json |
| Windsurf (.devin) | .devin | rules/**, skills/**, global_rules.md |
| Windsurf (devin config) | .config/devin | skills/**, mcp_config.json |
| OpenCode | .config/opencode | AGENTS.md, opencode.json, opencode.jsonc, agents/**, commands/**, modes/**, plugins/**, skills/**, tools/** |
| Kilo 7.x | .config/kilo | AGENTS.md, kilo.json, kilo.jsonc, opencode.json, opencode.jsonc, config.json, rules/**, agent/**, agents/**, command/**, commands/**, mode/**, modes/**, plugin/**, plugins/**, skill/**, skills/**, tool/**, tools/** |
| Kilo 7.x Memory | .local/share/kilo/memory | **/*.md |
| Cortex Code | .snowflake/cortex | skills/**, agents/**, plugins/**, hooks.json, mcp.json, permissions.json |
Optional: All Markdown
- Off by default.
- The
ProtectAllMarkdowntoggle additionally covers every**/*.mdfile under a protected root.
node_modules are skipped when the watcher sets up recursively - one source of truth, no duplicate copy.Read next
Once you know what is watched, see how a change is judged and reverted: The poison0 agent is fail-closed and guards against memory poisoning.