visualize
Original:🇺🇸 English
Translated
1 scripts
Render an Open Knowledge Format (OKF) bundle as a single self-contained, interactive HTML graph (viz.html) — concepts as nodes coloured/sized by type, markdown links and bundle-internal `sources` as edges, a wiki-style detail panel with rendered markdown, v0.2 trust/lifecycle/provenance metadata, and "Links to" / "Cited by" backlinks, layout switching, per-type filter and search. Use when asked to visualize, graph, preview, or explore an OKF bundle.
2installs
Sourcescaccogatto/okf-skills
Added on
NPX Install
npx skill4agent add scaccogatto/okf-skills visualizeTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Visualize an OKF bundle
Generate a self-contained HTML graph of the target bundle (default the project's
). No backend, no install on the viewing side, no data leaves the page.
.okf/bash
uv run "${CLAUDE_SKILL_DIR}/scripts/okf_visualize.py" $ARGUMENTSIf is unavailable:
uvbash
python3 -m pip install --quiet pyyaml && \
python3 "${CLAUDE_SKILL_DIR}/scripts/okf_visualize.py" $ARGUMENTSThe detail panel shows each concept's , , ,
, and (with their credibility signals, a
alongside the that frames it); a entry pointing at
another concept in the bundle also becomes a graph edge. A v0.1 is
read as , so legacy bundles still render fully.
statusgeneratedverifiedstale_aftersourcesusage_countusage_windowsourcestimestampgenerated.atTwo badges are derived, not read: the §5.3 trust tier
(unverified / machine-confirmed / human-reviewed, keyed off the
prefix in ) and staleness (). They are
advisory signals — when reporting on a bundle, say which tier a concept is in
rather than treating any of them as a gate.
human:verified[].bytoday >= stale_afterThe output defaults to . Pass to write elsewhere.
Bundles above 1,000 concepts default to the linear layout (the
force layout freezes the page at that size — overrides), and
refuses oversized bundles, e.g. for CI.
Open it in any browser; resolves whether this runs as part
of the plugin or as a standalone skills.sh skill.
<bundle>/viz.html-o <path>concentric--layout cose--max-nodes N${CLAUDE_SKILL_DIR}okf