ministr
CLAUDE.md4 starsChanged 7 months agoMITView on GitHub
This project uses ministr as an MCP server for semantic code search and navigation. All AI agents working on this codebase MUST use ministr tools instead of built-in alternatives. ministr is automatically configured via .mcp.json (Claude Code), .vscode/mcp.json (VS Code / Copilot), and .cursor/mcp.json (Cursor). These are BLOCKED and must NEVER be used for code discovery or search: Allowed uses of Shell/Bash: building, testing, git, installing dependencies, running the project. Allowed uses of file Read: only immediately before Edit —…
In this repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- docs/llms.txtllms.txt
The file
We split this CLAUDE.md into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 4
All AI agents working on this codebase MUST use ministr tools instead of built-in alternatives.
- Distinctive: line 35
Allowed uses of file Read: only immediately before Edit — never for exploration.
- Very specific: line 53
Only then: Read → Edit
≈ “Common” is an estimate: at least 1 in 5 of the 29,248 CLAUDE.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
Agent Instructions
This project uses ministr as an MCP server for semantic code search and navigation. All AI agents working on this codebase MUST use ministr tools instead of built-in alternatives.
MCP Server: ministr
ministr is automatically configured via .mcp.json (Claude Code), .vscode/mcp.json (VS Code / Copilot), and .cursor/mcp.json (Cursor).
Tool Reference
| Tool | Purpose |
ministr_survey(query) | Semantic search across docs and code. Start here. |
ministr_symbols(query) | Find structs, functions, traits, enums by name/kind/module. |
ministr_definition(symbol_id) | Get full source of a symbol by ID. |
ministr_references(symbol_id) | Find callers, implementors, importers of a symbol. |
ministr_read(section_id) | Read a section by ID. |
ministr_extract(section_id) | Get atomic claims from a section. |
ministr_toc | Structural overview of the indexed corpus. |
ministr_bridge(query) | Cross-language bridge links (Tauri, PyO3, NAPI, etc.). |
PROHIBITED — Do NOT Use for Exploration
These are BLOCKED and must NEVER be used for code discovery or search:
- ❌
grep,rg,ripgrep,ag,ack,egrep,fgrep→ useministr_survey - ❌
find,fd,ls -R,tree, directory listing → useministr_toc - ❌
cat file | grep,cmd | head,cmd | tail,cmd | wc→ use ministr tools - ❌ Built-in Grep/Glob tools → use
ministr_survey/ministr_toc - ❌ Reading files for exploration → use
ministr_symbols→ministr_definition - ❌ Any Shell/Bash/Terminal command for search or file discovery
Allowed uses of Shell/Bash: building, testing, git, installing dependencies, running the project. Allowed uses of file Read: only immediately before Edit — never for exploration.
Required Tool Mapping
| Instead of… | Use… |
| Grep / text search | ministr_survey |
| Glob / file listing | ministr_toc |
| Reading files for exploration | ministr_symbols → ministr_definition |
| Finding references manually | ministr_references |
Workflow
ministr_survey→ understand concepts, find relevant codeministr_symbols→ locate specific symbolsministr_definition/ministr_read→ get full sourceministr_references→ check impact before modifyingministr_bridge→ check cross-language boundaries- Only then:
Read→Edit
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.

