graph

graph is a skill for Claude Code from stevepridemore/graph-memory. It costs 39 tokens per session (322 once invoked), scanned A, original, MIT.

A command for exploring a memory graph: a store of entities such as people, projects, facts, decisions, and events connected by relationships.

In plain words
What is it for?
Looking up one or more entities, traversing nearby relationships, filtering results by entity type, and finding associated source files.
Why use it?
It helps users find related knowledge without manually searching separate notes or files. It also shows how strongly entities are connected and where the source information came from.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Looking up one or more entities, traversing nearby relationships, filtering results by entity type, and finding associated source files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/stevepridemore/graph-memory/graph
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add stevepridemore/graph-memory --skill graph
Clone the repo
git clone --depth 1 https://github.com/stevepridemore/graph-memory

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for graph

README.md
[![agentmods](https://agentmods.dev/badge/skills/stevepridemore/graph-memory/graph/github.svg)](https://agentmods.dev/skills/stevepridemore/graph-memory/graph)
Your own site
<a href="https://agentmods.dev/skills/stevepridemore/graph-memory/graph"><img src="https://agentmods.dev/badge/skills/stevepridemore/graph-memory/graph/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for graph

Your own site · 80×15
<a href="https://agentmods.dev/skills/stevepridemore/graph-memory/graph"><img src="https://agentmods.dev/badge/skills/stevepridemore/graph-memory/graph.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 322 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00039 $0.00322
Opus 5.5 $0.00016 $0.00129
Sonnet 5.5 $0.00008 $0.00064
Haiku 4.5 $0.00004 $0.00032

Measured 3d ago against content hash 7e4ab1f0166f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

graph scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/graph/SKILL.md · 32 lines

What it actually says

The user wants to query the memory graph.

Arguments: $ARGUMENTS

Parse the arguments:

  • First positional argument(s) are entity names to query (required)
  • --hops N optional: max traversal depth (default 2)
  • --type optional: filter results by node type (Person, Project, Preference, Concept, Decision, Fact, Event, Object)
  • --related optional: show all entities related to the query entity

Steps:

  1. Call the graph_query MCP tool with:
    • entities: the entity name(s) from the arguments
    • max_hops: from --hops flag or default 2
    • entity_types: from --type flag if provided
    • project_context: the current working directory
  2. Present the results in a readable format:
    • Group by entity type
    • Show relationship types and weights
    • Highlight the strongest connections
    • Note any effective_weight vs raw weight differences (project affinity)
    • List associated source files the user can read for full context

If the query returns no results, suggest checking entity names or trying broader terms. If no entity name is provided, ask the user what they want to look up.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago Changed · +39 tokens per session 7e4ab1f0166f
  2. 3mo ago First seen · 32 lines · 0 tokens per session scan A 4d222044ec57

Subscribe to this mod's changes

graph is a skill published in the GitHub repository stevepridemore/graph-memory (3 stars, last pushed 4d ago), licensed MIT. It adds 39 tokens to every session and 322 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

graph compared with skills from other repositories

graph next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
graphstevepridemore/graph-memorySkill34d agoMITA39Claude Code
memory-evolutionnhadaututtheky/neural-memorySkill2462d agoMITA42Claude Code
neural-memorynhadaututtheky/neural-memorySkill2462d agoMITA125Claude Code
memory-auditnhadaututtheky/neural-memorySkill2462d agoMITA39Claude Code
memory-intakenhadaututtheky/neural-memorySkill2462d agoMITA44Claude Code
.claude-pluginnhadaututtheky/neural-memorySkill2462d agoMITA0Claude Code
dkg-nodeOriginTrail/dkgSkill133yesterdayApache-2.0B58Claude Code, Codex