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.

    7w4.net小蔥技能。

  • 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