Knowledge Graph

👤 safatinaztepe 📦 v1.0.0 ⭐ 4.3 ⬇️ 7.5K 下载
📚 知识管理 免费

📖 技能介绍


name: knowledge-graph description: 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.


Knowledge Graph (file-based)

Use the bundled Python script to safely update life/areas/**.

Commands

Add a new fact:

python3 skills/knowledge-graph/scripts/kg.py add \
  --entity people/safa \
  --category status \
  --fact "Runs Clawdbot on a Raspberry Pi" \
  --source conversation

Supersede an old fact (mark old as superseded + create new fact):

python3 skills/knowledge-graph/scripts/kg.py supersede \
  --entity people/safa \
  --old safa-002 \
  --category status \
  --fact "Moved Clawdbot from Pi to a Mac mini"

Regenerate an entity summary from active facts:

python3 skills/knowledge-graph/scripts/kg.py summarize --entity people/safa

Notes

  • Entities live under: life/areas/<kind>/<slug>/
  • Facts live in items.json (array). Summaries live in summary.md.
  • IDs auto-increment per entity: <slug>-001, <slug>-002, ...
  • Never delete facts; supersede them.

🤖 AI 评测

这个 Skill 质量不错,代码写得干净利落,用起来简单顺手。它帮你把零散的信息有条理地存起来,还能自动更新摘要,找东西很方便。文档说明清楚,小白也能上手。不过它功能比较专一,只有存事实和生成摘要,复杂场景可能不够用。另外没有测试,万一哪里改坏了不容易发现。总体来说,适合简单场景下管理个人知识库,但复杂需求可能要加点功能。

📊 多维度评分

适应性4.4
规范性4
有效性4.5
可靠性4.1
可信度5

📁 包含文件 (3 个)

📄 SKILL.md 1.2 KB
📄 _meta.json 134 B
📄 scripts/kg.py 7.4 KB

🔥 大家都在搜

wps 写作 pdf 苹果