Open Ontologies is a Rust tool for planning, checking, applying, and rolling back changes to production ontologies, which are formal descriptions of concepts and their relationships. It helps ontology maintainers and reviewers inspect the consequences of edits and verify the resulting evidence with a Lean 4 checker. The catalogue includes add-ons such as skills, an instruction, a plugin, and an MCP integration for working with it.
Borrowing it
Nothing to install: this file belongs to fabio-rovai/open-ontologies. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/fabio-rovai/open-ontologies/main/CLAUDE.mdgit clone --depth 1 https://github.com/fabio-rovai/open-ontologiesWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/fabio-rovai/open-ontologies/claude-md)<a href="https://agentmods.dev/instructions/fabio-rovai/open-ontologies/claude-md"><img src="https://agentmods.dev/badge/instructions/fabio-rovai/open-ontologies/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/fabio-rovai/open-ontologies/claude-md"><img src="https://agentmods.dev/badge/instructions/fabio-rovai/open-ontologies/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.09916 | $0.09916 |
| Opus 5.5 | $0.03966 | $0.03966 |
| Sonnet 5.5 | $0.01983 | $0.01983 |
| Haiku 4.5 | $0.00992 | $0.00992 |
Grade A, and why
open-ontologies CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 285 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Open Ontologies
Ontology Engineering Workflow
When building or modifying ontologies, follow this workflow. Claude decides which tools to call and in what order based on results — this is not a fixed pipeline.
Generate
- Understand the domain requirements (natural language, competency questions, methodology constraints)
- Generate Turtle/OWL directly — Claude knows OWL, RDF, BORO, 4D modeling natively
Validate and Load
- Call
onto_validateon the generated Turtle — if it fails, fix the syntax errors and re-validate - Call
onto_loadto load into the Oxigraph triple store - Call
onto_statsto verify class count, property count, triple count match expectations
Reason
- Call
onto_defectsFIRST. A reasoner amplifies whatever the declarations say, so a self-contradicting ontology makes every inference suspect. Fix what it reports before materializing anything - Call
onto_dlp_boundarySECOND, and read it before trusting anythingonto_reasonreturns.onto_defectsasks whether the declarations contradict each other; this asks a different question the rest of the pipeline never answers: which of your axioms the rule table can actually see. A certificate fromonto_reasonis a sound proof about the axioms the rules read and says nothing at all about the ones no rule fires on, so a green certificate over an ontology whose TBox is half invisible is true and misleading at once. The report keeps three failures apart and you act on each differently, because they are fixed in three different places. An axiomoutside_the_fragment(a disjunction in the consequent, an existential in the head, a cardinality restriction, a negation in the antecedent) is not Horn, and only a rewrite of the ontology helps. An axiominside_the_fragment_but_a_rule_is_not_implemented(owl:hasKey,owl:propertyChainAxiom,owl:FunctionalProperty) is Horn, has an OWL 2 RL rule, and is invisible only because this engine does not run it, so nothing about the ontology is wrong. And an axiompartially_inside_the_fragmentis half seen, and the question is which half you needed.not_fully_seen_by_the_rule_tablecarries all three counts and never adds them 7a.onto_dlp_boundaryanswers that question for the ONTOLOGY.onto_trace_labelanswers it for one TRACE: hand it a reasoning trace that claims inference steps and each step comes backentailed,not_entailedoroutside_the_fragment, with the same two dimensions kept apart, so a step nobody could ever derive is never reported as a step this graph happens not to support. It also reports the LOCAL answer separately, over the premises the step itself cited, so a step whose reasoning is valid over triples the graph does not hold is visible as exactly that rather than as sound. Over a rule table YOU supply, a checked step earnsentailed_under_supplied_rules_checkedand the family word carries the same qualification, never the bare word, and the report carries the table digest - Call
onto_reasonwith profilerdfsorowl-rlto materialize inferred triples (transitive subclass chains, domain/range propagation, equivalentClass expansion). The profile decides how much of the rule table runs:rdfsevaluates 6 of the 29 rules,owl-rl17 andowl-rl-extall 29, andonto_dlp_boundaryreports which - Call
onto_statsagain to verify inferred triple counts are reasonable
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 9d ago Changed · +142 tokens per session 1b2c5708cba3
- 12d ago Changed · +16 tokens per session bc7a28936ac7
- 26d ago Changed · +96 tokens per session 68551de756fe
- 27d ago Changed · +2 lines · +897 tokens per session 39e140f6099a
- 28d ago Changed · +60 tokens per session feeee9335461
- 1mo ago Changed · +6 lines · +2,134 tokens per session 073dc46e36a7
- 1mo ago Changed · +3 lines · +1,223 tokens per session 39138c51c375
- 1mo ago Changed · +2 lines · +250 tokens per session fe8de375bfc1
- 1mo ago First seen · 272 lines · 5,098 tokens per session scan A 4b976d23a0fa
open-ontologies CLAUDE.md is an instructions file published in the GitHub repository fabio-rovai/open-ontologies (1,383 stars, last pushed 2d ago), licensed MIT. It adds 9,916 tokens to every session, about $0.0397 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode copilot-instructions.md
Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).
deepseek-harness AGENTS.md
AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.