Agent skill · Data & Analytics

ontology-validator

Validate material sample annotations and data structures against ontology constraints. Use when checking if CMSO annotations are correct, verifying that required properties are present, or validating that object property relationships have consistent domain and range. Catches unknown classes, unknown properties, domain mismatches, and missing required fields.

FreedomIntelligencegithub.com/FreedomIntelligenceGitHub ↗
claude-codecan modify filesships scripts
Install
npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill ontology-validator --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 7
SKILL.md size: 6 KB
Bundled scripts: yes
Allowed tools: ReadBash
Path: skills/ontology-validator/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 2,909
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Ontology Validator ## Goal Validate that material sample annotations comply with ontology constraints: correct class names, valid properties, consistent domain/range relationships, and required fields present. ## Requirements - Python 3.8+ - No external dependencies (Python standard library only) - Requires ontology-explorer's `cmso_summary.json` and `ontology_registry.json` ## Inputs to Gather | Input | Description | Example | |-------|-------------|---------| | Annotation | JSON dict or list of annotation dicts | `{"class":"UnitCell","properties":{"has Bravais lattice":"cF"}}` | | Class name | Class to check completeness for | `Crystal Structure` | | Provided properties | Comma-separated property names | `"has unit cell,has space group"` | | Relationships | JSON array of subject-property-object triples | `[{"subject_class":"Material","property":"has structure","object_class":"Crystal Structure"}]` | ## Decision Guidance ``` What do you need to validate? ├── An annotation (classes and properties are correct) │ └── schema_checker.py --ontology cmso --annotation '<json>' ├── Completeness of a class annotation │ └── completeness_checker.py --ontology cmso --class <name> --provided

What's inside
Steps it walks through
  1. Goal
  2. Requirements
  3. Inputs to Gather
  4. Decision Guidance
  5. Script Outputs (JSON Fields)
  6. Workflow
  7. Conversational Workflow Example
  8. CLI Examples
  9. Error Handling
  10. Interpretation Guidance
  11. Limitations
  12. References
  13. Version History
Ships with 6 files
  • references/asmo_constraints.json
  • references/cmso_constraints.json
  • references/validation_rules.md
  • scripts/completeness_checker.py
  • scripts/relationship_checker.py
  • scripts/schema_checker.py
Commands it runs
Validate an annotation
python3 skills/ontology/ontology-validator/scripts/schema_checker.py \
Check completeness
python3 skills/ontology/ontology-validator/scripts/completeness_checker.py \
Validate relationships
python3 skills/ontology/ontology-validator/scripts/relationship_checker.py \
More from OpenClaw-Medical-Skills
All skills →
About this skill
What does the ontology-validator skill do?

Validate material sample annotations and data structures against ontology constraints. Use when checking if CMSO annotations are correct, verifying that required properties are present, or validating that object property relationships have consistent domain and range. Catches unknown classes, unknown properties, domain mismatches, and missing required fields.

How do I install it?

Run `npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill ontology-validator --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From FreedomIntelligence/OpenClaw-Medical-Skills, a repository with 2,909 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going