Agent skill · product strategy · sundial-org
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 "remember", "what do I know about", "link X to Y", "show dependencies", entity CRUD, or cross-skill data access.
Why this skill is useful
Adds executable scripts for entity management and validation that enhance the AI's ability to handle structured knowledge and complex workflows.
What it needs
Requires python3 installed locally. About 3k tokens when loaded. Last updated 2026-03-07. 639 stars on the source repository.
What this skill does
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
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills sundial-org/ontology