graph-capture

graph-capture is a skill for Claude Code from stevepridemore/graph-memory. It costs 63 tokens per session (2,707 once invoked), scanned C, original, MIT.

A command for saving important facts and relationships from a conversation into a memory graph for future use.

In plain words
What is it for?
Finding new people, projects, decisions, facts, and connections in the conversation, previewing them with a dry run, or limiting capture to a topic or point in the conversation.
Why use it?
Some conversations are not visible to the process that normally builds the graph, so useful context can otherwise be lost. It provides a final catch-up before a conversation ends.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: reads .claude/ paths; mentions Claude Code.

Good fit Finding new people, projects, decisions, facts, and connections in the conversation, previewing them with a dry run, or limiting capture to a topic or point in the conversation.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/stevepridemore/graph-memory/graph-capture"><img src="https://agentmods.dev/badge/skills/stevepridemore/graph-memory/graph-capture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,707 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00063 $0.02707
Opus 5.5 $0.00025 $0.01083
Sonnet 5.5 $0.00013 $0.00541
Haiku 4.5 $0.00006 $0.00271

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

Security

Grade C, and why

graph-capture scanned grade C with 1 finding 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 5d 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.

Harvests environment variableshighData exfiltration

Enumerating or grepping the environment for keys collects credentials unrelated to what the mod says it does.

5. **Never extract secrets.** API keys, passwords, tokens, connection strings, private keys, signed URLs — none of these go into entity properties or edge evidence. Note that a credential exists ("Project X uses an API k
skills/graph-capture/SKILL.md · 143 lines

How it starts

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

The user wants to capture the current conversation to the memory graph. Many conversations contribute knowledge that the dream process can't see (claude.ai web and Desktop chats live server-side, not in the local transcript store the dream walks). This command is the manual catch-up: review what we just talked about, find what hasn't already been written to the graph, and write it.

Arguments: $ARGUMENTS

Parse:

  • --dry-run — describe what you would write without calling write tools. Useful to review before committing.
  • --topic <focus> — focus capture on entities/relationships related to a specific topic mentioned in the conversation. Skip unrelated material. Default: capture everything substantive.
  • --since-message <uuid> — only consider messages from that point onward. Default: whole conversation.

Steps

1. Inventory candidate entities and relationships

Walk the conversation (or the slice indicated by --since-message / --topic) and list every distinct candidate that meets the "worth writing" bar:

  • People named with role, organization, or relationship context — not just casual references
  • Projects worked on, evaluated, or referenced with meaningful context
  • Technologies / Concepts the user used, evaluated, decided about, or expressed a preference toward
  • Preferences explicitly stated ("I prefer X", "always use Y") or strongly implied through repeated choice
  • Decisions made with reasoning ("we decided X because Y") — both explicit and clear inferred decisions
  • Facts about infrastructure, processes, configuration, or the user's environment
  • Events — meetings, deployments, incidents, milestones with dates or outcomes
  • Objects — specific repos, servers, databases, tools, containers
  • Reasoning traces — how a problem was solved, especially if there were dead ends or alternatives considered. Capture the trace, not just the outcome.

Skip:

  • Conversation mechanics ("let me read that file", "running the test now")
  • Trivial mentions without significance
  • API keys, passwords, tokens, connection strings, or any secret value (note existence only, never the value)

Read the full file on GitHub · 143 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. 5d ago Changed · +63 tokens per session 55fc3a5d129d
  2. 1mo ago Changed 453f43ad07c8
  3. 1mo ago Changed 3b13e1b4e889
  4. 3mo ago First seen · 143 lines · 0 tokens per session scan C c52f6d8355cc

Subscribe to this mod's changes

graph-capture is a skill published in the GitHub repository stevepridemore/graph-memory (3 stars, last pushed 6d ago), licensed MIT. It adds 63 tokens to every session and 2,707 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it C with 1 finding (harvests environment variables). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

graph-capture compared with skills from other repositories

graph-capture next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
graph-capturestevepridemore/graph-memorySkill36d agoMITC63Claude 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/dkgSkill134todayApache-2.0B58Claude Code, Codex