/sprang:sprang-knowledge [path] [--format obsidian|logseq|dendron|foam|zettelkasten] [--full]from sprang
Build an interactive knowledge graph from a folder of markdown notes — Obsidian, Logseq, Dendron, Foam, Zettelkasten, or plain markdown. Use when the user says "/sprang-knowledge", "index my notes", "build graph from notes", or "analyze my Obsidian vault".
Ships in sprang. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Analyze a folder of markdown notes and produce .sprang/knowledge-graph.json
with typed nodes (article/entity/topic/claim/source), wikilink edges, topic
clusters, and a guided reading tour. You are the analysis engine — read every
note and write rich semantic understanding into the graph.
Arguments: [path] [--format obsidian|logseq|dendron|foam|zettelkasten|plain] [--language <lang>] [--full]
For the full phase-by-phase procedure — including per-format parsing rules,
node/edge JSON templates, and the assemble script — read REFERENCE.md in this
skill's directory. Read it before starting; the summary below is not sufficient
to execute the skill correctly.
SPRANG_ROOT="$NOTES_ROOT/.sprang",
detect the format (Obsidian / Logseq / Dendron / Foam / Zettelkasten / plain),
read .sprangignore, decide incremental vs full..md/.mdx/.markdown file; extract title,
[[wikilinks]], tags, frontmatter, and line count; build the wikilink
resolution map → write knowledge-scan.json.knowledgeMeta, and infer edge types from
context. Max 100 nodes per written file. Resolve backlinks afterwards.final-layers.json.final-tours.json as an array of Tour objects
(each with id, title, description, steps)..sprang/intermediate/, then merge them with the Python script
in REFERENCE.md. The final graph must carry "kind": "knowledge". Then
write .sprang/SPRANG_REPORT.md.layer field on nodes — cluster membership comes from
final-layers.json. A layer of null fails validation.cites, builds_on,
contradicts, exemplifies, categorized_under, authored_by, related,
similar_to, contains, documents. Default to cites when a wikilink's
intent is unclear..sprang/knowledge-graph.json inline — always write chunk
files and merge with the script.Report notes analyzed, nodes and edges created, the top 3 most-connected notes,
and the clusters identified. The dashboard auto-switches to knowledge view mode
with the KnowledgeInfo sidebar and ReadingPanel. Suggest the sprang-chat
skill to ask questions about the notes, and
pnpm --filter @sprang/dashboard dev to open the dashboard.
$ARGUMENTS
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub faviovazquez/sprang --plugin sprang11 skills in this plugin
/sprangBuild or refresh the Sprang knowledge graph for this workspace. Use when the user says "/sprang", "build the knowledge graph", "scan the codebase", "index this project", or "run sprang"./sprang-analyzeAnalyze a codebase to produce a rich semantic knowledge graph — file summaries, architecture layers, guided tour, domain map, risk scores. Use when the user says "/sprang-analyze", "analyze the codebase", "full analysis", or "run sprang-analyze"./sprang-chatAsk any question about the codebase using the knowledge graph. Use when the user says "/sprang-chat", "ask about the codebase", "what does X do", or any question about code that should be answered from the knowledge graph.