okf-viz

okf-viz is a skill for Claude Code, Codex from xSAVIKx/okf-skills. It costs 88 tokens per session (802 once invoked), scanned A, original, Apache-2.0.

A tool that turns an Open Knowledge Format (OKF) bundle—a folder of structured documentation—into one interactive web page with a file browser, relationship graph, and document reader.

In plain words
What is it for?
Use it to share or inspect documented concepts, search and filter them, and explore how they are connected in a graph.
Why use it?
It makes a large bundle easier for people to browse and understand than reading separate files.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to share or inspect documented concepts, search and filter them, and explore how they are connected in a graph.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xsavikx/okf-skills/okf-viz
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add xSAVIKx/okf-skills --skill okf-viz
Clone the repo
git clone --depth 1 https://github.com/xSAVIKx/okf-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for okf-viz

README.md
[![agentmods](https://agentmods.dev/badge/skills/xsavikx/okf-skills/okf-viz/github.svg)](https://agentmods.dev/skills/xsavikx/okf-skills/okf-viz)
Your own site
<a href="https://agentmods.dev/skills/xsavikx/okf-skills/okf-viz"><img src="https://agentmods.dev/badge/skills/xsavikx/okf-skills/okf-viz/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for okf-viz

Your own site · 80×15
<a href="https://agentmods.dev/skills/xsavikx/okf-skills/okf-viz"><img src="https://agentmods.dev/badge/skills/xsavikx/okf-skills/okf-viz.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 802 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00088 $0.00802
Opus 5 $0.00044 $0.00401
Sonnet 5 $0.00018 $0.00160
Haiku 4.5 $0.00009 $0.00080

Measured 12d ago against content hash d8a4838a08ae, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

okf-viz scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

The scan reads SKILL.md. This mod also ships 9 executable files (assets/app.js, assets/vendor/cola.min.js, assets/vendor/cose-base.min.js, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/okf-viz/SKILL.md · 55 lines

How it starts

The opening of the file, as written. The whole thing — 55 lines — stays where its author put it; the contents beside it link to each section on GitHub.

okf-viz — OKF Bundle Visualizer

Renders any OKF bundle into one self-contained interactive index.html beside index.md: a three-pane explorer with a Cytoscape graph (switchable layouts), a navigator (tree + type/tag filters + search), and a rendered concept reader.

Setup

# Install the published binary (Go 1.24+) — no clone needed:
go install github.com/xSAVIKx/okf-skills/skills/[email protected]

# …or build from a clone of the repository:
cd skills/okf-viz && go build -o okf-viz .

Commands

render

./okf-viz render --bundle <bundle-dir> [--out <file>] [--offline] [--theme system|light|dark] [--lang en] [--title <text>]
  • --bundle (required): the OKF bundle to visualize.
  • --out: output path; default <bundle>/index.html.
  • --offline: inline the graph library for a fully isolated file (no CDN).
  • --theme: initial theme (default system, follows the OS); switchable in-page.
  • --lang: UI-chrome language (default en).
  • --title: page title (default derived from the bundle).
  • --inline-all: always inline every concept body into the single file, regardless of size (the archival/shareable form).
  • --threshold: concept count above which bodies are written lazily as sibling _okf/<id>.html fragments instead of inlined (default 150). Small bundles stay a single self-contained file; large bundles load a concept's body on selection. Re-running produces byte-identical index.html and fragments. In-page, ER toggles the entity-relationship view and Cluster collapses directories into tappable super-nodes for large graphs.
  • --diff <bundle>: highlight what changed versus another bundle revision — added / removed / changed concepts and edges, using each concept's content_hash (body-comparison fallback when a hash is absent). Deterministic and byte-stable.
  • --bundles <a,b,…>: federate additional bundles into one view; each bundle's node IDs are namespaced so identical IDs across bundles stay distinct. Single-bundle output is unchanged.
  • In-page, Coverage recolors nodes by enrichment state, and PNG / JSON export the graph and the visible subgraph. The three panes carry ARIA roles and the graph is keyboard-traversable (focus it, then arrow between neighbors, Enter to select).

Read the full file on GitHub · 55 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 55 lines · 88 tokens per session scan A d8a4838a08ae

Subscribe to this mod's changes

okf-viz is a skill published in the GitHub repository xSAVIKx/okf-skills (33 stars, last pushed 12d ago), licensed Apache-2.0. It adds 88 tokens to every session and 802 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

okf-authoring

Author Open Knowledge Format (OKF) bundles — knowledge represented as a directory of markdown files with YAML frontmatter. Use when asked to create, write, generate, enrich, or validate an OKF bundle or OKF concept docs; to turn a data source (Glue database, API, database, catalog), documentation, or a research topic…

aws-samples/sample-okf-llm-wiki · 102 tokens

report-authoring

The report-authoring methodology: required structure, language, evidence discipline, and figure selection. Read BEFORE your first createreport of a conversation - the tool validates shape; this is everything it cannot check.

aws-samples/sample-okf-llm-wiki · 44 tokens

okf-open-knowledge-format

Create, validate, and enrich Open Knowledge Format (OKF) bundles — the open spec for representing organizational knowledge as markdown files with YAML frontmatter. Use when the user mentions 'OKF', 'Open Knowledge Format', 'knowledge bundle', 'OKF bundle', 'create a knowledge base for agents', 'validate OKF', 'convert…

fabricioctelles/skills · 168 tokens

slop-eval

Objectively evaluate a UI/web design against the pols.dev anti-slop design law: detect catalogued slop tells with cited evidence, score 8 weighted axes (color, type, components, layout, motion, execution, signature, cohesion), and emit a Slop Report with a 0–100 Slop Index and grade. Use when the user asks to…

fabricioctelles/skills · 142 tokens

astro-sites-manager

Comprehensive skill for building, migrating, and maintaining Astro v7 projects. Covers best practices from the official AGENTS.md, the v6→v7 migration path, validation of breaking/deprecated patterns, AI-enhanced dev server usage (background mode, JSON logging), advanced routing with src/fetch.ts, route caching…

fabricioctelles/skills · 230 tokens

paper2html

Convert an academic paper PDF into a publish-ready, self-contained single-page project homepage (a self-contained index.html) — the kind of paper landing page researchers host on GitHub Pages. Triggers when the user says "turn a paper into a project page/webpage", "paper2html", "generate a paper landing page / project…

QuZhan51496/paper2anything · 153 tokens