understand-memory-sync

Sync knowledge graph entities to the Memory MCP server.

6|1|Updated Apr 7, 2026
One-click install
npx skills add https://github.com/kmshihab7878/claude-code-setup --skill understand-memory-sync
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: understand-memory-sync
Source: https://github.com/kmshihab7878/claude-code-setup/tree/main/skills/understand-memory-sync
Command: npx skills add https://github.com/kmshihab7878/claude-code-setup --skill understand-memory-sync

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Syncs a project's key knowledge-graph entities and their relationships into a Memory MCP server so architectural context and important codebase facts are available across sessions without re-analysis.

Core Features & Use Cases

  • Selective entity extraction: identifies top modules, key classes, large files, tour-referenced nodes, and the project node for sync.
  • Entity and relation mapping: maps node types to Memory entity types and creates imports, extends, depends_on, and contains relations.
  • Incremental updates and observations: creates or updates entities idempotently and records project-level observations for timeline and dashboard links.
  • Use Case: keep cross-session agents and reviewers aware of evolving architecture and hotspots after running an understand analysis.

Quick Start

Run the understand-memory-sync skill against your project directory to push key modules, classes, files, and relations into the Memory MCP for cross-session lookup.

Frequently Asked Questions about understand-memory-sync

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

FAQPage Schema
How do I sync codebase knowledge graph entities to Memory MCP?▼

Syncing codebase knowledge graph entities to Memory MCP is done by reading the .understand-anything/knowledge-graph.json file, selecting top nodes and edges, and executing idempotent create or update operations via mcp__memory__create_entities and mcp__memory__create_relations.

What is cross-session codebase recall and when do I need it?▼

Cross-session codebase recall is the ability to access persistent architectural context across sessions without re-analysis. You need it for code review, onboarding, or agent workflows when you want to keep reviewers aware of evolving architecture and hotspots.

Do I need an understand-anything knowledge graph to use Memory MCP sync?▼

Yes, you need an understand-anything knowledge graph. The sync skill is applicable to local projects that include a knowledge graph, specifically reading the .understand-anything/knowledge-graph.json file to extract entities and relations for Memory MCP.

How does syncing knowledge graph relations to Memory MCP work?▼

Syncing knowledge graph relations works by mapping node types to Memory entity types and creating imports, extends, depends_on, and contains relations. It performs idempotent create or update operations via mcp__memory__create_relations and records project-level observations.

Can I selectively sync only top modules and key classes to Memory MCP?▼

Yes, selective entity extraction identifies top modules, key classes, large files, tour-referenced nodes, and the project node for sync. This ensures only the most important architectural context is pushed to the Memory MCP server.