Install the "knowledge-base" agent skill from https://github.com/inkeep/open-knowledge/tree/main/packages/server/assets/skills/packs/knowledge-base into .claude/skills/knowledge-base/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "knowledge-base", then confirm the skill loads.
Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Type this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
skills CLI
$ npx skills add inkeep/open-knowledge --skill knowledge-base -a codex
Project install goes to .agents/skills/; add -g for ~/.codex/skills/.
Install the "knowledge-base" agent skill from https://github.com/inkeep/open-knowledge/tree/main/packages/server/assets/skills/packs/knowledge-base into .agents/skills/knowledge-base/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "knowledge-base", then confirm the skill loads.
Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skills CLI
$ npx skills add inkeep/open-knowledge --skill knowledge-base -a cursor
Project install goes to .agents/skills/; add -g for ~/.cursor/skills/.
Install the "knowledge-base" agent skill from https://github.com/inkeep/open-knowledge/tree/main/packages/server/assets/skills/packs/knowledge-base into .cursor/skills/knowledge-base/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "knowledge-base", then confirm the skill loads.
Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
skills CLI
$ npx skills add inkeep/open-knowledge --skill knowledge-base -a gemini-cli
Project install goes to .agents/skills/; add -g for ~/.gemini/skills/.
Install the "knowledge-base" agent skill from https://github.com/inkeep/open-knowledge/tree/main/packages/server/assets/skills/packs/knowledge-base into .gemini/skills/knowledge-base/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "knowledge-base", then confirm the skill loads.
Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Installs for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
skills CLI
$ npx skills add inkeep/open-knowledge --skill knowledge-base -a github-copilot
Project install goes to .agents/skills/; add -g for ~/.copilot/skills/.
Install the "knowledge-base" agent skill from https://github.com/inkeep/open-knowledge/tree/main/packages/server/assets/skills/packs/knowledge-base into .github/skills/knowledge-base/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "knowledge-base", then confirm the skill loads.
GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skills CLI
$ npx skills add inkeep/open-knowledge --skill knowledge-base -a opencode
OpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
Install the "knowledge-base" agent skill from https://github.com/inkeep/open-knowledge/tree/main/packages/server/assets/skills/packs/knowledge-base into .opencode/skills/knowledge-base/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "knowledge-base", then confirm the skill loads.
OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Facts
Skill name
knowledge-base
GitHub stars
4.4k
Token cost
~2.1k tokens
SKILL.md length
988 words
Files
2
Skills in repo
18
Repo updated
First seen
Licence
GPL-3.0
At a glance
How to work in a Knowledge Base project (the knowledge-base starter pack).
Tasks that involve Knowledge bases
SKILL.md covers Link at creation, The three layers, The three procedures and Per-folder rules, plus 4 more sections
Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
Tasks that involve Source-grounded notebooks
What it does
Knowledge Base is an agent skill from inkeep/open-knowledge. How to work in a Knowledge Base project (the knowledge-base starter pack). Read when the project has the three-layer source-grounded layout — external-sources/ → research/ → articles/ — or when asked how this project is organized. Carries the layer model, per-folder rules, status flows, and log discipline so this guidance does NOT live inside template bodies or log.md. The three procedures live elsewhere: ingest in the platform open-knowledge skill, research and consolidate as their own sibling skills in this…
Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `plugin.json`). Compatibility notes: Any agent host with the OpenKnowledge MCP server configured. Installed project-local by ok seed --pack knowledge-base.
It sits in Knowledge Management, covering Knowledge bases and Source-grounded notebooks. The repository describes itself as: Beautiful, AI-native markdown IDE and LLM wiki. The licence is GPL-3.0.
When your agent uses it
Tasks that involve Knowledge bases
Tasks that involve Source-grounded notebooks
Example prompts
“/knowledge-base”
Requirements
Compatibility (from SKILL.md): Any agent host with the OpenKnowledge MCP server configured. Installed project-local by `ok seed --pack knowledge-base`.
What it can do on your machine
Read from SKILL.md and the folder at commit cf9b84c. It shows what the files ask for, not the result of running them.
Tool permissions
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Runs code
No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).
From the folder's file list and the shell code blocks in SKILL.md.
Network
Links to these hosts (documentation or services it may open):
gist.github.com
From URLs in SKILL.md, links to its own repository left out.
Credentials
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Compatibility
Any agent host with the OpenKnowledge MCP server configured. Installed project-local by `ok seed --pack knowledge-base`.
From compatibility in the SKILL.md frontmatter.
Context cost
Knowledge Base loads about 2.1k tokens when it runs. Until then it costs about 154 tokens; SKILL.md has 988 words of instructions outside code blocks.
Always· name and description, kept in context so the agent knows when to use it
~154
When it runs· the whole SKILL.md, loaded when a task matches
~2.1k
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
Safety
Auto-check passed
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
Download SKILL.mdSave it as .claude/skills/knowledge-base/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
knowledge-base
description
How to work in a Knowledge Base project (the `knowledge-base` starter pack). Read when the project has the three-layer source-grounded layout — `external-sources/` → `research/` → `articles/` — or when asked how this project is organized. Carries the layer model, per-folder rules, status flows, and log discipline so this guidance does NOT live inside template bodies or log.md. The three procedures live elsewhere: ingest in the platform `open-knowledge` skill, research and consolidate as their own sibling skills in this pack. Complements the platform `open-knowledge` skill; does not replace it.
compatibility
Any agent host with the OpenKnowledge MCP server configured. Installed project-local by `ok seed --pack knowledge-base`.
type
Document
metadata.pack
knowledge-base
metadata.author
Inkeep
metadata.repository
https://github.com/inkeep/open-knowledge-skills
Knowledge Base pack — how to work here
This project uses the source-grounded knowledge-base layout. The whole point is a closed evidence loop: nothing canonical exists without a traceable chain back to a preserved source. This skill holds the workflow so the templates and log.md can stay clean — when you create a doc from a template you get structure, and the how lives here.
This skill is pack guidance. The platform /open-knowledge skill (read/write/preview/linking/grounding rules) still governs every markdown operation — this layers the KB workflow on top.
Link at creation
The user watches your build live — the editor follows the file you're writing, and the knowledge graph assembles on screen as pages get linked. No view management on your part; just author well: every page carries its links from the moment it's written (at minimum the hub/index page and its most related siblings — an unlinked page is invisible in the graph), and related pages share a cluster: frontmatter value (e.g. cluster: architecture) so the graph's cluster coloring makes the map read at a glance.
The three layers
external-sources/ raw sources, saved verbatim (produced by `ingest`)
↓ cite
research/ provisional analysis (produced by `research`)
↓ promote
articles/ canonical, decided knowledge (produced by `consolidate`)
The loop is ingest → research → consolidate, mapped to Karpathy's three-layer knowledge-base pattern. Every downstream claim traces upstream to a preserved source. Cite local paths in external-sources/, never bare web URLs — the KB must survive link rot.
Karpathy's insight: "The tedious part of maintaining a knowledge base is not the reading or the thinking — it's the bookkeeping." Humans abandon wikis because maintenance costs exceed perceived value. These procedures exist so an agent can do the bookkeeping (fetching, summarizing, cross-linking, superseding) without fatigue. Skipping the cross-linking, supersedes chains, or raw-source preservation is what turns a useful wiki back into an abandoned one.
The three procedures
Each layer has a full, STOP-gated procedure, and each ships as its own skill so it loads only when the work calls for it. Execute the procedure yourself with the OK verbs — these are your default move over a bare write when the work fits a layer.
Procedure
Where it lives
When
ingest
Platform /open-knowledge skill (references/ingest-and-sources.md) — its Grounding rule depends on it everywhere, so it ships with every project, not just this pack.
Preserve a shared URL / PDF / file verbatim, OR you fetched a URL to ground a KB claim (binary sources preserved, not scraped).
A decision was actually made → commit canonical source-of-truth with status: stable + a supersedes: chain.
Typical day-2 flow: user shares a URL → ingest (preserve) → user asks "now research this" → research (provisional article, ingesting more sources as needed) → decision lands → consolidate (canonical article, supersedes the research).
Don't chain silently. After ingest, ask whether to proceed to research. After research, let the user decide whether the findings are ready to consolidate. Each procedure completes on its own terms — the user drives the transitions.
Autonomy gates vs session-level autonomy. A procedure's STOP gates (research's scoping gate, consolidate's decision-confirmation gate) are NOT overridden by session-level "work without stopping for clarifying questions" hints. Those hints cover trivial back-and-forth ("which file did you mean?"); the gates exist for one-way-door decisions. When in doubt, the gate is authoritative.
Show full SKILL.md (464 more words)Show less
Per-folder rules
external-sources/ — Raw sources saved verbatim, not just cited: the actual fetched text of URLs, extracted text of PDFs, copies of referenced files. Each file's frontmatter carries the original URL, access date, and any author/publisher metadata. Produced by the ingest procedure (applies whether the user shared the URL or you fetched it yourself to ground a claim). Immutable after capture — update only to refresh a stale fetch. No analysis here; that belongs in research/.
research/ — Provisional analysis synthesizing external sources, stored as OKF status: draft. Produced by the /research-with-sources skill. Every factual claim cites a specific doc in external-sources/ (or an inline URL if ingest was skipped); no unsourced assertions. Keep the sources: frontmatter list aligned with the docs actually linked in the body. Promote to articles/ via the /consolidate-notes skill once the team decides the findings are stable.
articles/ — Canonical knowledge, committed after a team decision and stored as OKF status: stable. Produced by the /consolidate-notes skill. Carries a supersedes: chain tying back to the research/ docs it replaces (which in turn cite external-sources/) so the full evidence chain is traceable without leaving the repo. Source-of-truth for the domain; update only when a new decision supersedes it.
Status flow
Layer
status
Set when
research/
draft
created
articles/
stable
promoted by consolidate after a decision
When a new article supersedes research, set that research to status: deprecated, add its path to the article's supersedes: list, and point it back with superseded_by:.
Legacy compatibility
Older projects may use status: provisional / canonical and string entries under sources:. Read those forms as draft / stable and source resources. Do not rewrite untouched documents; use the OKF forms above for new writes and files you are already updating.
Log discipline (MUST)
There is a log.md at the project root. Append one dated entry after any turn that creates, edits, or restructures content — one entry per turn, not per file. Silent edits break the audit trail.
Log: ingest runs (new sources), research / consolidate runs (provisional or canonical articles), direct write / edit / move / delete outside the three procedures, project-onboarding runs, folder restructures, and .ok/config.yml changes.
Reference docs as markdown links, not bare paths — [path/to/doc](./path/to/doc.md), so the entry shows up in links({ kind: "backlinks" }) for those docs. A bare path string does not register in the graph.
Because this append-only log.md is a reserved log, its broken links may be withheld from audit. When a clean result carries brokenLinkSuppression, it is filtered rather than proof that every raw link resolves; do not rewrite log history to clear those links.
Each folder has a starter template (clip, research-log, article). Create with write({ document: { path, template: "<name>" } }). Templates carry only structure (headings + frontmatter scaffold) — the meaning of each field and section is described above, not repeated inside the document body.
Knowledge Base next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
Turns books, PDFs, slides and web pages into a source-grounded knowledge base and an interactive learning page in English or Chinese, with quizzes, relationship maps and reusable methodology notes.
Read and critically analyze one academic paper from an arXiv URL/ID or a local PDF, producing a source-grounded Markdown report that can grow from a quick read into a reviewer-level deep review.
Collects content from WeChat articles, web pages, YouTube, podcasts, documents and more, uploads it to NotebookLM and generates podcasts, slides or mind maps.
This skill helps plan, select, produce, and market Xiaohongshu (RED) virtual/digital products — templates, knowledge bases, test tools, study materials.
A skill your agent uses when the user wants to create, author, write, or design a new Agent Skill (a SKILL.md) — for OpenKnowledge or for their editors — including requests like 'help me write a…
Read when the user asks what OpenKnowledge is, wants to install it on a repository, wants to open or preview a single markdown file that is not part of an OpenKnowledge project, wants to share an…
Write a blameless incident postmortem under postmortems/ following the Google SRE shape — evidence-based timeline, trigger vs root cause vs symptom, contributing factors, what went well, and…
How to work in a Knowledge Base project (the knowledge-base starter pack). Knowledge Base is an agent skill from inkeep/open-knowledge. How to work in a Knowledge Base project (the knowledge-base starter pack).
When should I use Knowledge Base?
Knowledge Base fits situations like: tasks that involve Knowledge bases; tasks that involve Source-grounded notebooks.
How do I install Knowledge Base in Claude Code?
Run `npx skills add inkeep/open-knowledge --skill knowledge-base -a claude-code`. Or copy the skill folder (packages/server/assets/skills/packs/knowledge-base in inkeep/open-knowledge) into .claude/skills/knowledge-base in your project. Claude Code loads it when a task matches its description.
How do I install Knowledge Base in Codex?
Run `npx skills add inkeep/open-knowledge --skill knowledge-base -a codex`. Or copy the skill folder (packages/server/assets/skills/packs/knowledge-base in inkeep/open-knowledge) into .agents/skills/knowledge-base in your project. Codex loads it when a task matches its description.
Can I use Knowledge Base in Cursor, Gemini CLI or GitHub Copilot?
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add inkeep/open-knowledge --skill knowledge-base -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/knowledge-base, .gemini/skills/knowledge-base, .github/skills/knowledge-base and .opencode/skills/knowledge-base in your project.
What does Knowledge Base need to run?
SKILL.md names no scripts, command-line tools or credentials: Knowledge Base is instructions for the agent only. Compatibility (from SKILL.md): Any agent host with the OpenKnowledge MCP server configured. Installed project-local by `ok seed --pack knowledge-base`..
Does Knowledge Base access the network?
SKILL.md names 1 domain. As links in the text: gist.github.com. This is read from the text; nothing was executed.
Is Knowledge Base safe to install?
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
What licence does Knowledge Base use?
Knowledge Base is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
How many tokens does Knowledge Base use?
About 2.1k tokens (SKILL.md is roughly 8.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
What are the alternatives to Knowledge Base?
Skills that share tags, products or a category with Knowledge Base: Learn From Materials (dmoshehun-prog/learn-from-materials, 902 stars), Paper Lens (YSQ-boop/paper-lens, 101 stars), Zlibrary To Notebooklm (zstmfhy/zlibrary-to-notebooklm, 1.7k stars) and Multi-Source to NotebookLM Processor (joeseesun/qiaomu-anything-to-notebooklm, 6.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Who maintains Knowledge Base?
inkeep (a GitHub organization) maintains it in inkeep/open-knowledge, which has 4,407 GitHub stars. The repository holds 18 skills in this directory. The repository was last updated on October 7, 2026.
Source: inkeep/open-knowledge on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.