SKILL.md
Skill213 starsChanged 6 months agoMITView on GitHub
graphmind gives Claude Code persistent memory and structural code intelligence across all registered projects. Auto-triggers in any registered project directory. MANDATORY: query graphmind before using grep, find, or reading source files.
200 other projects use a version of this.
Adopted by
Most recently taken up by
- SysikNagibator/AiPCtheir own version, first seen Oct 6, 2026
- Ataraxy-Labs/weavetheir own version, first seen Oct 4, 2026
- Ataraxy-Labs/semtheir own version, first seen Oct 3, 2026
- OutSystems/outsystems-mcptheir own version, first seen Sep 30, 2026
- jukkan/xrm-mcptheir own version, first seen Sep 30, 2026
- duty1g/x64dbg-mcp-servertheir own version, first seen Sep 29, 2026
Other versions200 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 200
- Ataraxy-Labs/sem★ 3.4ksame name
- op7418/NanoBanana-PPT-Skills★ 3.3ksame name
- duty1g/x64dbg-mcp-server★ 2.2ksame name
- Ataraxy-Labs/weave★ 1.3ksame name
- reticlehq/reticle★ 1.2ksame name
- Auriti-Labs/geo-optimizer-skill★ 994same name
- xiaohuailabs/xiaohu-wechat-format★ 698same name
- klawsh/klaw.sh★ 634same name
- Jiang59991/ginger_wechat_portrait★ 514same name
- edouard-claude/snip★ 462same name
190 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repositoryOne other file it gives its agents.
- CLAUDE.mdCLAUDE.md
The file
Show its rules and text
We split this skill into the rules it gives an agent
18 rules. 0 are common, 9 are distinctive, and 9 are very specific to this project.
0
Common
Most of the 119 edited versions we read keep these.
9
Distinctive
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 54
AUTO-SAVE: When the conversation reveals any of the following, immediately save via gm_memory_add:
- Distinctive: line 62
Do NOT ask "should I save this?" — just save it
- Very specific: line 63
Use project=<slug> for project-specific facts
- Very specific: line 64
Use global=true for user preferences, team conventions, cross-project knowledge
- Distinctive: line 65
Keep entries atomic: one fact per entry, clear and reusable
- Distinctive: line 66
Do NOT save ephemeral task progress or things derivable from code/git
- Distinctive: line 69
Read source files only when editing or when the graph doesn't have the answer.
- Very specific: line 72
When a symbol or pattern might exist in another project: graphmind cross query <symbol> or MCP gm_cross_query
- Very specific: line 76
Start of session: run graphmind session start → loads graph summary + recent memory
- Very specific: line 77
End of session: run graphmind session save → saves decisions and progress to memory
- Distinctive: line 80
After adding/removing modules or major refactors
- Distinctive: line 81
After git merge with structural changes
- Distinctive: line 82
NOT every session — the graph persists between sessions
- Very specific: line 86
Never use grep/find/rg to search for symbols — use graphmind
- Very specific: line 87
Never re-read the entire codebase if graphmind can answer it
- Very specific: line 88
Never manually edit files in ~/.graphmind/
- Distinctive: line 89
Never rebuild the graph every session
- Distinctive: line 90
Never skip the 3-layer rule
“Common” is measured: kept by at least 6 in 10 of the 119 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
graphmind — Persistent Code Intelligence
MANDATORY: Search through graphmind FIRST
Before using Grep, find, rg, ag, or reading files to understand code: You MUST query graphmind first. Only fall back to grep/find if graphmind cannot answer (e.g., string literals, config values, non-code patterns).
| Need | Command | MCP tool |
| Find a symbol | graphmind fn <symbol> | gm_fn |
| Search by intent | graphmind search "<query>" | gm_search |
| File dependencies | graphmind deps <file> | gm_deps |
| Who calls X | graphmind query <symbol> | gm_query |
| Blast radius | graphmind fn-impact <symbol> | gm_fn_impact |
| Git change impact | graphmind diff-impact | gm_diff_impact |
| Project overview | graphmind map | gm_map |
| File outline | graphmind outline <file> | gm_outline |
| Raw file content | graphmind file <file> | gm_file |
| Who calls chain | — | gm_who_calls_chain |
| Dead code | — | gm_dead_code |
| Cross-project | graphmind cross query <symbol> | gm_cross_query |
| Memory search | graphmind memory search "<query>" | gm_memory_search |
Is this project registered?
Check: graphmind status
Register if not: graphmind register .
The 3-Layer Rule — always follow this order
Layer 1 — Structural graph (what the code IS)
Query before touching any code:
- Find a symbol:
graphmind fn <symbol>or MCPgm_fn - File dependencies:
graphmind deps <file>or MCPgm_deps - Blast radius before editing:
graphmind fn-impact <symbol> --no-tests - Impact of current git changes:
graphmind diff-impact - Entry points:
graphmind map - File structure:
graphmind outline <file>or MCPgm_outline - Transitive callers: MCP
gm_who_calls_chain
Layer 2 — Persistent memory (what was DECIDED, PREFERRED, KNOWN)
Query for context, decisions, conventions:
graphmind memory search "<query>"or MCPgm_memory_search
AUTO-RECALL: The hook automatically searches memory on each prompt. Use gm_memory_search for deeper/targeted recall.
AUTO-SAVE: When the conversation reveals any of the following, immediately save via gm_memory_add:
- Decisions (type: decision) — architecture choices, tech choices, trade-off resolutions
- Patterns (type: pattern) — recurring approaches, solutions, code patterns
- Conventions (type: convention) — naming, style, workflow rules
- Bugs (type: bug) — known issues, workarounds, gotchas
- Context (type: context) — business context, project goals, stakeholder info, user preferences
Save rules:
- Do NOT ask "should I save this?" — just save it
- Use
project=<slug>for project-specific facts - Use
global=truefor user preferences, team conventions, cross-project knowledge - Keep entries atomic: one fact per entry, clear and reusable
- Do NOT save ephemeral task progress or things derivable from code/git
Layer 3 — Raw files (only when layers 1-2 are insufficient)
Read source files only when editing or when the graph doesn't have the answer.
Cross-project queries
When a symbol or pattern might exist in another project:
graphmind cross query <symbol> or MCP gm_cross_query
Session workflow
Start of session: run graphmind session start → loads graph summary + recent memory
End of session: run graphmind session save → saves decisions and progress to memory
When to rebuild the graph
- After adding/removing modules or major refactors
- After
git mergewith structural changes - NOT every session — the graph persists between sessions
- Command:
graphmind build(fast, SHA256-cached)
NEVER
- Never use grep/find/rg to search for symbols — use graphmind
- Never re-read the entire codebase if graphmind can answer it
- Never manually edit files in
~/.graphmind/ - Never rebuild the graph every session
- Never skip the 3-layer rule
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.

