install
source · Clone the upstream repo
git clone https://github.com/ComeOnOliver/skillshub
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ComeOnOliver/skillshub "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/Lum1104/Understand-Anything/understand-chat" ~/.claude/skills/comeonoliver-skillshub-understand-chat && rm -rf "$T"
manifest:
skills/Lum1104/Understand-Anything/understand-chat/SKILL.mdsource content
/understand-chat
Answer questions about this codebase using the knowledge graph at
.understand-anything/knowledge-graph.json.
Graph Structure Reference
The knowledge graph JSON has this structure:
— {name, description, languages, frameworks, analyzedAt, gitCommitHash}project
— each has {id, type, name, filePath, summary, tags[], complexity, languageNotes?}nodes[]- Node types: file, function, class, module, concept
- IDs:
,file:path
,func:path:nameclass:path:name
— each has {source, target, type, direction, weight}edges[]- Key types: imports, contains, calls, depends_on
— each has {id, name, description, nodeIds[]}layers[]
— each has {order, title, description, nodeIds[]}tour[]
How to Read Efficiently
- Use Grep to search within the JSON for relevant entries BEFORE reading the full file
- Only read sections you need — don't dump the entire graph into context
- Node names and summaries are the most useful fields for understanding
- Edges tell you how components connect — follow imports and calls for dependency chains
Instructions
-
Check that
exists in the current project root. If not, tell the user to run.understand-anything/knowledge-graph.json
first./understand -
Read project metadata only — use Grep or Read with a line limit to extract just the
section from the top of the file for context (name, description, languages, frameworks)."project" -
Search for relevant nodes — use Grep to search the knowledge graph file for the user's query keywords: "$ARGUMENTS"
- Search
fields:"name"
in the graph filegrep -i "query_keyword" - Search
fields for semantic matches"summary" - Search
arrays for topic matches"tags" - Note the
values of all matching nodesid
- Search
-
Find connected edges — for each matched node ID, Grep for that ID in the
section to find:edges- What it imports or depends on (downstream)
- What calls or imports it (upstream)
- This gives you the 1-hop subgraph around the query
-
Read layer context — Grep for
to understand which architectural layers the matched nodes belong to."layers" -
Answer the query using only the relevant subgraph:
- Reference specific files, functions, and relationships from the graph
- Explain which layer(s) are relevant and why
- Be concise but thorough — link concepts to actual code locations
- If the query doesn't match any nodes, say so and suggest related terms from the graph