ONTOLOGIES

Ontologies for
your AI agents.

One command puts an ontology in ./ontologies/ in your repo, along with a skill that tells Claude Code, Cursor or Codex how to merge it into the schema you already have. The files are yours to change; there's no package to keep updated.

$npx ontology.sh add modernrelay/ontologies/company-brain

✓ prisma/schema.prisma · 3 types added, 5 relations added

User≈ Person · AgentMeeting≈ Source · EntityClaimwas NoteDecisionActionItemProject■ your schema■ company-brain■ prov-o— new relation

A terminal demo: two ontologies are added to an app with npx ontology.sh add, then a coding agent reads them, proposes how to merge them into the app's schema, and applies the plan after a yes.

How it works

Use an ontology

  1. Run npx ontology.sh add owner/repo.
  2. The files land in ./ontologies/, with a skill for your coding agent.
  3. Ask your agent to fit it into your schema. It proposes a plan and waits for your OK.

Publish one

  1. Write an ONTOLOGY.md next to your schema files.
  2. git push to GitHub.
  3. The first add lists it here. No account, no publish step.

Catalogue 8 ontologies · 3 areas

P110People & organizations · 3

P120Company knowledge · 2

P130Provenance, taxonomy & time · 3