Visualize
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 as edges, a wiki-style detail panel with rendered markdown plus "Links to" / "Cited by" backlinks, layout switching, per-type filter and search. Use when asked to visualize, graph, preview, or explore an OKF bundle.From its SKILL.md
npx -y skills add scaccogatto/okf-skills --skill visualizeAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- runs commandsInstructs the agent to run 2 commands, including `uv run "${CLAUDE_SKILL_DIR}/scripts/okf_visualize.py" $ARGUMENTS` and 1 more.
SKILL.md
1.3 KB, 233 tokens by cl100k_base, as published. Nobody here has run it
Visualize an OKF bundle
Generate a self-contained HTML graph of the target bundle (default the project's
.okf/). No backend, no install on the viewing side, no data leaves the page.
uv run "${CLAUDE_SKILL_DIR}/scripts/okf_visualize.py" $ARGUMENTS
If uv is unavailable:
python3 -m pip install --quiet pyyaml && \
python3 "${CLAUDE_SKILL_DIR}/scripts/okf_visualize.py" $ARGUMENTS
The output defaults to <bundle>/viz.html. Pass -o <path> to write elsewhere.
Bundles above 1,000 concepts default to the linear concentric layout (the
force layout freezes the page at that size — --layout cose overrides), and
--max-nodes N refuses oversized bundles, e.g. for CI.
Open it in any browser; ${CLAUDE_SKILL_DIR} resolves whether this runs as part
of the okf plugin or as a standalone skills.sh skill.
What ships with it: 1 file
24.8 KB alongside SKILL.md, 1 of them executable
scripts/
- okf_visualize.pyruns24.8 KB