技能详情(站内镜像,无评论)
许可证:MIT-0
MIT-0 ·免费使用、修改和重新分发。无需归因。
版本:v1.0.0
统计:⭐ 0 · 200 · 6 current installs · 6 all-time installs
⭐ 0
安装量(当前) 6
🛡 VirusTotal :可疑 · OpenClaw :可疑
Package:aiwithabidi/pinecone
安全扫描(ClawHub)
- VirusTotal :可疑
- OpenClaw :可疑
OpenClaw 评估
The skill largely matches a Pinecone CLI, but its runtime script reads a user's local .env/workspace file (not declared in SKILL.md), contains multiple incorrect API method/path usages, and therefore has inconsistencies you should review before installing.
目的
Name, description, and declared PINECONE_API_KEY requirement align with a Pinecone CLI. However, the implementation contains many incorrect HTTP methods/paths (e.g., upsert/query using GET, unusual /index vs /indexes usage) suggesting the code is buggy or not the official Pinecone API shape. These are coherence/quality issues but do not by themselves imply malicious intent.
说明范围
SKILL.md states requests go directly to Pinecone and that nothing is stored locally, but the script will try to read a local .env file at WORKSPACE or ~/.openclaw/workspace/.env to extract PINECONE_API_KEY if the environment variable is absent. That local-file access is not declared in the metadata and is a scope mismatch (it reads user files to obtain credentials).
安装机制
No install spec is provided (instruction-only with an included script). This is low-risk from an installation perspective because nothing arbitrary is downloaded or written by an installer.
证书
The only declared credential is PINECONE_API_KEY, which is appropriate. However, the script also reads WORKSPACE (to locate a .env file) and will parse that file for PINECONE_API_KEY if the env var is missing; those additional environment/config accesses are not declared in requires.env and may expose or depend on local files containing secrets.
持久
The skill does not request always:true, does not modify other skills, and does not attempt to persist or enable itself. It runs as a normal, user-invoked CLI script.
安装(复制给龙虾 AI)
将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。
请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Pinecone」。简介:Pinecone vector database — manage indexes, upsert vectors, query similarity sea…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/aiwithabidi/pinecone/SKILL.md
(来源:yingzhi8.cn 技能库)
SKILL.md
---
name: pinecone
description: "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."
homepage: https://www.agxntsix.ai
license: MIT
compatibility: Python 3.10+ (stdlib only — no dependencies)
metadata: {"openclaw": {"emoji": "🌲", "requires": {"env": ["PINECONE_API_KEY"]}, "primaryEnv": "PINECONE_API_KEY", "homepage": "https://www.agxntsix.ai"}}
---
# 🌲 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 |
|----------|----------|-------------|
| `PINECONE_API_KEY` | ✅ | API key/token for Pinecone |
## Quick Start
```bash
# List indexes
python3 {baseDir}/scripts/pinecone.py indexes
```
```bash
# Get index details
python3 {baseDir}/scripts/pinecone.py index-get my-index
```
```bash
# 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"}}}'
```
```bash
# Delete an index
python3 {baseDir}/scripts/pinecone.py index-delete my-index
```
## Commands
### `indexes`
List indexes.
```bash
python3 {baseDir}/scripts/pinecone.py indexes
```
### `index-get`
Get index details.
```bash
python3 {baseDir}/scripts/pinecone.py index-get my-index
```
### `index-create`
Create an index.
```bash
python3 {baseDir}/scripts/pinecone.py index-create '{"name":"my-index","dimension":1536,"metric":"cosine","spec":{"serverless":{"cloud":"aws","region":"us-east-1"}}}'
```
### `index-delete`
Delete an index.
```bash
python3 {baseDir}/scripts/pinecone.py index-delete my-index
```
### `upsert`
Upsert vectors.
```bash
python3 {baseDir}/scripts/pinecone.py upsert --index my-index '{"vectors":[{"id":"vec1","values":[0.1,0.2,...],"metadata":{"text":"hello"}}]}'
```
### `query`
Query similar vectors.
```bash
python3 {baseDir}/scripts/pinecone.py query --index my-index '{"vector":[0.1,0.2,...],"topK":10,"includeMetadata":true}'
```
### `fetch`
Fetch vectors by ID.
```bash
python3 {baseDir}/scripts/pinecone.py fetch --index my-index --ids vec1,vec2,vec3
```
### `delete`
Delete vectors.
```bash
python3 {baseDir}/scripts/pinecone.py delete --index my-index --ids vec1,vec2
```
### `delete-namespace`
Delete all vectors in namespace.
```bash
python3 {baseDir}/scripts/pinecone.py delete-namespace --index my-index --namespace docs
```
### `stats`
Get index statistics.
```bash
python3 {baseDir}/scripts/pinecone.py stats --index my-index
```
### `collections`
List collections.
```bash
python3 {baseDir}/scripts/pinecone.py collections
```
### `collection-create`
Create collection from index.
```bash
python3 {baseDir}/scripts/pinecone.py collection-create '{"name":"backup","source":"my-index"}'
```
### `namespaces`
List namespaces in index.
```bash
python3 {baseDir}/scripts/pinecone.py namespaces --index my-index
```
## Output Format
All commands output JSON by default. Add `--human` for readable formatted output.
```bash
# 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 |
|--------|-------------|
| `{baseDir}/scripts/pinecone.py` | 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](https://www.linkedin.com/in/mohammad-ali-abidi) | [agxntsix.ai](https://www.agxntsix.ai)
[YouTube](https://youtube.com/@aiwithabidi) | [GitHub](https://github.com/aiwithabidi)
Part of the **AgxntSix Skill Suite** for OpenClaw agents.
📅 **Need help setting up OpenClaw for your business?** [Book a free consultation](https://cal.com/agxntsix/abidi-openclaw)