Skills pinecone
Pinecone vector database — manage indexes, upsert vectors, query similarity search, manage namespaces, and track collections via the Pinecone API. Build semantic search, recommendation systems, and RAG pipelines with high-performance vector storage. Built for AI agents — Python stdlib only, zero dependencies. Use for vector search, semantic similarity, RAG applications, recommendation engines, and AI memory systems.
git clone https://github.com/openclaw/skills
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/aiwithabidi/pinecone" ~/.claude/skills/clawdbot-skills-pinecone && rm -rf "$T"
skills/aiwithabidi/pinecone/SKILL.md🌲 Pinecone
Pinecone vector database — manage indexes, upsert vectors, query similarity search, manage namespaces, and track collections via the Pinecone API.
Features
- Index management — create, configure, delete indexes
- Vector upsert — insert and update vectors with metadata
- Similarity search — query nearest neighbors
- Namespace management — organize vectors by namespace
- Metadata filtering — filter queries by metadata fields
- Collection management — create snapshots of indexes
- Batch operations — bulk upsert and delete
- Index stats — vector counts, dimensions, usage
- Sparse-dense — hybrid search with sparse vectors
- Serverless — auto-scaling serverless indexes
Requirements
| Variable | Required | Description |
|---|---|---|
| ✅ | API key/token for Pinecone |
Quick Start
# List indexes python3 {baseDir}/scripts/pinecone.py indexes
# Get index details python3 {baseDir}/scripts/pinecone.py index-get my-index
# Create an index python3 {baseDir}/scripts/pinecone.py index-create '{"name":"my-index","dimension":1536,"metric":"cosine","spec":{"serverless":{"cloud":"aws","region":"us-east-1"}}}'
# Delete an index python3 {baseDir}/scripts/pinecone.py index-delete my-index
Commands
indexes
indexesList indexes.
python3 {baseDir}/scripts/pinecone.py indexes
index-get
index-getGet index details.
python3 {baseDir}/scripts/pinecone.py index-get my-index
index-create
index-createCreate an index.
python3 {baseDir}/scripts/pinecone.py index-create '{"name":"my-index","dimension":1536,"metric":"cosine","spec":{"serverless":{"cloud":"aws","region":"us-east-1"}}}'
index-delete
index-deleteDelete an index.
python3 {baseDir}/scripts/pinecone.py index-delete my-index
upsert
upsertUpsert vectors.
python3 {baseDir}/scripts/pinecone.py upsert --index my-index '{"vectors":[{"id":"vec1","values":[0.1,0.2,...],"metadata":{"text":"hello"}}]}'
query
queryQuery similar vectors.
python3 {baseDir}/scripts/pinecone.py query --index my-index '{"vector":[0.1,0.2,...],"topK":10,"includeMetadata":true}'
fetch
fetchFetch vectors by ID.
python3 {baseDir}/scripts/pinecone.py fetch --index my-index --ids vec1,vec2,vec3
delete
deleteDelete vectors.
python3 {baseDir}/scripts/pinecone.py delete --index my-index --ids vec1,vec2
delete-namespace
delete-namespaceDelete all vectors in namespace.
python3 {baseDir}/scripts/pinecone.py delete-namespace --index my-index --namespace docs
stats
statsGet index statistics.
python3 {baseDir}/scripts/pinecone.py stats --index my-index
collections
collectionsList collections.
python3 {baseDir}/scripts/pinecone.py collections
collection-create
collection-createCreate collection from index.
python3 {baseDir}/scripts/pinecone.py collection-create '{"name":"backup","source":"my-index"}'
namespaces
namespacesList namespaces in index.
python3 {baseDir}/scripts/pinecone.py namespaces --index my-index
Output Format
All commands output JSON by default. Add
--human for readable formatted output.
# JSON (default, for programmatic use) python3 {baseDir}/scripts/pinecone.py indexes --limit 5 # Human-readable python3 {baseDir}/scripts/pinecone.py indexes --limit 5 --human
Script Reference
| Script | Description |
|---|---|
| Main CLI — all Pinecone operations |
Data Policy
This skill never stores data locally. All requests go directly to the Pinecone API and results are returned to stdout. Your data stays on Pinecone servers.
Credits
Built by M. Abidi | agxntsix.ai YouTube | GitHub Part of the AgxntSix Skill Suite for OpenClaw agents.
📅 Need help setting up OpenClaw for your business? Book a free consultation