Typed knowledge graph that stores agent memory as validated entities, relations, and constraints.

skills.sh installs
3.7K
GitHub stars
675
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers creating, querying, and linking entities of core types such as Person, Project, Task, Event, and Document
  • Includes a scripts/ontology.py CLI with create, query, get, related, relate, and validate commands, plus schema reference files
  • Enforces type constraints from memory/ontology/schema.yaml, including required fields, status enums, and acyclic blocks relations
  • Designed for agents that need persistent recall or shared state across composable skills

Install

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

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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.

Entity: { id, type, properties, relations, created, updated }
Relation: { from_id, relation_type, to_id, properties }

When to Use

TriggerAction
"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 workModel as graph transformations
Skill needs shared stateRead/write ontology objects

Core Types

# Agents & People
Person: { name, email?, phone?, notes? }
Organization: { name, type?, members[] }

# Work
Project: { name, status, goals[], owner? }
Task: { title, status, due?, priority?, assignee?, blockers[] }
Goal: { description, target_date?, metrics[] }

Details

Repository
github.com/sundial-org/awesome-openclaw-skills
Categories
Memory & Context, AI Agents & LLM Apps

More from sundial-org/awesome-openclaw-skills

All 37

Similar to Ontology

More Memory & Context