graph-ask

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

A natural-language question tool for searching a memory graph, a database of people, projects, concepts, decisions, and their connections.

In plain words
What is it for?
Use it to investigate relationships and facts stored in the project’s memory graph.
Why use it?
It lets you ask custom questions when the available standard graph searches do not cover what you need.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it to investigate relationships and facts stored in the project’s memory graph.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/stevepridemore/graph-memory/graph-ask
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-ask
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-ask

README.md
[![agentmods](https://agentmods.dev/badge/skills/stevepridemore/graph-memory/graph-ask/github.svg)](https://agentmods.dev/skills/stevepridemore/graph-memory/graph-ask)
Your own site
<a href="https://agentmods.dev/skills/stevepridemore/graph-memory/graph-ask"><img src="https://agentmods.dev/badge/skills/stevepridemore/graph-memory/graph-ask/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-ask

Your own site · 80×15
<a href="https://agentmods.dev/skills/stevepridemore/graph-memory/graph-ask"><img src="https://agentmods.dev/badge/skills/stevepridemore/graph-memory/graph-ask.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,829 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.00043 $0.01829
Opus 5.5 $0.00017 $0.00732
Sonnet 5.5 $0.00009 $0.00366
Haiku 4.5 $0.00004 $0.00183

Measured 1mo ago against content hash b721b499a677, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

graph-ask 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 1mo 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-ask/SKILL.md · 177 lines

How it starts

The opening of the file, as written. The whole thing — 177 lines — stays where its author put it; the contents beside it link to each section on GitHub.

The user wants to ask a natural language question about the memory graph. You will generate the Cypher query yourself and execute it via the graph_cypher MCP tool.

Arguments: $ARGUMENTS

GRAPH SCHEMA

All entity nodes carry both :Entity and their type label (e.g., :Entity:Person). All entities have: id (STRING), name (STRING), subtype (STRING), confidence (FLOAT), times_mentioned (INTEGER), first_seen (DATETIME), last_seen (DATETIME), source_file (STRING).

Node labels (8 types):

  • Person: role, relationship_to_user, organization, email
  • Project: status, stack, description, directory, start_date
  • Preference: domain, key, value, times_confirmed
  • Concept: category, user_expertise, description
  • Decision: what, why, context, reversible (BOOLEAN), status, decided_date
  • Fact: domain, content, source, verified (BOOLEAN)
  • Event: description, event_date (DATETIME), duration, outcome, location, status
  • Object: object_type, description, status, url, version

Relationship types (17 total, all have weight FLOAT and last_confirmed DATETIME):

  • WORKS_ON (Person->Project): role, since
  • PREFERS (Person->Preference): strength
  • KNOWS_ABOUT (Person->Concept): depth
  • DEPENDS_ON (Project->Project): dependency_type
  • USES_TECH (Project->Concept): role
  • DECIDED_FOR (Decision->any)
  • SUPERSEDES (Decision->Decision): reason, superseded_date
  • CONTRADICTS (any->any): description, detected_date, resolved (BOOLEAN), resolution
  • RELATED_TO (any->any): relationship_type (similar_to, part_of, enables, impacts, depends_on, alternative_to, derived_from, implements, extends, configured_by)
  • ALIAS_OF (any->any)
  • PARTICIPATED_IN (Person->Event): role
  • OCCURRED_DURING (Event->Project)
  • PRODUCED (Event->Decision|Object|Fact)
  • TRIGGERED_BY (Event->Event)
  • USES (Project|Person->Object): purpose
  • HOSTED_ON (Object->Object)
  • PRODUCED_BY (Object->Project|Event)

QUERY TEMPLATES

Use these tested templates for common question patterns. Fill in the $param values and adjust as needed.

Read the full file on GitHub · 177 lines

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. 1mo ago First seen · 177 lines · 43 tokens per session scan A b721b499a677

Subscribe to this mod's changes

graph-ask is a skill published in the GitHub repository stevepridemore/graph-memory (2 stars, last pushed 7d ago), licensed MIT. It adds 43 tokens to every session and 1,829 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

Other skills, from other repositories

ori-memory

Persistent agent memory with learning retrieval. Knowledge graph on markdown files — capture insights, decisions, research, and learnings during work, then retrieve them weeks or months later. Use when knowledge is too valuable to lose but too much to inject into every prompt.

aayoawoyemi/Ori-Mnemos · 54 tokens

goodmem:mcp

Workflow guide for GoodMem MCP server tools. Use when an agent needs to understand what GoodMem MCP tools are available and how to use them. Parameter signatures are provided by the MCP protocol itself — do not hardcode them here.

PAIR-Systems-Inc/goodmem-claude-code-plugin · 51 tokens

goodmem:help

Overview of all available GoodMem skills and what a user needs to get started. Invoke when a user asks what GoodMem skills are available, how to get started, or what they need to set up.

PAIR-Systems-Inc/goodmem-claude-code-plugin · 46 tokens

goodmem:java

Use when the user wants to write Java code that interacts with GoodMem - creating embedders, spaces, memories, retrieval, pagination, streaming, or async workflows with the goodmem-java SDK.

PAIR-Systems-Inc/goodmem-claude-code-plugin · 45 tokens

goodmem:python

Use when the user wants to write Python code that interacts with GoodMem — creating embedders, spaces, memories, retrieval, managing API keys, etc. Provides the complete SDK reference for the goodmem Python package.

PAIR-Systems-Inc/goodmem-claude-code-plugin · 49 tokens

capture-knowledge

A guide for saving useful, reusable knowledge from conversations and documents into a structured personal knowledge base. It separates original source material from concise pages about individual concepts.

YusenZhang0601/context-canopy · 92 tokens