open-knowledge

open-knowledge is a skill for Claude Code, Codex from inkeep/open-knowledge-skills. It costs 153 tokens per session (4,783 once invoked), scanned A, original, MIT.

A rulebook for working with OpenKnowledge, a collaborative system that stores documents as Markdown files.

In plain words
What is it for?
Use it when managing Markdown or MDX knowledge-base files, searching stored information, creating or editing documents, and running document checks.
Why use it?
It tells an agent how to safely read, search, edit, and check those documents, including which tools and procedures to use.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; mentions Claude Code; mentions Codex.

Good fit Use it when managing Markdown or MDX knowledge-base files, searching stored information, creating or editing documents, and running document checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/inkeep/open-knowledge-skills/open-knowledge
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 inkeep/open-knowledge-skills --skill open-knowledge
Clone the repo
git clone --depth 1 https://github.com/inkeep/open-knowledge-skills

Made for: Claude Code, Codex.

Its marketplace also offers this one on its own, as the plugin open-knowledge — /plugin install open-knowledge after adding the marketplace above.

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 open-knowledge

README.md
[![agentmods](https://agentmods.dev/badge/skills/inkeep/open-knowledge-skills/open-knowledge/github.svg)](https://agentmods.dev/skills/inkeep/open-knowledge-skills/open-knowledge)
Your own site
<a href="https://agentmods.dev/skills/inkeep/open-knowledge-skills/open-knowledge"><img src="https://agentmods.dev/badge/skills/inkeep/open-knowledge-skills/open-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.

agentmods 80×15 button for open-knowledge

Your own site · 80×15
<a href="https://agentmods.dev/skills/inkeep/open-knowledge-skills/open-knowledge"><img src="https://agentmods.dev/badge/skills/inkeep/open-knowledge-skills/open-knowledge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 153 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,783 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
  • Socket pass 15 Oct 2026
  • Snyk pass 15 Oct 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.00153 $0.04783
Opus 5.5 $0.00061 $0.01913
Sonnet 5.5 $0.00031 $0.00957
Haiku 4.5 $0.00015 $0.00478

Measured 16d ago against content hash 263f13a9566c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 16d 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.

skills/core/open-knowledge/SKILL.md · 151 lines

How it starts

The opening of the file, as written. The whole thing — 151 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.yml shows what's installed. ok seed needs @inkeep/open-knowledge >= 0.4.0; if it errors unknown command, npm install -g @inkeep/open-knowledge.

CLI name. Commands here use Stable's ok (open-knowledge) and ~/.ok/. With OpenKnowledge Beta, use ok-beta (open-knowledge-beta) and ~/.ok-beta/ instead; preview_url's okOpenCommand already names the right one.

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 — see references/setup.md for the rung ladder (approve .mcp.json → ok start CLI → optional desktop app) and the canonical quickstart.

TL;DR — the 90% case

  1. Reads: exec("cat …") for one doc, exec("ls -A …") for a directory (folder defaults + template menu), exec("grep …") for literal, search for ranked retrieval. Native Read / Grep only on source code (.ts / .py / …), never on in-scope .md / .mdx.
  2. 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 (null deletes a key). delete({ document }) removes, move({ from, to }) moves/renames. Body find/replace is body-only. Pass a one-line summary (≤80 chars, user-facing outcome) on every content write.
  3. Preview / open a doc — determine your ONE surface FIRST (once per session). Stop at first match: OK_DESKTOP_TERMINAL or OK_HOSTED_AGENT set → you're inside OpenKnowledge (desktop terminal / in-app agent panel) → ok open <name> (switches the window the user is already looking at); never paste a localhost URL 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. The previewUrl field is a route id, not your open mechanism. Don't preview_screenshot to confirm edits. Full Step-0 procedure + per-surface how-to: references/preview.md.
  4. 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. See references/corpus-qa.md.
  5. Authoring or improving a skill ("write/make/improve a skill", "turn this into a skill"): STOP and invoke /open-knowledge-write-skill for scope (project/global), contract, evaluation, and install. Author through write({ skill }), never a document path. Skills are real folders under editor skills/ dirs (.claude · .cursor · .codex · .github · .opencode · .pi · .agents): one source plus managed copies/symlinks. Read/edit via skills and edit({ skill }) — they route to the source. Never hand-edit a non-source copy: recorded, unedited copies refresh from the source when the skill watcher runs or the server starts, so a source edit can precede the refresh. Editing a copy directly forks it and stops refresh.

Read the full file on GitHub · 151 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. 16d ago Changed 263f13a9566c
  2. 17d ago Changed a294c7fb2583
  3. 23d ago Changed · +2 lines f62f20fdb734
  4. 1mo ago Changed ccbc24370633
  5. 1mo ago Changed 99c04dec88e3
  6. 1mo ago Changed · +8 lines · -1 tokens per session 2b195d1c5047
  7. 1mo ago Changed c474fd3ad270
  8. 1mo ago Changed b0707cfbfaf4
  9. 1mo ago Changed 40b52431ae44
  10. 1mo ago First seen · 141 lines · 154 tokens per session scan A 1a5ca8f21349

Subscribe to this mod's changes

open-knowledge is a skill published in the GitHub repository inkeep/open-knowledge-skills (17 stars, last pushed 11d ago), licensed MIT. It adds 153 tokens to every session and 4,783 once invoked, about $0.0006 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.

Related

open-knowledge compared with skills from other repositories

open-knowledge next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
open-knowledgeinkeep/open-knowledge-skillsSkill1711d agoMITA153Claude Code, Codex
context-engineeringaddyosmani/agent-skillsSkill114k5d agoMITA43Claude Code
digital-brainforyourhealth111-pixel/Vibe-SkillsSkill3.8k3d agoApache-2.0A57Claude Code, Codex
comet-memoryrpamis/cometSkill3.3kyesterdayMITA38Claude Code, Codex
Agent Memory ArchitectureLeoYeAI/openclaw-master-skillsSkill2.2k6d agoMITA52Claude Code, Codex
relevance-coarse-filterelvisun/newsjackSkill1.7kyesterdayMITA57Claude Code
agent-contextLeoYeAI/openclaw-master-skillsSkill2.2k6d agoMITA12Claude Code, Codex