open-knowledge
БесплатноБез исполняемых скриптовНе проверенAuthoritative agent-runtime contract for working inside an OpenKnowledge project — a markdown-CRDT knowledge base exposed over MCP. Use whenever reading…
от vscarpenter★ 41 звезда на 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). Before opening anything, pick where to focus, stop at first match:
OK_DESKTOP_TERMINALset (check your env —echo "$OK_DESKTOP_TERMINAL") → OK Desktop's own terminal →ok open <name>(switches this window) · havepreview_*→ Codex Desktop pane · have a URL-navigation/browser tool → Cursor/Codex →preview_urlthen navigate it · else plain CLI →ok open <name>.ok open <name>opens a doc or folder (auto-detected — no--folder); add--skill <name>for a skill. ThepreviewUrlfield is a route id, not your open mechanism — don't hand it to a browser just because you saw it. Don'tpreview_screenshotto confirm edits. Full Step-0 procedure + per-surface how-to:references/preview.md. - Workflow guides:
workflow({ kind: 'ingest' | 'research' | 'consolidate' | 'discover' })returns a procedural guide, not data. Use it when the work fits the layer. - 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 a skill", "improve this skill", "turn this into a skill"): STOP and invoke the
open-knowledge-write-skillskill — it owns scope choice (project vs global), the SKILL.md contract, evaluation, and install; don't improvise from this skill. Author through theskilltarget (write({ skill })), never a raw.ok/skills/…document. Never read, diff, or edit the installed projections under.Codex/skills/·.cursor/skills/·.codex/skills/·.opencode/skills/·.pi/skills/·.agents/skills/—installgenerates them and overwrites them on the next sync; they are NOT source of truth.
Tool index — 19 tools (router; the MCP tool descriptions carry each tool's full contract)
- Reads —
exec(primary; read-onlycat/ls/grep/find/head/tail/wc/sort/uniq/cut+ frontmatter/backlink/history enrichment; one command or one pipe, not a shell),search(ranked BM25 + recency),history(versions for a doc),links(kind: backlinks|forward|dead|orphans|hubs|suggest, or an array for a one-call audit),skills(find + read skills: omitnameto LIST every skill across Project + Global, passnameto READ one — addressed byname+scope, NEVER by path),config(resolved config),palette(markdown-native authoring forms +html previewstarters + theme tokens;palette({ components })for JSX schemas),preview_url(browser preview URL on demand),share_link(GitHub-substrate share URL; read-only, errors when no GitHub remote). - Writes — four native CRUD verbs, polymorphic over
document/folder/template/skill/asset(pass EXACTLY ONE target, nested under its address key):write(create/overwrite;write({ skill: { name, description, body, scope? } })authors a skill →.ok/skills/<name>/SKILL.md, a Draft untilinstall),edit(body find/replace OR frontmatter merge-patch; no asset),delete(remove),move(move/rename, rewrites referrers; a skill also takesscope/toScopeto move Project↔Global — history resets, re-install). Output mirrors the input target key;
Установить open-knowledge в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл open-knowledge?
Authoritative agent-runtime contract for working inside an OpenKnowledge project — a markdown-CRDT knowledge base exposed over MCP. Use whenever reading, listing, searching, or editing any `.md` or `.mdx` file in the project, and before any `mcp__open-knowledge__*` tool call (`exec`, `search`, `write`, `edit`, and the rest). Installed by `ok init`, so its presence means this is an OpenKnowledge project and it governs every markdown file here. Covers the read/write tool surface, grounding and linking rules, folder/template conventions, the live browser preview, and the rule that OK's MCP tools — never native file tools — handle in-scope markdown.
Как установить скилл open-knowledge?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл open-knowledge запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic