Ontology provides a typed knowledge graph system for structured AI agent memory, ensuring data integrity through verifiable entities and relationships.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install long-term-memory
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 long-term-memory 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 skill is a foundational framework for representing complex knowledge as a verifiable graph within the AI agent ecosystem. By using a typed vocabulary and constraint system, it transforms raw data into structured entities—such as People, Projects, and Tasks—connected by meaningful relations. This allows agents to maintain a long-term, queryable memory that goes beyond simple text logs.
Every mutation within the system is validated against strict type constraints before being committed to the graph. This ensures that Openclaw Skills can share state reliably, enforce business logic (like preventing circular dependencies), and perform complex graph traversals to uncover hidden insights or project bottlenecks.
To begin using the Ontology system within your Openclaw Skills environment, initialize the storage and schema as follows:
# Initialize ontology storage directory
mkdir -p memory/ontology
touch memory/ontology/graph.jsonl
# Create a basic schema for validation
python3 scripts/ontology.py schema-append --data '{
"types": {
"Task": { "required": ["title", "status"] },
"Project": { "required": ["name"] },
"Person": { "required": ["name"] }
}
}'
# Verify the installation by creating your first entity
python3 scripts/ontology.py create --type Person --props '{"name":"Alice"}'
The system organizes data into entities and relations stored in an append-only format.
| Component | Description |
|---|---|
| Entity | Contains id, type, properties, and metadata (created/updated timestamps). |
| Relation | Defines links between entities via from_id, relation_type, and to_id. |
| Schema | A YAML configuration defining required fields, enums, and relation cardinality. |
Loading
An AI-powered LinkedIn outreach assistant that generates personalized connection requests, InMails, and follow-up messages optimized for B2B engagement.

A professional AI writing companion for generating outlines, expanding paragraphs, and polishing content with high precision.

An automated infrastructure architect that generates optimized GPU compute configurations based on AI workload types, scale, and budget constraints.

A specialized AI agent skill designed to fetch and format the latest global financial news and market analysis from the Wallstreetcn API.

A professional scouting tool that scans GitHub to identify potential AI company customers based on repository activity and technical signals.

An automated search monitoring tool for tracking keywords, receiving change alerts, and exporting data across multiple search engines.








































