visualize-semantic-model
Installation
SKILL.md
Visualize Semantic Model
Render a dark-themed directed graph of a Cube.dev model by parsing cube YAML files, detecting the fact spine, then invoking the bundled renderer with a JSON spec.
The renderer (scripts/render_graph.py) is pure layout + drawing — it takes a graph
spec on stdin and writes the PNG. Keeping it bundled means every run produces visually
consistent output and you don't reinvent matplotlib code each time.
Step 1: Resolve the cubes folder
If the user passed a folder argument, use it. Otherwise default to cubes/. If the
folder doesn't exist, ask the user where the cube definitions live before proceeding.
find <folder> -name "*.yml" -not -name "model-graph.*" | sort