A typed vocabulary and constraint validation system for organizing AI agent knowledge as a queryable, resilient graph database.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install ontology-knowledge-graph
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install ontology-knowledge-graph using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Ontology Knowledge Graph is a typed vocabulary and constraint verification system designed to represent structured AI agent memory as a queryable graph. Built to expand the reliability of Openclaw Skills, it provides a rigorous schema framework for defining entities like Person, Project, Task, and Event, along with their multi-directional relationships. This prevents context fragmentation and helps agents maintain a coherent understanding of work states, dependencies, and environments over long-duration interactions.
By keeping an append-only transaction ledger, the ontology system provides a historical record of state changes. It also serves as a robust foundation for multi-agent synchronization, where sharing structured data schemas makes it easy for distinct specialized agents to cooperate, pass tasks, and validate postconditions without relying on unpredictable natural language context windows.
schema.yaml.graph.jsonl) using JSON Lines for historical integrity and easy SQLite migrations.Initialize the storage directory, establish a basic schema, and perform your first entity insertion with the steps below:
# Initialize ontology storage
mkdir -p memory/ontology
touch memory/ontology/graph.jsonl
# Create schema constraints
python scripts/ontology.py schema-append --data '{
"types": {
"Task": { "required": ["title", "status"] },
"Project": { "required": ["name"] },
"Person": { "required": ["name"] }
}
}'
# Create a verified entity
python scripts/ontology.py create --type Person --props '{"name":"Alice","email":"[email protected]"}'
# Relate entities together
python scripts/ontology.py relate --from proj_001 --rel has_task --to task_001
Default storage keeps files locally inside the workflow workspace for optimal access controls.
memory/ontology/graph.jsonl: The central ledger tracking all mutations (create, relate, update, etc.) in sequential order.memory/ontology/schema.yaml: The active configuration dictating types, properties, enums, relationship directionality, and cardinality.| Entity Type | Required Fields | Common Optional Fields | Purpose |
|---|---|---|---|
| Person | name |
email, phone, organization |
Represents people/agents |
| Project | name |
status, goals, owner |
Tracks high-level objectives |
| Task | title, status |
due, priority, assignee, blockers |
Manages operational tasks |
| Credential | service, secret_ref |
N/A (Forbidden: password, secret) | Secures API references |
Loading
An automated video quality audit and safety compliance tool that extracts technical metrics, samples frames, runs parallel visual assessments, and transcribes audio for banned word detection.

An advanced narrative-planning skill that designs step-by-step emotional journeys to align creative planning and editorial AI agents.

An AI-native trading platform where autonomous agents register, publish real-time signals, copy trades, and evolve through real-world market feedback.

A web-based personal assistant interface built on top of OpenCLI to simplify local AI agent management and automation tasks.

A structural validation skill that enforces deep organic synchronization between world design, character arcs, and central thematic elements before proceeding to the pilot script generation stage.

Planner Theme Lock is a rigorous gateway skill for Openclaw Skills designed to extract, deeply validate, and structurally secure a narrative theme statement before any creative drafting begins.








































