Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By full-stack-bizv1.10.0MITIn 1 marketplace
Turtle ontology toolbox: validate TTL structure and fix gaps, apply ontology to implementation decisions, browse and search ontology terms, and resolve ttl:// references. Use when asked to validate ontology, check code against axioms, list ontology terms, find a concept, or look up a ttl:// reference.
Claude loads one when your task matches it, or you run it by name.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A Claude Code skill for working with Turtle (.ttl) domain ontologies: validate structure, apply ontology to implementation decisions, browse and search terms, and resolve ttl:// references.
Parse any .ttl file, verify syntax, count triples, and surface structural gaps—missing labels, missing ranges, undocumented invariants.
validate.py --check-names --check-wording --check-header reports a label that is missing, repeated, CamelCase or capitalized; a name that repeats its type or mixes separators; a term without a definition; the articles, conjunctions, negations, verbs and abbreviations in a name; a subclass label without its superclass's; and a missing version IRI or replacement of a deprecated term, each with its rule (OBO Foundry principle 12, Schober et al. 2009, the W3C vocabulary principles). --changed-since REF checks only the terms a change touches; ot:exempt "<rule>: <reason>" exempts one term from one rule; errors exit 1.
Check code, schema, or architecture decisions against declared ontology axioms. Every check gets a verdict: ✅ PASS, ❌ FAIL, ⚠️ MISMATCH, or ⚠️ ONTOLOGY GAP.
Named invariants (*:Inv_*) are extracted automatically and checked against the codebase with grep evidence.
List all terms in a given namespace prefix to audit coverage.
scripts/locate.py gives line numbers instead of grep: the prefixes and version (header), the banner sections (outline), a term's line range and section (where), the terms whose literals match a pattern (text), and the line a new term of a type goes after (anchor).
scripts/rename.py renames a term in the TTL, sets its label, and rewrites its ttl:// and qname citations in the files you name; it lists the other terms that name it, which a --changed-since naming check reads next.
A root file lists its other files with owl:imports (owl:imports <payroc.ttl>, a path relative to the root). Every script reads the root and every local file it imports, transitively, as one graph: validate.py checks the whole closure, lookup.py resolves ttl://root.ttl/prefix:Name for a term of any file, locate.py prints the file of each line range, and rename.py rewrites every file of the closure. An http: import is not fetched.
Your project has a Turtle ontology that declares the domain model—classes, properties, invariants, cardinalities. Over time, code drifts from what the ontology says. Catching that drift manually is slow and error-prone.
With ontology-tools, Claude checks the code against the ontology for you:
User: "Validate this PR against the ontology"
Claude (using ontology-tools):
→ Reads the .ttl file
→ Identifies relevant axioms and invariants
→ Greps the codebase for evidence
→ Reports each check as PASS/FAIL with file:line pointers
User gets: A structured report with an overall verdict
The skill activates when you ask Claude to:
You're adding a database column and want to confirm it fits the declared domain.
me: "Does adding a `processed_at` timestamp column violate the ontology?"
Claude:
→ Reads ontology.ttl
→ Checks rdfs:range and cardinality restrictions for time-related properties
→ Reports PASS or FAIL with the relevant axioms
You edited the TTL and want to catch gaps before merging.
me: "Validate the ontology for completeness"
Claude:
→ Runs the validator script (syntax + triple count)
→ Checks for missing labels, comments, domain/range declarations
→ Lists every gap with its term URI
Before opening a pull request, confirm no named invariants are violated.
me: "Ontology review for this PR"
Claude:
→ Reads all Inv_* instances from the TTL
→ Greps relevant source files for evidence
→ Returns a summary table with per-invariant verdicts
claude plugin install https://github.com/full-stack-biz/ontology-tools --scope user
/plugin marketplace add full-stack-biz/ontology-tools
/plugin install ontology-tools@ontology-tools
claude --plugin-dir /path/to/ontology-tools
uv for running the Python validator scriptrdflib (installed automatically by uv)Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub full-stack-biz/ontology-tools --plugin ontology-toolsPlugins from other owners that cover similar ground