Okf new kb
Scaffold a brand-new personal wiki / knowledge base in the Open Knowledge Format (OKF). Use when the user wants to start a new knowledge base, personal wiki, "second brain", or notes repo from scratch — especially an OKF / agent-managed / Obsidian-friendly one. Triggers: "new knowledge base", "start a wiki", "scaffold an OKF kb", "set up a personal wiki", "create a notes vault", "bootstrap a knowledge base". Stamps a complete, lint-clean OKF bundle plus the agent operating manual, templates, validator, and Obsidian config.From its SKILL.md
npx -y skills add thattimc/skills --skill okf-new-kbAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
- runs commandsInstructs the agent to run 3 commands, including `cp -R "<this skill dir>/template/." "<target dir>/"` and 2 more.
SKILL.md
3.0 KB, 693 tokens by cl100k_base, as published. Nobody here has run it
New OKF knowledge base
Scaffold an empty but complete Open Knowledge Format (OKF) v0.1 knowledge base. The result is a self-contained repo that:
- stores knowledge as plain Markdown with YAML frontmatter (one file = one concept),
- is authored by coding agents (Claude Code / Codex) following a bundled
CLAUDE.md, - opens directly as an Obsidian vault, and
- ships a zero-dependency validator so every change can be checked.
Everything is in this skill's template/ directory — a clean, lint-passing bundle.
Steps
-
Pick the target directory (should be empty or a fresh git repo). Confirm with the user.
-
Copy the template in (note the trailing
/.so dotfiles like.gitignoreand.obsidian/come along):cp -R "<this skill dir>/template/." "<target dir>/" -
Personalize:
- Set the KB name in
README.md(title) and inwiki/index.md(the# ...heading). - Refresh the timestamp in
wiki/overview.mdto now (UTC,YYYY-MM-DDTHH:MM:SSZ, e.g.date -u +%Y-%m-%dT%H:%M:%SZ) and set today's date heading inwiki/log.md.
- Set the KB name in
-
Validate:
cd "<target dir>" && python3 tools/okf_lint.pyExpect
RESULT: PASS, 0 errors / 0 warnings. -
Initialize git (if not already a repo) and make the first commit:
git init -q && git add -A && git commit -qm "feat: scaffold OKF knowledge base" -
Tell the user they can open the folder as an Obsidian vault ("Open folder as vault"), and that future content is best added with the
okf-ingestskill.
What gets created
wiki/ the OKF bundle (index.md, overview.md, log.md, assets/) — the only conformant part
CLAUDE.md operating manual: frontmatter standard, link rules, type vocabulary, procedures
AGENTS.md pointer to CLAUDE.md for Codex / other agents
OKF-SPEC.md OKF v0.1 spec, vendored verbatim
templates/ Obsidian stamps per concept type
tools/okf_lint.py validator (OKF conformance + house rules)
raw/ out-of-bundle source/provenance area
.obsidian/ vault config (relative markdown links, attachments -> wiki/assets)
.gitignore
Notes
- The bundle is
wiki/only —tar -czf wiki.tgz wiki/is a portable OKF bundle. - Conventions (frontmatter, relative-markdown links not
[[wikilinks]], indexes, log) live in the copiedCLAUDE.md— that is the single source of truth for the new KB. - Do not edit
OKF-SPEC.md(it is the pinned spec).
What ships with it: 23 files
46.2 KB alongside SKILL.md, 1 of them executable
agents/
- openai.yaml120 B
template/
- AGENTS.md581 B
- CLAUDE.md10.6 KB
- .gitignore308 B
- .obsidian/app.json249 B
- .obsidian/core-plugins.json696 B
- .obsidian/templates.json86 B
- OKF-SPEC.md14.7 KB
- raw/assets/.gitkeep0 B
- raw/README.md149 B
- README.md1.5 KB
- templates/concept.md298 B
- templates/entity.md292 B
- templates/index.md209 B
- templates/note.md228 B
- templates/overview.md315 B
- templates/reference.md374 B
- templates/source.md361 B
- tools/okf_lint.pyruns14.1 KB
- wiki/assets/.gitkeep0 B
- wiki/index.md333 B
- wiki/log.md134 B
- wiki/overview.md691 B