open-knowledge
核心治理文档,指导代理在仓库中文档级别一致操作。
为 OpenKnowledge 项目提供代理运行时规范和操作约定。
在 OpenKnowledge 项目里规定代理怎么读写与管理 markdown 的运行时契约:涵盖 read/write 工具面、接地与链接规则、文件夹与模板约定,以及浏览器实时预览规则。任何对 .md/.mdx 的读、写、搜索、lint 等操作前都要遵循它,通常是 ok init 后就存在的项目规范。关键点是强制用 MCP 工具而不是本地原生工具来处理受管的 markdown,确保协作一致性。
▸ 展开 SKILL.md 英文原文
Authoritative agent-runtime contract for working inside an OpenKnowledge project — a markdown-CRDT knowledge base exposed over MCP. Use whenever reading, listing, searching, editing, or linting any `.md` or `.mdx` file in the project, and before any `mcp__open-knowledge__*` tool call (`exec`, `search`, `write`, `edit`, `lint`, 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.
帮我安装这个 skill:https://raw.githubusercontent.com/inkeep/open-knowledge/main/packages/server/assets/skills/project/SKILL.mdcurl -fsSL "https://raw.githubusercontent.com/inkeep/open-knowledge/main/packages/server/assets/skills/project/SKILL.md"# 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`. > **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 — s