agentleFS
aouicheraouicher/graphmind/CLAUDE.md

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.

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

    NEVER use grep/find/ls/Glob to search code.

    line 51
  2. Distinctive:

    Only fall back to grep/find for: string literals, config values, non-code patterns.

    line 68

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

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

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 tests

User-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 building

Project 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 links
  • crates/graphmind-embeddings/ — embedding store, cosine search, RRF fusion
  • crates/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:

NeedMCP toolCLI equivalent
Find symbolgm_fngraphmind fn <name>
Search by intentgm_searchgraphmind search "<query>"
File dependenciesgm_depsgraphmind deps <file>
Symbol resolutiongm_querygraphmind query <name>
Blast radiusgm_fn_impactgraphmind fn-impact <name>
Git diff impactgm_diff_impactgraphmind diff-impact
Project overviewgm_mapgraphmind map
File outlinegm_outlinegraphmind outline <file>
Who calls chaingm_who_calls_chain—
Dead codegm_dead_code—
Cross-projectgm_cross_querygraphmind cross query
Memory searchgm_memory_searchgraphmind 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 -->

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.