graphmind
CLAUDE.md213 starsChanged 6 months agoMITView on GitHub
Local-first code intelligence CLI with MCP server. Last build: 2026-05-01 | 934 symbols | 2246 edges | 131 files Languages: rust (92), typescript (20), toml (9), markdown (3), bash (2), ruby (1), python (1), html (1), go (1), css (1) MCP: graphmind mcp (stdio) Only fall back to grep/find for: string literals, config values, non-code patterns.
- Pipes a download into a shell
In this repositoryOne other file it gives its agents.
- SKILL.mdSkill
The file
We split this CLAUDE.md into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is 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.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 51
NEVER use grep/find/ls/Glob to search code.
- Distinctive: line 68
Only fall back to grep/find for: string literals, config values, non-code patterns.
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 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
graphmind
Local-first code intelligence CLI with MCP server.
Tech Stack
- Rust — full Cargo workspace
- Parsing: tree-sitter via napi-rs (
crates/graphmind-core/) - Graph: SQLite + FTS5 (
crates/graphmind-db/) - Memory: JSONL store + cross-project inference (
crates/graphmind-memory/) - Embeddings: cosine search + RRF (
crates/graphmind-embeddings/) - MCP: rmcp SDK v1.5, stdio transport (
crates/graphmind-mcp/) - CLI: clap (
crates/graphmind-cli/)
Commands
cargo check --workspace # check all crates
cargo build --release -p graphmind-cli # build release binary
cargo clippy --workspace -- -D warnings # lint
cargo test --workspace # run testsUser-facing setup
graphmind setup # global one-time: hooks + MCP + skill
graphmind init # per-project: register + git hooks + build
graphmind init --skip-build # per-project without buildingProject Structure
crates/graphmind-core/— Rust parsing engine (tree-sitter, napi-rs)crates/graphmind-db/— SQLite graph (schema, builder, queries, FTS5, cache)crates/graphmind-memory/— JSONL memory store + cross-project linkscrates/graphmind-embeddings/— embedding store, cosine search, RRF fusioncrates/graphmind-mcp/— MCP server (rmcp SDK, 24 tools)crates/graphmind-cli/— CLI (clap, all commands)
Installation
curl -fsSL https://raw.githubusercontent.com/aouicher/graphmind/main/scripts/install.sh | bash<!-- graphmind:start -->graphmind
Last build: 2026-05-01 | 934 symbols | 2246 edges | 131 files
Languages: rust (92), typescript (20), toml (9), markdown (3), bash (2), ruby (1), python (1), html (1), go (1), css (1)
MCP: graphmind mcp (stdio)
MANDATORY: use graphmind for ALL code exploration
NEVER use grep/find/ls/Glob to search code. Use graphmind MCP tools:
| Need | MCP tool | CLI equivalent |
| Find symbol | gm_fn | graphmind fn <name> |
| Search by intent | gm_search | graphmind search "<query>" |
| File dependencies | gm_deps | graphmind deps <file> |
| Symbol resolution | gm_query | graphmind query <name> |
| Blast radius | gm_fn_impact | graphmind fn-impact <name> |
| Git diff impact | gm_diff_impact | graphmind diff-impact |
| Project overview | gm_map | graphmind map |
| File outline | gm_outline | graphmind outline <file> |
| Who calls chain | gm_who_calls_chain | — |
| Dead code | gm_dead_code | — |
| Cross-project | gm_cross_query | graphmind cross query |
| Memory search | gm_memory_search | graphmind memory search |
Only fall back to grep/find for: string literals, config values, non-code patterns.
Rebuild when
Structural changes, new modules, after merge.
Command: graphmind build
<!-- graphmind:end -->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.

