A rules file is context, not control.
Your agent reads CLAUDE.md, AGENTS.md or its rules folder once, when the session starts. VibeDefend serves each rule at the line it applies to.
In the file. Broken anyway.
A file is read when the session starts. A rule matters at one line, many turns later.
At the line
Before each edit, the rules for the file being changed.
From your code
Proposed from your code, approved once. No file to maintain.
In every agent
The same rules in all six coding agents.
Served is not enforced.
A served rule can still be ignored. So every change is also checked before the commit.
In detail
Questions about rules files.
Should I delete my CLAUDE.md or AGENTS.md?
No. Keep what helps the agent work, such as build commands and conventions. The rules that must hold are better served at the line where they apply, and checked before the commit.
What does serving rules cost in tokens?
A little: each rule served is text the agent reads. Only the rules for the file being changed are served, never the whole list.
Why not just write a longer rules file?
A longer file is still read once, at the start, next to everything else in the session. VibeDefend serves the few rules that apply to the file being changed, right before the edit, then checks the result before the commit.
Which agents does it work with?
The installer sets up Claude Code, Cursor, Devin Desktop, GitHub Copilot, OpenAI Codex and Google Antigravity. Rules reach all six; the guards run in Claude Code, Cursor, Codex and Antigravity.
Your rules, at the line.
One command. Every agent. No card.
npx -y @cybedefend/vibedefend@latest installClaude Code
CursorDevin Desktop
GitHub Copilot
OpenAI Codex
Google Antigravity