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.
Use the bundled Python script to safely update life/areas/**.
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小蔥技能站7w4.net,專業的AI技能分享平臺。
life/areas/<kind>/<slug>/items.json (array). Summaries live in summary.md.<slug>-001, <slug>-002, ...這個 Skill 質量不錯,程式碼寫得乾淨利落,用起來簡單順手。它幫你把零散的資訊有條理地存起來,還能自動更新摘要,找東西很方便。文件說明清楚,小白也能上手。不過它功能比較專一,只有存事實和生成摘要,複雜場景可能不夠用。另外沒有測試,萬一哪裡改壞了不容易發現。總體來說,適合簡單場景下管理個人知識庫,但複雜需求可能要加點功能。