← 返回 Skills 市场
safatinaztepe

Knowledge Graph

作者 SafaTinaztepe · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
6956
总下载
5
收藏
100
当前安装
1
版本数
在 OpenClaw 中安装
/install knowledge-graph
功能描述
Maintain Clawdbot's compounding knowledge graph under life/areas/** by adding/superseding atomic facts (items.json), regenerating entity summaries (summary.md), and keeping IDs consistent. Use when you need deterministic updates to the knowledge graph rather than manual JSON edits.
安全使用建议
Install only if you want the agent to maintain persistent knowledge files under life/areas/**. Review facts before adding or superseding them, avoid storing sensitive or untrusted claims, and note that the skill needs Python 3 plus local file read/write access even though permissions are not explicitly declared.
功能分析
Type: OpenClaw Skill Name: knowledge-graph Version: 1.0.0 The skill bundle is designed to manage a file-based knowledge graph within the OpenClaw workspace. The `SKILL.md` provides clear, non-malicious instructions for the agent, with no evidence of prompt injection attempts. The `scripts/kg.py` Python script performs file I/O operations (reading/writing `items.json` and `summary.md`) strictly within the designated `life/areas/` directory relative to the workspace root. It does not access sensitive files, make network calls, execute arbitrary commands, or exhibit any other high-risk behaviors or obfuscation techniques.
能力评估
Purpose & Capability
The skill’s stated purpose matches its behavior: it adds, supersedes, and summarizes facts in a file-based knowledge graph under life/areas/**. The main user impact is persistent local knowledge that may later influence agent context.
Instruction Scope
SKILL.md gives explicit commands for add, supersede, and summarize operations. It does not instruct automatic execution, role override, credential access, exfiltration, or unrelated actions.
Install Mechanism
The bundle contains only SKILL.md and a dependency-free Python script. It requires python3 and local file read/write capability, but those permissions are not explicitly declared in the visible metadata.
Credentials
The script uses standard-library local file I/O, validates entity path components to simple lowercase slugs, and confines intended writes to items.json and summary.md under life/areas/<kind>/<slug>/.
Persistence & Privilege
Persistent file writes are core to the skill’s purpose. It appends or supersedes facts and regenerates summaries, with no background worker, privilege escalation, broad local indexing, network calls, or deletion behavior.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install knowledge-graph
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /knowledge-graph 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of the knowledge-graph skill. - Enables safe, programmatic updates to Clawdbot's knowledge graph under life/areas/**. - Add or supersede atomic facts for any entity via command-line scripts. - Ensures fact IDs remain consistent and auto-increment per entity. - Supports regenerating entity summaries from active facts. - Removes the need for manual JSON edits; prevents deletion of facts by enforcing supersession.
元数据
Slug knowledge-graph
版本 1.0.0
许可证
累计安装 250
当前安装数 100
历史版本数 1
常见问题

Knowledge Graph 是什么?

Maintain Clawdbot's compounding knowledge graph under life/areas/** by adding/superseding atomic facts (items.json), regenerating entity summaries (summary.md), and keeping IDs consistent. Use when you need deterministic updates to the knowledge graph rather than manual JSON edits. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 6956 次。

如何安装 Knowledge Graph?

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

Knowledge Graph 是免费的吗?

是的,Knowledge Graph 完全免费(开源免费),可自由下载、安装和使用。

Knowledge Graph 支持哪些平台?

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

谁开发了 Knowledge Graph?

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

💬 留言讨论