graph-backup

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

A tool that exports a graph-based memory store to a timestamped JSONL backup file. JSONL stores one JSON record per line.

In plain words
What is it for?
Use it to back up the memory graph, including its nodes and relationships, on demand or before pruning.
Why use it?
It gives you a recoverable copy before risky changes and reports whether older backups were removed.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to back up the memory graph, including its nodes and relationships, on demand or before pruning.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/stevepridemore/graph-memory/graph-backup
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-backup
Clone the repo
git clone --depth 1 https://github.com/stevepridemore/graph-memory

Made for: Claude Code, Codex.

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-backup

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/stevepridemore/graph-memory/graph-backup"><img src="https://agentmods.dev/badge/skills/stevepridemore/graph-memory/graph-backup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 226 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.00025 $0.00226
Opus 5.5 $0.00010 $0.00090
Sonnet 5.5 $0.00005 $0.00045
Haiku 4.5 $0.00003 $0.00023

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

Security

Grade A, and why

graph-backup 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 3mo 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-backup/SKILL.md · 34 lines

What it actually says

Graph Backup

Export the memory graph to a backup file.

Steps

  1. Call graph_export with no arguments (or pass label for a named backup, e.g. label: "pre-prune").

  2. Report the result to the user:

    • Backup file path
    • Node and edge counts
    • File size
    • How many old backups were pruned
    • How many are retained
  3. If the export fails, report the error clearly and suggest checking whether the Docker container is running (docker ps).

Example output

Backup complete:
  File: /root/graph-memory/backups/backup-2026-05-05T22-00-00.jsonl
  297 nodes, 418 edges
  42 KB
  Retained: 7 backups, pruned: 0
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. 3mo ago First seen · 34 lines · 25 tokens per session scan A 004b696c2490

Subscribe to this mod's changes

graph-backup is a skill published in the GitHub repository stevepridemore/graph-memory (3 stars, last pushed 6d ago), licensed MIT. It adds 25 tokens to every session and 226 once invoked, about $0.0001 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-backup compared with skills from other repositories

graph-backup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
graph-backupstevepridemore/graph-memorySkill36d agoMITA25Claude Code, Codex
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