← 返回 Skills 市场
onlyloveher

Ontology

作者 onlyloveher · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
175
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install ontology-clawd
功能描述
Typed knowledge graph for structured agent memory and composable skills. Use when creating/querying entities (Person, Project, Task, Event, Document), linkin...
安全使用建议
This skill implements a local, append-only ontology stored on disk and the bundled Python CLI mostly matches the documentation. Before installing or enabling it: (1) Verify which storage path the agent will actually use (SKILL.md uses memory/ontology; skill.yaml sets ~/clawd/ontology) and adjust to a safe directory you control. (2) Confirm your environment runs Python (the implementation is Python) — skill.yaml's Node requirement is incorrect and should be clarified with the author. (3) Do not store secrets directly in the graph — the schema enforces secret_ref, but other skills or users might accidentally write sensitive values; treat the graph files as potentially sensitive and restrict file permissions. (4) Inspect the full scripts/ontology.py (particularly the truncated schema-loading/validation code) for any network I/O before granting broad access. (5) If you need cross-skill sharing, require skills to declare exact read/write contracts per the Skill Contract. These inconsistencies look like sloppy packaging rather than overtly malicious behavior, but confirm the above points before trusting the skill with sensitive data.
功能分析
Type: OpenClaw Skill Name: ontology-clawd Version: 1.0.0 The 'ontology-clawd' skill provides a structured knowledge graph for agent memory, supporting entity CRUD operations, relationship mapping, and schema validation. The implementation in `scripts/ontology.py` follows security best practices, including path traversal protection via a `resolve_safe_path` utility and explicit constraints in `SKILL.md` and `references/schema.md` to prevent the storage of raw secrets (e.g., passwords or tokens). No evidence of malicious intent, data exfiltration, or prompt injection was found.
能力评估
Purpose & Capability
The skill's declared purpose (typed knowledge graph / agent memory) matches the included Python tool and SKILL.md workflows. However skill.yaml claims Node compatibility (node >=18.0.0) while the provided implementation is a Python script (scripts/ontology.py). The SKILL.md uses memory/ontology/graph.jsonl as the default storage path but skill.yaml's ONTOLOGY_PATH default is '~/clawd/ontology' — inconsistent defaults that could cause confusion. Metadata owner IDs/homepage also differ across files. These mismatches are not clearly malicious but are incoherent and warrant clarification.
Instruction Scope
Runtime instructions restrict operations to local graph files (create/query/relate/validate) and emphasize append-only history and a schema that forbids storing secrets directly (Credential.secret_ref). The instructions and script operate on local files (memory/ontology/graph.jsonl and memory/ontology/schema.yaml) and do not instruct network calls or access to unrelated system files. Caution: append-only logs preserve history, so any sensitive data written into entities will remain on disk; the skill explicitly calls out not storing secrets directly but relies on users/other skills to follow that.
Install Mechanism
No install spec is provided (instruction-only), and there are no downloads or package installs. The single bundled script is a plain Python CLI. This is low-install risk.
Credentials
The skill declares no required environment variables or credentials. The only config is an ONTOLOGY_PATH in skill.yaml (a storage path). The code does not require or reference external secrets or cloud credentials. This is proportionate to its stated purpose.
Persistence & Privilege
always is false and the skill is user-invocable; it does normal local storage of its own data and does not request persistent privileges or modify other skills' configs. The append-only storage model gives it persistent local data — ordinary for this functionality.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ontology-clawd
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ontology-clawd 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of the ontology skill for structured agent memory and composable skill state. - Provides a typed knowledge graph for entities, relations, properties, and constraints. - Supports creation, querying, linking, and validation of core types: Person, Project, Task, Event, Document, etc. - Enforces type and relation constraints, including required fields, enums, relation cardinality, and acyclicity. - Stores data append-only in JSONL files under `memory/ontology` with optional schema support. - Includes CLI for entity and relation CRUD, validation, and simple planning as graph transformations. - Designed for cross-skill data sharing and integration via ontology contracts.
元数据
Slug ontology-clawd
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

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 插件,目前累计下载 175 次。

如何安装 Ontology?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install ontology-clawd」即可一键安装,无需额外配置。

Ontology 是免费的吗?

是的,Ontology 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Ontology 支持哪些平台?

Ontology 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Ontology?

由 onlyloveher(@onlyloveher)开发并维护,当前版本 v1.0.0。

💬 留言讨论