Skip to content

Knowledge Graph

Li_Js edited this page Jul 21, 2026 · 1 revision

Knowledge Graph

Home | Overview Report

The knowledge graph turns a folder full of skills into a map you can explore.

skill knowledge graph

Create One

skm graph
skm graph --format html --output skill-graph.html
skm graph --format json --output skill-graph.json
skm graph --format mermaid --output skill-graph.md

The HTML graph is a single file. It uses inline SVG, CSS, and JavaScript, with no runtime dependencies.

Relationship Types

Relationship Meaning Useful for
Same family Same prefix, such as baoyu-*, lark-*, gsap-* Spotting suites and author/toolkit families
Same category Same classified use case Finding neighbors in the same work area
Duplicate Same content hash across installs Cleaning copied or duplicated skills
Alternative Similar text in same category, different family Choosing one of several tools
Workflow One skill output can feed another skill input Building chains of work
Reverse conversion Opposite conversion directions Avoiding wrong-way recommendations
Shared platform Same external platform keyword Seeing ecosystems like GitHub, Lark, WeChat, Notion
Uses MCP Skill text points to an MCP server Connecting skills to MCP context cost

HTML Controls

  • Relationship filters affect both edges and nodes.
  • Hover relationship labels to read explanations.
  • Search focuses matching nodes and one-hop relationships.
  • Important-node mode keeps used, duplicated, or highly connected nodes.
  • Hide never-used skills to reduce noise.
  • Toggle labels when the canvas gets dense.
  • Drag nodes by hand to untangle local clusters.
  • Use zoom in, zoom out, and fit view for large maps.
  • Reset layout when you want the initial view back.

Reading Dense Graphs

Goal Suggested filter
Find suites Keep same family only
Find workflows Enable workflow and reverse conversion
Find platform clusters Enable shared platform, then search a platform name
Find cleanup candidates Enable duplicate, hide never-used, then inspect names
Reduce clutter Turn off same category and shared platform first

Clone this wiki locally