okf-visualize-bundle
/okf-visualize-bundle
Renderuje paczkę OKF jako interaktywny graf w jednym pliku HTML, z pojęciami i powiązaniami między nimi.
- Autor
- Edvantage26 ↗
- Repozytorium
- ai1 ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 13.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 2
- Skrypty
- 1
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 13.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
- 1 skrypt w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: scripts/okf_visualize.py
Co robi i kiedy
Renderuje paczkę OKF jako interaktywny graf w jednym pliku HTML, z pojęciami i powiązaniami między nimi.
Argumenty
/okf-visualize-bundle <bundle-dir> [-o viz.html]
Oryginalny opis (EN)
OKF — Render an Open Knowledge Format (OKF) bundle as a single self-contained, interactive HTML graph (viz.html) of its concepts and links. Use when asked to visualize, graph, preview, or explore an OKF bundle.
Jak działa
- Fixed rules
- Customization
Podgląd SKILL.md
---
name: okf-visualize-bundle
description: >-
OKF — Render an Open Knowledge Format (OKF) bundle as a single self-contained,
interactive HTML graph (viz.html) of its concepts and links. Use when asked to visualize, graph, preview, or explore an OKF bundle.
user-invocable: true
argument-hint: "<bundle-dir> [-o viz.html]"
allowed-tools: Bash Bash("${CLAUDE_PLUGIN_ROOT}/bin/ai1" skill-context *)
---
# Visualize an OKF bundle
Generate a self-contained HTML graph of the target bundle. The bundle directory
is required, so pass `.okf` explicitly when no path is given. No backend, no
install, no bundle content leaves the page. The viewer does need network
access: cytoscape, marked and dompurify load from cdn.jsdelivr.net.
```bash
python3 "${CLAUDE_SKILL_DIR}/scripts/okf_visualize.py" $ARGUMENTS
```
Needs only `python3` 3.9+: PyYAML ships in this repo's `vendor/`. If it reports
`No module named 'yaml'` (the skill was installed without that folder), run
`python3 -m pip install --quiet pyyaml` once.
The detail panel shows each concept's `type`, `description`, `tags`, `status`,
`generated`, `verified`, `stale_after`, `sources` (with their credibility
signals, a `usage_count` alongside the `usage_window` that frames it), and
rendered body; a `sources` entry pointing at another concept in the bundle also
becomes a graph edge. A v0.1 `timestamp` is read as `generated.at`, so legacy
bundles still render fully.
Two badges are **derived**, not read: the §5.3 trust tier
(*unverified* / *machine-confirmed* / *human-reviewed*, keyed off the `human:`
prefix in `verified[].by`) and staleness (`now >= stale_after`). 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.
| Flag | Effect |
|------|--------|
| `-o <path>` | Output file (default `<bundle>/viz.html`). |
| `-t, --title` | Graph title (default `parent/bundle` dir name). |
| `-l, --link` | Source URL shown in the header. |
| `--layout` | `cose`, `concentric`, `breadthfirst`, `circle`, `grid`. |
| `--max-nodes N` | Exit 1 above N concepts (useful in CI). |
| `--og-image URL` | Absolute URL for the social preview image. |
Above 1,000 concepts the default switches to `concentric` (force freezes the
page; `--layout cose` overrides, and the in-page picker asks first). Above
5,000 it warns that the page loads slowly and reads as a hairball, and
suggests rendering a subdirectory.
Open it in any browser. The page is
deep-linkable: `?select=<concept-id>` or `#<concept-id>` opens that concept,
`?layout=<name>` presets the layout.
## Fixed rules
- The bundle is only read, never changed; the output is one self-contained HTML file.
## Customization
This project or the person may add their own rules below; they never override the fixed rules. If no `## ai1 customization` section follows, run `"${CLAUDE_PLUGIN_ROOT}/bin/ai1" skill-context okf-visualize-bundle` and apply what it prints.
!`"${CLAUDE_PLUGIN_ROOT}/bin/ai1" skill-context okf-visualize-bundle`
Pliki w paczce (2)
- SKILL.md 3 KB
- scripts/okf_visualize.py 27 KB
Wersje
W bazie nie ma innych skilli o nazwie okf-visualize-bundle.
Migawka bazy z 13.11.2026 · wersja paczki ffe8bc55a156 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 91visualize
Renderuje pakiet Open Knowledge Format jako interaktywny, samodzielny plik HTML z grafem pojęć, linkami, panelem szczegółów i filtrami. - 95okf-validate-bundle
Sprawdza zgodność paczki wiedzy OKF ze specyfikacją v0.2 i migruje paczkę z wersji 0.1 do 0.2. - 95okf-authoring
Tworzy paczki wiedzy w formacie Open Knowledge Format z plików markdown z nagłówkami YAML na podstawie źródeł danych. - 95okf-skill
Zapisuje i odczytuje wiedzę w formacie Open Knowledge Format, dokumentując systemy danych w przenośnym markdownie. - 90okf-link-check
Znajduje i uzupełnia brakujące linki między pojęciami w katalogu OKF, w tym osierocone dokumenty, po zmianach w treści. - 90okf
Pilnuje zgodności z Open Knowledge Format i waliduje pakiety wiedzy, w tym wymagania frontmatter.