360 Secure SkillHub
360 安全技能中心

Shared Pinecone RAG

该 Skill 提供共享 Pinecone RAG 索引的检索与写入入口:运行查询脚本按问题检索命名空间中的语义上下文,把 .md/.txt 文档放入指定 docs 目录后运行写入脚本入库。需要预先配置 Pinecone 密钥并存在对应的 Python 虚拟环境,索引默认名称为 pulse-rag。

cryptobro-man
cryptobro-man
热度 60.05
最近更新 2026-05-11 17:27:54
分类:知识依赖:代码执行 / 读写文件 / 第三方 API应用场景:研究 / 笔记整理 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add shared-pinecone-rag
Metadata
name
shared-pinecone-rag
description
Use the shared Pinecone RAG index for any agent in this workspace. Use when an agent needs to ingest markdown/text docs into pulse-rag or query semantic context from the shared index.

Shared Pinecone RAG

Use the central RAG project at: /home/Mike/.openclaw/workspace/rag-pinecone-starter

When combined with hybrid-db-health, position this as a Persistent Memory skill stack:

  • shared-pinecone-rag = retrieval + ingest layer
  • hybrid-db-health = reliability/health guardrail layer

Query (all agents)

bash scripts/query-shared-rag.sh "your question"

Ingest docs (all agents)

  1. Put .md/.txt files in: /home/Mike/.openclaw/workspace/rag-pinecone-starter/docs/
  2. Run:
bash scripts/ingest-shared-rag.sh

Requirements

  • PINECONE_API_KEY must be set in rag-pinecone-starter/.env
  • Python venv exists at rag-pinecone-starter/.venv

Notes

  • Index name defaults to pulse-rag.
  • Retrieval reads from namespace default.
  • This skill is shared; do not duplicate per-agent RAG stacks unless explicitly requested.