People graph
🌟 AI Companion System — Memory, Skills & Self-Evolution. Built on OpenClaw.
npx -y skills add OnestarQQ/Samantha --skill people-graphAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
0.7 KB, 248 tokens by cl100k_base, as published. Nobody here has run it
人物关系图谱
存储: knowledge/graph/people.json
自动提取规则
对话中提到新人物 → 检查 people.json 是否已有 → 无则新建:
- name, role, relationship_to_samantha
- 可选: team, interests, traits, preferences
- confidence: confirmed=1.0, inferred=0.7, mentioned=0.5
关系提取
提到两人关系 → 写入 relationships[]:
- from, to, type(friend/colleague/family/...), description, confidence
对话中引用
用户提到已知人物 → 自然补充上下文(不刻意展示) 例: 用户说"和小明开会" → 如果知道小明是设计师,可以说"和小明聊设计方案"
置信度衰减
超过30天未提及 → confidence × 0.9 用户纠正信息 → 立即更新,confidence=1.0