graph-dream

A manual process for updating a graph-based memory store from recent conversations and documents. It extracts people, topics, and other connections, then records them for later use.

In plain words
What is it for?
Use it to process pending transcripts or documents, run maintenance, or preview what would happen with a dry run.
Why use it?
It updates memory immediately when waiting for a scheduled run would leave the graph out of date.

Skill for Claude CodeCodex

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.

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

Made for: Claude Code, Codex.

Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 369 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00041 $0.00369
Opus 5 $0.00020 $0.00185
Sonnet 5 $0.00008 $0.00074
Haiku 4.5 $0.00004 $0.00037

Measured 2d ago against content hash 9c04795be4a7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

graph-dream 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 2d 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-dream/SKILL.md · 36 lines

What it actually says

The user wants to manually trigger the graph memory dream process. This runs inline in the current session — you ARE the dream process. No separate script needed.

Arguments: $ARGUMENTS

Parse the arguments:

  • --dry-run optional: describe what you would do without actually calling graph tools
  • --ingest-only optional: only process the ingest drop folder, skip conversation transcripts

For the full dream process instructions, read the file: ~/graph-memory/prompts/dream-nightly.md (seeded into the data dir by the docker container's entrypoint on first start)

Follow those instructions exactly. The key steps are:

  1. Read manifest at ~/graph-memory/processed/manifest.json
  2. Find unprocessed transcripts in ~/.claude/projects/
  3. Check ~/graph-memory/ingest/pending/ for documents
  4. If nothing pending, report "No pending work" and exit
  5. For each unprocessed transcript: extract entities, call graph_relate/graph_boost/graph_weaken
  6. For each ingest document: same extraction process
  7. Call graph_decay for maintenance
  8. Write changelog to ~/graph-memory/logs/YYYY-MM-DD.md
  9. Update manifest.json
  10. Move ingest files from pending/ to completed/

If --dry-run, describe what you would extract but do NOT call any graph write tools. If --ingest-only, skip transcript processing entirely.

IMPORTANT: Never merge entities unless highly confident. Flag suspected duplicates instead.

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. 2d ago First seen · 36 lines · 0 tokens per session scan A 9c04795be4a7

Subscribe to this mod's changes

graph-dream is a skill published in the GitHub repository stevepridemore/graph-memory (2 stars, last pushed 3mo ago), licensed MIT. It adds 41 tokens to every session and 369 once invoked, about $0.0002 per session on Opus 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

svoboda-profiler

Use when asked to profile someone, unpack a person, build a psychological portrait, run a Svoboda session, or map life state. Triggers on распаковка, профилирование, психопортрет, точка А, колесо баланса, profile someone, unpack, svoboda session.

xcota/pos · 69 tokens

vault-scaffolder

Use when a completed svoboda profile.yaml exists and a new Personal OS needs to be personalized in the current workspace.

xcota/pos · 29 tokens

install-waggle

Install the official Waggle plugin locally for Codex from the latest stable Abhigyan-Shekhar/Waggle-mcp GitHub Release. Use for explicit requests such as "Install Waggle", "Set up Waggle", "Install Waggle for Codex", or "Enable Waggle". Do not use for Waggle operation, repair, updates, configuration, or memory…

Abhigyan-Shekhar/Waggle-mcp · 84 tokens

lint

Use weekly or after major ingest sessions to check wiki health.

xcota/pos · 14 tokens

start

One-word self-unfolding onboarding. Sets up a fresh, unpersonalized vault end-to-end — installs the memory engine, runs the profile interview, scaffolds the vault, and teaches the user as it goes. The single front door.

xcota/pos · 51 tokens