← 返回 Skills 市场
ontology
作者
oswalpalash
· GitHub ↗
· v1.0.4
· MIT-0
190156
总下载
641
收藏
1435
当前安装
4
版本数
在 OpenClaw 中安装
/install ontology
功能描述
Typed knowledge graph for structured agent memory and composable skills. Use when creating/querying entities (Person, Project, Task, Event, Document), linkin...
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install ontology - 安装完成后,直接呼叫该 Skill 的名称或使用
/ontology触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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
元数据
常见问题
ontology 是什么?
Typed knowledge graph for structured agent memory and composable skills. Use when creating/querying entities (Person, Project, Task, Event, Document), linkin... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 190156 次。
如何安装 ontology?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install ontology」即可一键安装,无需额外配置。
ontology 是免费的吗?
是的,ontology 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
ontology 支持哪些平台?
ontology 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 ontology?
由 oswalpalash(@oswalpalash)开发并维护,当前版本 v1.0.4。
推荐 Skills