From agent-knowledge
Renders a knowledge bundle as an interactive force-directed graph, with colored nodes, edge navigation, detail panel, search, and type filter. Useful for exploring concept relationships, clusters, and orphans.
How this skill is triggered — by the user, by Claude, or both
Slash command
/agent-knowledge:kb-visualizeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Render a [bundle](../kb/SKILL.md) as an interactive **force-directed graph** of its concepts, so a
Render a bundle as an interactive force-directed graph of its concepts, so a human can see its shape — hubs, clusters, orphans, and how concepts connect. You author the view from a deterministic graph model, so it can adapt to the request (a whole-bundle map, or a subgraph around one concept); it is not a fixed template.
Run the bundled extractor against the target bundle (default knowledge/):
python3 "${CLAUDE_SKILL_DIR}/scripts/graph.py" <bundle-dir>
It prints JSON: nodes (each with id, type, title, description, tags, resource,
status, body, links, cited_by), the distinct types, and edges. Backlinks (cited_by) and
edges are already computed from the cross-links in concept bodies. If the user scoped the request to
one concept/area, filter the model to that node plus its neighbors.
Completion criterion: you have the graph model, and (if scoped) filtered it to the requested subgraph.
If unsure whether the host renders UI, default to the HTML file — it works everywhere.
Completion criterion: the output form matches the host's capability.
Whichever form, the view must show (mirroring a conformant OKF viewer):
type, directed edges from
each cross-link. A layout the user can switch (e.g. cose / concentric / breadth-first / grid) is a
plus.description, resource as a link,
tags) and its rendered markdown body, with internal concept links rewired to navigate within
the view (select that node) rather than following a file path.cited_by (the reverse link graph).For the HTML form, a proven stack is Cytoscape.js (graph) + marked (markdown) from a CDN, with the graph model inlined as a JSON literal so the file is self-contained and nothing leaves the page. All node data is already in the model from step 1 — do not re-read the bundle.
Completion criterion: the rendered view shows the graph (colored by type), a working detail panel with in-view link navigation, backlinks, search, and type filter.
Hand over the result: for UI, the live view; for HTML, the file path (and note it can be committed next to the bundle, shared as an artifact, or hosted on any static file server). This is a read-only consumer — it never modifies the bundle, so no log entry.
Completion criterion: the user has the view or its path.
npx claudepluginhub stjbrown/agent-knowledgeRenders an Open Knowledge Format (OKF) bundle as an interactive HTML graph with node coloring, filtering, search, and a detail panel for exploring knowledge relationships.
Generates interactive HTML visualizations (concept maps, evidence networks, knowledge graphs) from Gemini analysis. Auto-triggers after /gr:video, /gr:research, /gr:analyze.
Builds, updates, and queries knowledge graphs from folders of files (code, docs, notes, images) with community detection, GraphRAG support, and Neo4j/SVG/GraphML export.