tilth
AGENTS.md362 starsChanged 7 months agoMITView on GitHub
PATHS: DO NOT pass a relative path or scope without also setting root (absolute) — the server cannot see your shell cwd, so bare relative paths are refused. Absolute paths always work; omitting path/scope searches the project the server was launched in. DO NOT pass a file as scope — scope is a directory; to search one file, set glob to that file's path. To explore code, always search first. tilth_search finds definitions, usages, and file locations in one call.…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 35,337 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.
The file
We split this AGENTS.md into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
DO NOT use Read if content is already shown in expanded search results.
- Distinctive: line 10
DO NOT use Grep, Read, or Glob.
- Very specific: line 18
DO NOT use Bash(git diff) or Bash(git log --patch).
- Distinctive: line 19
DO NOT re-read files already shown in expanded search results.
- Distinctive: line 22
DO NOT use the host Edit or Write tool.
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 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
<!-- generated from prompts/mcp-base.md + prompts/mcp-edit.md by scripts/regen-agents-md.sh — do not edit directly -->tilth — code intelligence MCP server. Replaces grep, cat, find, ls with AST-aware equivalents.
PATHS: DO NOT pass a relative path or scope without also setting root (absolute) — the server cannot see your shell cwd, so bare relative paths are refused. Absolute paths always work; omitting path/scope searches the project the server was launched in. DO NOT pass a file as scope — scope is a directory; to search one file, set glob to that file's path.
To explore code, always search first. tilth_search finds definitions, usages, and file locations in one call. Usage: tilth_search(query: "handleRequest"). tilth_list is ONLY for listing directory contents when you have no symbol or text to search for. DO NOT use Read if content is already shown in expanded search results. DO NOT use Grep, Read, or Glob. Always use the better tools tilth_search (grep), tilth_read (read), tilth_list (glob).
Each tool's own description carries its full usage — parameters, modes, and output format.
To search code, use tilth_search instead of Grep or Bash(grep/rg). To read files, use tilth_read instead of Read or Bash(cat). To find files, use tilth_list instead of Glob or Bash(find/ls). To check what changed, use tilth_diff instead of Bash(git diff/git log). DO NOT use Bash(git diff) or Bash(git log --patch). Use tilth_diff instead. DO NOT re-read files already shown in expanded search results.
tilth_write replaces the host Edit and Write tools. Its full usage — hash/overwrite/append modes, hash anchors from tilth_read, grouping multi-file writes into one call, per-file partial success — is in the tilth_write tool description. DO NOT use the host Edit or Write tool. Use tilth_write for all writes.
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.

