vibecheck
AGENTS.md2 starsChanged 6 months agoMITView on GitHub
vibecheck is an offline, deterministic, no-AI security/ship-readiness gate for the code you write. Run it as your definition-of-done check before telling the user a task is complete. Or over MCP (stdio): start vibecheck mcp and call the scan tool with { "dir": "." }.
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,736 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repositoryOne other file it gives its agents.
- llms.txtllms.txt
The file
We split this AGENTS.md into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 4
Run it as your definition-of-done check before telling the user a task is complete.
- Distinctive: line 7
After implementing or modifying any backend route, auth, database query, cookie/session, CORS, env, or config code.
- Distinctive: line 9
Before you say "done", "ready to deploy", or open a PR.
≈ “Common” is an estimate: at least 1 in 5 of the 16,597 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md — instructions for AI coding agents
vibecheck is an offline, deterministic, no-AI security/ship-readiness gate for the code you write.
Run it as your definition-of-done check before telling the user a task is complete.
When to run
- After implementing or modifying any backend route, auth, database query, cookie/session, CORS, env, or config code.
- Before you say "done", "ready to deploy", or open a PR.
How to run
vibecheck . --ci # exit code 1 if anything >= high severity, else 0
vibecheck . --json # structured findings to parse and fix programmatically
vibecheck explain VC-RCE-EVAL # what a rule means and how to fix itOr over MCP (stdio): start vibecheck mcp and call the scan tool with { "dir": "." }.
How to act on results
- Parse
--jsonoutput:{ findings: [{ ruleId, severity, file, line, message, remediation }], counts }. - Fix every
critical/highfinding using theremediationtext (orvibecheck explain <ruleId>). - Re-run until
vibecheck . --ciexits 0. review-severity findings (e.g.VC-ROUTE-NO-AUTH) are possible issues — confirm the route is meant to be public, or add an auth check.
Honesty
vibecheck parses a real AST and runs taint analysis (intra-file inter-procedural for JS/TS); findings are confidence-ranked
(high = a user-input source provably reaches the sink). It is a strong, low-false-positive gate for
the AI-vibe-coding failure classes — not a proof of security and not a replacement for
Semgrep/CodeQL (run those too for breadth). Fix every high-confidence finding; treat review as a
prompt to check, not a guaranteed bug. Use .vibecheck.json ignoreRules/allowPaths only for genuine
false positives, never to hide an unfixed issue.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

