Install
openclaw skills install @hongjiahao371-pixel/cognitive-brain-deployCognitive Brain 语义记忆系统一键部署工具。当用户需要部署 OpenClaw 认知脑、部署 PostgreSQL+pgvector 向量数据库、安装 Cognitive Brain Skill、配置定时任务和 Hook 时使用。
openclaw skills install @hongjiahao371-pixel/cognitive-brain-deployOpenClaw 语义记忆系统的自动化部署 Skill。
执行一键部署脚本:
bash ~/.openclaw/workspace/skills/cognitive-brain-deploy/scripts/deploy.sh
或手动分步部署,详见 references/deploy-guide.md。
cognitive_brain 数据库创建完成~/.openclaw/workspace/skills/cognitive-brainconfig.json 数据库密码配置正确部署完成后,执行以下命令验证:
# 健康检查
cd ~/.openclaw/workspace/skills/cognitive-brain && node scripts/recall.cjs health_check
# 测试写入
node scripts/encode.cjs --content "测试记忆" --metadata '{"type":"fact","importance":0.8}'
# 测试搜索
node scripts/recall.cjs --query "测试"