knowledge-graph

Verified·Scanned 2/18/2026

This skill updates Clawdbot's file-based knowledge graph under life/areas/** by adding or superseding atomic facts and regenerating summary.md. It instructs running python3 skills/knowledge-graph/scripts/kg.py, which reads and writes items.json and summary.md in those entity directories.

from clawhub.ai·v8579148·8.6 KB·0 installs
Scanned from 1.0.0 at 8579148 · Transparency log ↗
$ vett add clawhub.ai/safatinaztepe/knowledge-graph

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.