export

Export the memory graph to graph.json, interactive graph.html, and audit.md files.

20|2|Updated May 16, 2026
One-click install
npx skills add https://github.com/reddb-io/red-skills --skill export-reddb-io
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: export
Source: https://github.com/reddb-io/red-skills/tree/main/plugins/memory/skills/core/export
Command: npx skills add https://github.com/reddb-io/red-skills --skill export-reddb-io

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? It turns an opaque memory graph into a browsable, shareable snapshot so you can see what is actually stored, spot stale or orphaned entries, and inspect the graph structure without a database client. ## Core Features & Use Cases - Self-contained bundle: Writes graph.json (machine-readable nodes, edges, and stats), graph.html (a force-directed node-link diagram with a searchable list that opens straight from disk), and audit.md (a health summary with counts, superseded chains, orphans, and most-connected nodes). - Community coloring: The --communities flag runs RedDB's native Louvain community detection and colors nodes by thematic cluster in both graph.json and graph.html (requires engine >= 1.3.1). - Use Case: After months of accumulated memory, run an export, open graph.html in any browser, and use audit.md to find orphan nodes worth a follow-up doctor pass. ## Quick Start Ask the assistant to export the memory graph and show you the interactive visualization.

Frequently Asked Questions about export

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I export and visualize a memory graph?▼

Run the export command, which writes graph.json, graph.html, and audit.md to an output directory (default .red/memory/export). Open graph.html directly in any browser; it is self-contained with no server or network needed.

How do I color a graph export by community or cluster?▼

Pass the --communities flag to the export command. It runs RedDB's native Louvain community detection and paints each node by its cluster, threading a community id into both graph.json and graph.html. Requires engine version 1.3.1 or later.

Does memory export work in markdown-only mode?▼

No. Export requires graph mode; if memory is not initialized or is markdown-only, the skill stops and tells you. Check the memory preconditions reference to enable graph mode first.

What does the audit.md file in a graph export contain?▼

audit.md is a human-readable health summary of the graph. It includes counts by node type and edge label, superseded chains, orphan nodes, and the most connected nodes, which helps identify stale structure worth a doctor pass.

Should I commit the exported graph bundle to git?▼

No. The export bundle is a generated read-only snapshot, similar to a dist/ directory. Use it for browsing and auditing, then discard it rather than committing it to version control.