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 agentmods add skills/inkeep/open-knowledge-skills/open-knowledgenpx skills add inkeep/open-knowledge-skills --skill open-knowledgegit clone --depth 1 https://github.com/inkeep/open-knowledge-skillsWhat 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 | $0.00154 | $0.05294 |
| Opus 5 | $0.00077 | $0.02647 |
| Sonnet 5 | $0.00031 | $0.01059 |
| Haiku 4.5 | $0.00015 | $0.00529 |
Grade A, and why
open-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 2d 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 — 141 lines — stays where its author put it; the contents beside it link to each section on GitHub.
OpenKnowledge — agent guidance
OpenKnowledge (OK) is a markdown-CRDT collaboration platform exposed via MCP. This skill is the single source of OK agent guidance. Every rule below is a MUST unless marked otherwise. Depth lives in references/*.md — one level deep; load a reference when its task comes up.
Skill version tracks
@inkeep/open-knowledge-server.cat ~/.ok/skill-state.ymlshows what's installed.ok seedneeds@inkeep/open-knowledge>= 0.4.0; if it errorsunknown command,npm install -g @inkeep/open-knowledge.
Setup (not connected yet?). If the
mcp__open-knowledge__*tools aren't available in your client, this project isn't wired up on this machine — seereferences/setup.mdfor the rung ladder (approve.mcp.json→ok startCLI → optional desktop app) and the canonical quickstart.
TL;DR — the 90% case
- Reads:
exec("cat …")for one doc,exec("ls -A …")for a directory (folder defaults + template menu),exec("grep …")for literal,searchfor ranked retrieval. NativeRead/Greponly on source code (.ts/.py/ …), never on in-scope.md/.mdx. - Writes:
write({ document: { path, content } })for a new or full-replace doc;edit({ document: { path, find, replace } })for a body find/replace;edit({ document: { path, frontmatter } })for a frontmatter merge-patch (nulldeletes a key).delete({ document })removes,move({ from, to })moves/renames. Body find/replace is body-only. Pass a one-linesummary(≤80 chars, user-facing outcome) on every content write. - Preview / open a doc — determine your ONE surface FIRST (once per session). Stop at first match:
OK_DESKTOP_TERMINALorOK_HOSTED_AGENTset → you're inside OpenKnowledge (desktop terminal / in-app agent panel) →ok open <name>(switches the window the user is already looking at); never paste alocalhostURL into your reply here · in-app browser (Claude Code Desktop's Browser pane, Cursor, Codex) →preview_url, then open/navigate it to the doc · else plain CLI →ok open <name>.ok open <name>opens a doc or folder (auto-detected);--skill <name>for a skill. ThepreviewUrlfield is a route id, not your open mechanism. Don'tpreview_screenshotto confirm edits. Full Step-0 procedure + per-surface how-to:references/preview.md. - Knowledge layers: capturing a source (ingest), synthesizing findings (research), promoting a decision (consolidate) — procedures, not tool calls; there is no
ingesttool. Ingest ships here (references/ingest-and-sources.md); research + consolidate come with theknowledge-basepack. Layer model + packs:references/starter-packs.md. - Direct questions: a plain business question ("which customers…", "what did we decide about…") routes to
search/exec+ a cited chat answer — no "research" keyword needed. Persist only when durable + multi-doc + not already covered, and offer first. Seereferences/corpus-qa.md. - Authoring or improving a skill ("write/make/improve a skill", "turn this into a skill"): STOP and invoke
/open-knowledge-write-skillfor scope (project/global), contract, evaluation, and install. Author throughwrite({ skill }), never a document path. Skills are real folders under editorskills/dirs (.claude·.cursor·.codex·.github·.opencode·.pi·.agents): one source plus managed copies/symlinks. Read/edit viaskillsandedit({ skill })— they route to the source. Never hand-edit a non-source copy: managed copies refresh from the source; editing one forks it and stops refresh.
What ships with it
16 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/anti-patterns.md 6.8 KB
- references/cadence-and-logs.md 2.3 KB
- references/components-and-visuals.md 7.3 KB
- references/conflict-resolution.md 2.4 KB
- references/corpus-qa.md 2.3 KB
- references/doc-editing.md 3.3 KB
- references/folder-model.md 3.2 KB
- references/ingest-and-sources.md 19 KB
- references/linking.md 4.6 KB
- references/media-and-assets.md 2.5 KB
- references/onboard-existing-repo.md 20 KB
- references/preview.md 12 KB
- references/setup.md 3.0 KB
- references/starter-packs.md 4.3 KB
- references/template-authoring.md 4.0 KB
- references/writing.md 1.7 KB
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.
- 2d ago First seen · 141 lines · 154 tokens per session scan A 5fe04d8abdd5
open-knowledge is a skill published in the GitHub repository inkeep/open-knowledge-skills (6 stars, last pushed 5d ago), licensed MIT. It adds 154 tokens to every session and 5,294 once invoked, about $0.0008 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-31.
Other skills, from other repositories
xlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or…
xlsx
当电子表格文件是主要输入或输出时使用此技能。这意味着用户想要:打开、读取、编辑或修复现有的 .xlsx、.xlsm、.csv 或 .tsv 文件(例如添加列、计算公式、格式化、制图、清理混乱数据);从头创建新的电子表格或从其他数据源创建;或在表格文件格式之间进行转换。当用户通过名称或路径引用电子表格文件时特别触发——即使是随意提及(如"我下载目录里的 xlsx")——并且想对其进行操作或从中生成内容。也适用于将混乱的表格数据文件(格式错误的行、错位的表头、垃圾数据)清理或重构为规范的电子表格。交付物必须是电子表格文件。当主要交付物是 Word 文档、HTML 报告、独立 Python 脚本、数据库管道或 Google Sheets…
Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and…
当用户需要对PDF文件进行任何操作时,请使用此技能。包括从 PDF 中读取或提取文本/表格、合并多个 PDF、拆分 PDF、旋转页面、添加水印、创建新PDF、填写PDF表单、加密/解密 PDF、提取图片,以及对扫描版 PDF 进行 OCR 使其可搜索。如果用户提到 .pdf 文件或要求生成 PDF,请使用此技能。.
file_reader
Read and summarize text-based file types only. Prefer readfile for text formats; use executeshellcommand for type detection when needed. PDF/Office/images/archives are handled by other skills.
docx-comment-reply
Reply to comments (批注) in Word .docx/.doc files: extract comment context, draft replies, write threaded replies back, and validate OOXML.