ontology

Typed knowledge graph for structured agent memory and composable skills. Use when creating/querying entities (Person, Project, Task, Event, Document), linking related objects, enforcing constraints, planning multi-step actions as graph transformations, or when skills need to share state. Trigger on

By sundial-org · 3,647 installs

npx skills add sundial-org/awesome-openclaw-skills --skill ontology

Source repository · Upstream listing

Ontology A typed vocabulary + constraint system for representing knowledge as a verifiable graph. Core Concept Everything is an entity with a type , properties , and relations to other entities. Every mutation is validated against type constraints before committing. When to Use Trigger Action "Remember that..." Create/update entity "What do I know about X?" Query graph "Link X to Y" Create relation "Show all tasks for project Z" Graph traversal "What depends on X?" Dependency query Planning multi step work Model as graph transformations Skill needs shared state Read/write ontology objects Core Types Storage Default: memory/ontology/graph.jsonl Query via scripts or direct file ops. For complex graphs, migrate to SQLite. Workflows Create Entity Query Link Entities Validate Constraints Define in memory/ontology/schema.yaml : Skill Contract Skills that use ontology should declare: Planning as Graph Transformation Model multi step plans as a sequence of graph operations: Each step is validated before execution. Rollback on constraint violation. Integration Patterns With Causal Inference Log ontology mutations as causal actions: Cross Skill Communication Quick Start References references/schema.md — Full type definitions and constraint patterns references/queries.md — Query language and traversal examples