From semantic-skills
Perform BFS (breadth-first search) graph traversal on notes connected via wikilinks. Use when exploring note relationships, discovering connected knowledge within N hops, mapping knowledge graphs, finding related notes from a starting point, or understanding the link structure around a concept.
npx claudepluginhub yixin0829/semantic-obsidian --plugin semantic-skillsThis skill uses the workspace's default tool permissions.
Traverse Obsidian notes as a graph using breadth-first search, starting from any note and discovering connected notes within N hops via wikilinks.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Generates original PNG/PDF visual art via design philosophy manifestos for posters, graphics, and static designs on user request.
Share bugs, ideas, or general feedback.
Traverse Obsidian notes as a graph using breadth-first search, starting from any note and discovering connected notes within N hops via wikilinks.
# BFS traversal from a note for N hops
uv run python .claude/skills/wikilink-graph-bfs/scripts/bfs_traversal.py traverse "Note Name" 2
# With specific directory
uv run python .claude/skills/wikilink-graph-bfs/scripts/bfs_traversal.py traverse "Note Name" 2 "02-SlipBox"
| N | Use Case |
|---|---|
| 1 | Direct relationships only |
| 2 | Secondary connections (recommended default) |
| 3 | Broader context |
| 4+ | Comprehensive exploration |
| Command | Purpose |
|---|---|
traverse <note> <n> [dir] | BFS from note for n hops |
graph [dir] | Full graph structure |
neighbors <note> [dir] | Direct connections of a note |
# Explore 2 hops from Machine Learning
uv run python .claude/skills/wikilink-graph-bfs/scripts/bfs_traversal.py traverse "Machine Learning" 2
# View vault graph structure
uv run python .claude/skills/wikilink-graph-bfs/scripts/bfs_traversal.py graph "."
# Find all neighbors of a note
uv run python .claude/skills/wikilink-graph-bfs/scripts/bfs_traversal.py neighbors "Python"
For output formats, wikilink parsing details, and behavior notes, see REFERENCE.md.