← 返回 Skills 市场
ontology
作者
oswalpalash
· GitHub ↗
· v1.0.4
· MIT-0
193767
总下载
650
收藏
0
当前安装
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 keep a durable local knowledge graph. Avoid storing passwords, tokens, API keys, or raw secrets; use secret references only. Periodically inspect memory/ontology/graph.jsonl and schema.yaml because updates and deletes are represented through appended history and shared state may be read by other skills.
功能分析
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, documentation, and Python CLI align around creating, querying, linking, and validating ontology graph data. It can store personal, project, message, account, and credential-reference metadata, so the graph may become sensitive even though raw secrets are explicitly discouraged.
Instruction Scope
Runtime instructions are scoped to local ontology files under memory/ontology and disclose shared-state use. The trigger phrase "remember" is broad, and validation is available but not consistently shown as an automatic gate before every write, so users should control when persistent writes happen.
Install Mechanism
No install-time commands, package fetching, network setup, or privilege escalation were found. The artifacts are Markdown references plus a local Python CLI.
Credentials
The script uses local file reads and writes consistent with a workspace memory store, includes workspace-bound path resolution for supplied graph/schema/input paths, and shows no network calls, subprocess execution, environment scraping, or credential harvesting.
Persistence & Privilege
The skill intentionally creates durable append-only graph history and can merge schema changes under memory/ontology. Deletes are logical graph operations rather than file removal, and no background execution or elevated OS privileges are requested.
如何使用
- 确保已安装 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 插件,目前累计下载 193767 次。
如何安装 ontology?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install ontology」即可一键安装,无需额外配置。
ontology 是免费的吗?
是的,ontology 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
ontology 支持哪些平台?
ontology 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 ontology?
由 oswalpalash(@oswalpalash)开发并维护,当前版本 v1.0.4。
推荐 Skills