Skip to content

Skills

A skill is a folder with a SKILL.md file that teaches Claude how to do one job. ontology-kit ships three, in the packages/okb/skills/ folder. Each one drives the okb command, so it does the typing while you make the decisions.

Skill Use it to Page
ontology-coach Build an ontology from a blank page. Build with Claude
ontology-review Get a second opinion on an ontology you’ve built. Review and iterate
build-domain-kb-from-docs Extract an ontology from documentation, with every claim checked. From existing docs

ontology-coach#

Coaches someone who has never built an ontology through the eight steps of the method. It asks at most two questions at a time, explains each idea just before it’s needed, runs the commands, and records your choices as design decisions. It leaves you with an ontology that passes okb validate and a record of why it looks the way it does.

Start it by asking coach me through building an ontology, or type /ontology-coach. See Build with Claude for what a session looks like.

ontology-review#

Reviews an ontology against the rules a script can’t check, such as whether an is-a link is true and whether siblings are equally general. It also double-checks the validator’s heuristic findings and reports in plain language, with the rule, its source and the exact okb commands that fix it. It changes nothing unless you ask.

Start it by asking review my ontology. See Review and iterate.

build-domain-kb-from-docs#

Turns documentation, usually markdown, into an ontology. It quotes the document word for word, drafts one claim per quote, then has an independent pass check each claim against its quote. It never auto-merges a claim it can’t verify, and it stops for a person wherever the pipeline can’t decide. It needs an ontology with a scope and at least three competency questions first, so build that with the coach.

See From existing docs for the pipeline.

Install the skills#

The skills come in the same package as okb, so one command installs them all at the version that matches your okb:

okb skills install
✓ Skills in /Users/you/.claude/skills
  build-domain-kb-from-docs: linked
  ontology-coach: linked
  ontology-review: linked

  Start a new Claude Code or Cursor session to load them.

Claude Code loads skills from ~/.claude/skills/, and Cursor reads that folder too. By default each skill is a link to the folder inside your okb install, so it stays current when okb updates. Add --copy to copy the folders instead (run the command again after you update okb), or --dir <folder> to use another skills folder, such as ~/.cursor/skills. The OKB_SKILLS_DIR environment variable sets the folder as well.

Installing again is safe. It replaces a link to an older okb, a broken link or an older copy. It refuses to touch a folder in that place that isn’t one of okb’s skills, and says what it found and that nothing changed. If you want okb to delete it and take its place, run okb skills install --force.

To see what’s installed and whether it matches your okb, run okb skills status. It exits with code 1 when a skill is missing or out of date:

okb skills status
Skills in /Users/you/.claude/skills  (okb meta-KB 2.4.2)
  ✓ build-domain-kb-from-docs  linked to this okb, version 2.4.2
  ✓ ontology-coach             linked to this okb, version 2.4.2
  ✓ ontology-review            linked to this okb, version 2.4.2

Start a new Claude session after you install or update the skills, so it loads the new version. The Installation page has the rest of the update steps.

Check the version#

Near the top of each SKILL.md, under its title, a line says which version it is:

**Version 2.4.2.** It should match the meta-KB version that `okb version` prints.

All three skills share the meta-KB’s version number, and okb version prints it:

okb version
okb 0.1.0 · meta-KB 2.4.2

Each skill checks the two numbers when it starts, and okb skills status checks them for you. If they differ, run okb skills install to refresh the skills. A skill that finds a mismatch tells you the skill or okb is out of date before it goes on. A new meta-KB version means a rule’s meaning changed, or a skill’s instructions did. The changelog lists what changed in each one.

View page source