← Back to Skills Marketplace
oswalpalash

ontology

by oswalpalash · GitHub ↗ · v1.0.4 · MIT-0
cross-platform ✓ Security Clean
190189
Downloads
642
Stars
1435
Active Installs
4
Versions
Install in OpenClaw
/install ontology
Description
Typed knowledge graph for structured agent memory and composable skills. Use when creating/querying entities (Person, Project, Task, Event, Document), linkin...
Usage Guidance
Install this only if you want agents to maintain a durable local knowledge graph. Do not store passwords, tokens, or raw secrets; use references to a separate secret store instead. Periodically inspect memory/ontology/graph.jsonl and schema.yaml, because updates and deletes are represented as appended history rather than erasing prior records.
Capability Analysis
Type: OpenClaw Skill Name: ontology Version: 1.0.4 The 'ontology' skill provides a robust framework for managing a local knowledge graph (entities and relations) stored in JSONL format. The implementation in `scripts/ontology.py` includes proactive security measures such as a `resolve_safe_path` function to prevent path traversal and schema constraints in `references/schema.md` that explicitly forbid storing raw secrets like passwords or tokens. The logic is transparent, well-documented, and strictly focused on its stated purpose of structured memory management.
Capability Assessment
Purpose & Capability
The stated purpose of creating, querying, linking, validating, and sharing typed ontology objects matches the included documentation and Python CLI. The model can store personal, project, message, account, and credential-reference metadata, so the graph may become sensitive even though raw secrets are discouraged.
Instruction Scope
The runtime instructions are scoped to local graph and schema operations under memory/ontology and disclose cross-skill shared state. The trigger phrase 'remember' is broad, but it is purpose-aligned for a memory skill and not hidden.
Install Mechanism
No install-time commands, package fetching, network setup, or elevated setup steps are present in the artifacts. The skill consists of markdown references and a local Python CLI.
Credentials
The script performs local file reads and writes for its graph and schema purpose, with workspace-bound path resolution for user-supplied graph, schema, and input file paths. No network access, credential harvesting, environment scraping, or external account use was found.
Persistence & Privilege
The skill intentionally creates persistent append-only memory files and supports create, update, relation, schema-append, and logical delete operations. It does not request elevated OS privileges or background execution.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install ontology
  3. After installation, invoke the skill by name or use /ontology
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.4
- Initial release of the ontology skill for typed, constraint-validated knowledge graphs. - Supports entity and relation CRUD, property and relation validation, and graph traversal for common types such as Person, Project, Task, Event, and Document. - Provides schema-driven constraints including required properties, enums, forbidden fields, cardinality, and acyclicity. - Enables multi-step planning and shared memory across skills via structured ontology objects. - Includes CLI tooling for creating, querying, linking, and validating graph data using JSONL storage.
v0.1.2
No functional or documentation changes were detected in this release. - Version bumped to 0.1.2 with no file or content changes.
v0.1.1
- Added an "Append-Only Rule" to encourage appending or merging ontology data and schema changes rather than overwriting files, preserving history and prior definitions. - Updated quick start instructions to use `schema-append` for safely modifying schemas instead of direct file editing. - Expanded the documentation to clarify that runtime commands and validations operate on local files, create necessary directories, and are within the skill's supported behaviors. - Clarified the scope of validation: property, enum, forbidden checks, relation validation, acyclicity, and specific Event constraints are supported; higher-level constraints remain documentation unless implemented.
v0.1.0
Initial release: typed knowledge graph for agent memory, entity CRUD, relations, constraints, skill interop
Metadata
Slug ontology
Version 1.0.4
License MIT-0
All-time Installs 7197
Active Installs 1435
Total Versions 4
Frequently Asked Questions

What is ontology?

Typed knowledge graph for structured agent memory and composable skills. Use when creating/querying entities (Person, Project, Task, Event, Document), linkin... It is an AI Agent Skill for Claude Code / OpenClaw, with 190189 downloads so far.

How do I install ontology?

Run "/install ontology" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is ontology free?

Yes, ontology is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does ontology support?

ontology is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created ontology?

It is built and maintained by oswalpalash (@oswalpalash); the current version is v1.0.4.

💬 Comments