plugins/memory-palace/skills/palace-diagram/SKILL.md
Generates Mermaid and ASCII diagrams of palace structure, knowledge topology, and synapse connectivity. Use when inspecting or presenting a palace visually.
npx skillsauth add athola/claude-night-market palace-diagramInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate Mermaid and ASCII diagrams from the knowledge graph, showing palace structure, entity relationships, synapse connectivity, and tier assignments.
Status: wired. Invoke via
/palace diagram <palace-id> [--type map|ascii|entity|heatmap], which callsSkill(memory-palace:palace-diagram). The renderer lives inmemory_palace.palace_renderer.PalaceRenderer; see the Usage section below for direct programmatic access.
| Type | Format | Description | |------|--------|-------------| | Palace map | Mermaid flowchart | Rooms as subgraphs, entities as nodes, synapses as edges | | Entity graph | Mermaid flowchart | Single entity's connections and triples | | Synapse heatmap | Mermaid flowchart | Edge styling by strength (thick=strong, dotted=weak) | | ASCII overview | Text | Box-drawing palace layout with entity counts |
PalaceRendererfrom memory_palace.knowledge_graph import KnowledgeGraph
from memory_palace.palace_renderer import PalaceRenderer
graph = KnowledgeGraph("path/to/knowledge_graph.db")
renderer = PalaceRenderer(graph)
mermaid = renderer.palace_map("palace_id")
Then call mcp__claude_ai_Mermaid_Chart__validate_and_render_mermaid_diagram
with the generated Mermaid string.
ascii_art = renderer.ascii_overview("palace_id")
print(ascii_art)
mermaid = renderer.entity_graph("entity_id")
mermaid = renderer.synapse_heatmap("palace_id")
| Strength | Style | Meaning |
|----------|-------|---------|
| >= 0.7 | ==> (thick) | Strong connection |
| >= 0.4 | --> (normal) | Medium connection |
| < 0.4 | -.-> (dotted) | Weak connection |
Works with:
memory-palace-architect: visualize after palace creationknowledge-locator: display search results as graphgraph-analyzer: tier-informed node sizingPalaceRenderermcp__claude_ai_Mermaid_Chart__validate_and_render_mermaid_diagram
and render successfully==> for
strength ≥ 0.7, --> for ≥ 0.4, -.-> for < 0.4data-ai
Models a business in its own language. Use when the domain has real business rules to capture.
research
Generate diverse solution candidates with category-spanning ideation methods and rotation. Use when stuck on a design or fighting repetitive LLM output.
development
Generates and self-executes a diff-derived test plan for a PR. Use when validating PR changes before merge. Do not use for code review; use sanctum:pr-review.
development
Ramps implementation ambition a notch only after the prior increment is understood. Use when building a feature you must understand, not just ship.