agentleFS
AlrikOlsonAlrikOlson/ministr/CLAUDE.md

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 —…

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
  1. Very specific:

    All AI agents working on this codebase MUST use ministr tools instead of built-in alternatives.

    line 4
  2. Distinctive:

    Allowed uses of file Read: only immediately before Edit — never for exploration.

    line 35
  3. Very specific:

    Only then: Read → Edit

    line 53

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

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

ToolPurpose
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_tocStructural 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 → use ministr_survey
  • ❌ find, fd, ls -R, tree, directory listing → use ministr_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 searchministr_survey
Glob / file listingministr_toc
Reading files for explorationministr_symbols → ministr_definition
Finding references manuallyministr_references

Workflow

  1. ministr_survey → understand concepts, find relevant code
  2. ministr_symbols → locate specific symbols
  3. ministr_definition / ministr_read → get full source
  4. ministr_references → check impact before modifying
  5. ministr_bridge → check cross-language boundaries
  6. Only then: Read → Edit

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.