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.
npx skills add topprismdata/cultivating-ml-agent --skill okf-visualize-knowledgegit clone --depth 1 https://github.com/topprismdata/cultivating-ml-agentWrote 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.
[](https://agentmods.dev/skills/topprismdata/cultivating-ml-agent/okf-visualize-knowledge)<a href="https://agentmods.dev/skills/topprismdata/cultivating-ml-agent/okf-visualize-knowledge"><img src="https://agentmods.dev/badge/skills/topprismdata/cultivating-ml-agent/okf-visualize-knowledge/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.
<a href="https://agentmods.dev/skills/topprismdata/cultivating-ml-agent/okf-visualize-knowledge"><img src="https://agentmods.dev/badge/skills/topprismdata/cultivating-ml-agent/okf-visualize-knowledge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00128 | $0.01501 |
| Opus 5.5 | $0.00051 | $0.00600 |
| Sonnet 5.5 | $0.00026 | $0.00300 |
| Haiku 4.5 | $0.00013 | $0.00150 |
Grade A, and why
okf-visualize-knowledge 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 3mo ago.
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.
How it starts
The opening of the file, as written. The whole thing — 176 lines — stays where its author put it; the contents beside it link to each section on GitHub.
OKF Visualize Knowledge
Problem
Knowledge bases grow organically as folders of markdown files with cross-references. Without visualization:
- Hard to spot which concepts are isolated (zero cross-refs)
- Hard to see which skills have the most evidence
- Hard to communicate "here's what I know" to teammates
- Manual diagrams are stale the moment you write them
Reality: A 5-second command turns your notes into an interactive graph.
Context / Trigger Conditions
Use this skill when:
- You have a directory of
.mdfiles with at least one cross-link ([text](other.md)) - The files have a consistent organization (subdirectories, or flat)
- You want to audit which concepts are orphans
- You want a shareable, offline HTML view
Don't use:
- Single-file notes (no cross-refs → no graph)
- Confidential knowledge (the HTML has all content embedded)
Solution: 5-Minute Pipeline
Step 1: Install OKF tools
git clone https://github.com/GoogleCloudPlatform/knowledge-catalog.git
cd knowledge-catalog/okf
pip install -e . # installs enrichment-agent CLI
Step 2: Add YAML frontmatter (optional but recommended)
Without frontmatter, OKF treats every file as a "Document" with no type. Add minimal frontmatter:
---
type: Skill
title: My Skill Name
description: One-line summary.
tags: [skill, kaggle]
timestamp: 2026-06-17T00:00:00Z
---
# My Skill
Body text with [cross-links](other-file.md)...
Step 3: Add index.md to each subdirectory (optional)
Each subdirectory gets a hub page:
---
type: Index
title: Subdir Name
description: What lives here.
---
# Subdir Name
* [file-one](file-one.md)
* [file-two](file-two.md)
Step 4: Run visualize
enrichment-agent visualize \
--bundle /path/to/your/notes \
--out /tmp/my-graph.html
Output: a self-contained HTML file (~50 KB) you can open or share.
Step 5: Iterate
Add a new concept → re-run visualize → see how the graph grew. Orphan concepts (no cross-refs) become obvious in the graph — fix them by adding links.
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.
- 3mo ago First seen · 176 lines · 128 tokens per session scan A b44bc721b4c4
okf-visualize-knowledge is a skill published in the GitHub repository topprismdata/cultivating-ml-agent (5 stars, last pushed 1mo ago), licensed MIT. It adds 128 tokens to every session and 1,501 once invoked, about $0.0005 per session on Opus 5.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-31.
okf-visualize-knowledge compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| okf-visualize-knowledgetopprismdata/cultivating-ml-agent | Skill | 5 | 1mo ago | MIT | A | 128 | Claude Code, Codex |
| python-output-buffering-background-scriptstopprismdata/agent-nurture-framework | Skill | 3 | 1mo ago | MIT | A | 153 | Claude Code, Codex |
| huggingface-hubbraxtonROSE4/zorro-agent | Skill | 11 | 7mo ago | MIT | C | 43 | Claude Code, Codex |
| agent-code-analyzerruvnet/ruflo | Skill | 83k | today | MIT | A | 19 | Claude Code |
| eval-dataset-designbojieli/ai-agent-book | Skill | 60k | yesterday | Apache-2.0 | A | 138 | Claude Code, Codex |
| memory-systembojieli/ai-agent-book | Skill | 60k | yesterday | Apache-2.0 | A | 95 | Claude Code, Codex |
| writingbojieli/ai-agent-book | Skill | 60k | yesterday | Apache-2.0 | A | 27 | Claude Code, Codex |