agentleFS
aouicheraouicher/graphmind/SKILL.md

SKILL.md

Skill219 starsChanged 50 days 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

Used with

Projects with it also use crypto-intelligence, heart and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • Arcanea-LabsSkill

    crypto-intelligence

    Vertical-tier skill for Crypto Intelligence Domain Sub-Stack. Auto-activates inside verticals/crypto-intelligence/ or on /crypto-* commands. Enforces R5 non-advisory clause, voice (architect), refusal patterns, composition with Wealth IS umbrella per Board 2026-05-17. Loads verticals/crypto-intelligence/SKILL.md wrapper for full doctrine.

    Also in 3 projects that use this

  • Arcanea-LabsSkill

    heart

    Ops health monitor for the machine substrate. Checks Memory Bus, brain_watchdog, Voice Operator, dashboard, audit-log freshness, and scheduled tasks. Cross-cutting skill that any repo can invoke when daemons feel off or before starting a heavy work session.

    Also in 3 projects that use this

  • +10 more from Arcanea-Labs
  • Other versions200 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 200

    1. xtekky/gpt4free★ 67ksame name
    2. stas00/ml-engineering★ 20ksame name
    3. wanghongenpin/proxypin★ 15ksame name
    4. Ataraxy-Labs/sem★ 3.5ksame name
    5. op7418/NanoBanana-PPT-Skills★ 3.3ksame name
    6. charmbracelet/pop★ 2.9ksame name
    7. duty1g/x64dbg-mcp-server★ 2.9ksame name
    8. RevylAI/greenlight★ 2.4ksame name
    9. kevinho/clawfeed★ 2.4ksame name
    10. Autumn-27/ScopeSentry★ 1.9ksame 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.

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

    AUTO-SAVE: When the conversation reveals any of the following, immediately save via gm_memory_add:

    line 54
  2. Distinctive:

    Do NOT ask "should I save this?" — just save it

    line 62
  3. Very specific:

    Use project=<slug> for project-specific facts (or the absolute path of the checkout — in a git worktree, its path selects its own graph and …

    line 63
  4. Very specific:

    Use global=true for user preferences, team conventions, cross-project knowledge

    line 64
  5. Distinctive:

    Keep entries atomic: one fact per entry, clear and reusable

    line 65
  6. Distinctive:

    Do NOT save ephemeral task progress or things derivable from code/git

    line 66
  7. Distinctive:

    Read source files only when editing or when the graph doesn't have the answer.

    line 69
  8. Very specific:

    When a symbol or pattern might exist in another project: graphmind cross query <symbol> or MCP gm_cross_query

    line 72
  9. Very specific:

    Start of session: run graphmind session start → loads graph summary + recent memory

    line 76
  10. Very specific:

    End of session: run graphmind session save → saves decisions and progress to memory

    line 77
  11. Distinctive:

    After adding/removing modules or major refactors

    line 80
  12. Distinctive:

    After git merge with structural changes

    line 81
  13. Distinctive:

    NOT every session — the graph persists between sessions

    line 82
  14. Very specific:

    Never use grep/find/rg to search for symbols — use graphmind

    line 86
  15. Very specific:

    Never re-read the entire codebase if graphmind can answer it

    line 87
  16. Very specific:

    Never manually edit files in ~/.graphmind/

    line 88
  17. Distinctive:

    Never rebuild the graph every session

    line 89
  18. Distinctive:

    Never skip the 3-layer rule

    line 90

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

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

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).

NeedCommandMCP tool
Find a symbolgraphmind fn <symbol>gm_fn
Search by intentgraphmind search "<query>"gm_search
File dependenciesgraphmind deps <file>gm_deps
Who calls Xgraphmind query <symbol>gm_query
Blast radiusgraphmind fn-impact <symbol>gm_fn_impact
Git change impactgraphmind diff-impactgm_diff_impact
Project overviewgraphmind mapgm_map
File outlinegraphmind outline <file>gm_outline
Raw file contentgraphmind file <file>gm_file
Who calls chain—gm_who_calls_chain
Dead code—gm_dead_code
Cross-projectgraphmind cross query <symbol>gm_cross_query
Memory searchgraphmind 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 MCP gm_fn
  • File dependencies: graphmind deps <file> or MCP gm_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 MCP gm_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 MCP gm_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 (or the absolute path of the checkout — in a git worktree, its path selects its own graph and the repo's shared memory)
  • Use global=true for 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 merge with 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

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.