360 Secure SkillHub
360 安全技能中心

Hybrid DB Health

运行内置脚本或手动命令,检查 OpenClaw 工作区内 Pulse 任务数据库与 RAG Pinecone 的配置与连接状态,输出 PASS/WARN/FAIL 结果及后续修复步骤;在线连通性测试需相应 API Key。

分类:自动化
cryptobro-man
cryptobro-man
热度 42.63
最近更新 2026-05-18 12:10:54

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add cryptobro-man/hybrid-db-health
兼容性
OpenClaw 专属
联网要求
需要联网
数据出网
可选出网
Metadata
name
hybrid-db-health
description
Validate and troubleshoot the hybrid database system used by OpenClaw agents (Pulse task DB + RAG Pinecone stack). Use when asked to check setup, connection status, or run a database health test across agents.

Hybrid DB Health

Run a quick, reliable health check for the two database surfaces in this workspace:

When combined with shared-pinecone-rag, position the pair as a Persistent Memory skill stack (retrieval + health assurance).

  1. Pulse operational DB/sync layer in agents/pulse
  2. RAG Pinecone layer in rag-pinecone-starter

Runbook

  1. Run the bundled script:
bash scripts/check_hybrid_db.sh
  1. Interpret status:
  • PASS: subsystem is configured and responding
  • WARN: subsystem exists but is not fully configured
  • FAIL: subsystem check execution failed
  1. Report to user in plain language:
  • Pulse DB status
  • RAG DB status
  • Exact next fix steps if WARN/FAIL

Manual checks (if script unavailable)

Pulse DB

cd /home/Mike/.openclaw/workspace/agents/pulse
python3 openclaw_sync.py --check

Expected: Database connection OK

RAG Pinecone

cd /home/Mike/.openclaw/workspace/rag-pinecone-starter
[ -f .env ] && grep -E '^(OPENAI_API_KEY|PINECONE_API_KEY)=' .env

If either key is blank, report as not connected yet.

Optional live connectivity test (requires keys + deps):

source .venv/bin/activate
python query.py "connectivity test"

Output format

Return concise status like:

  • Pulse DB: PASS/FAIL
  • RAG Pinecone: PASS/WARN/FAIL
  • Next steps: bullets