pinecone-io/gemini-cli-extension/cli
Claude Code and agent skill by pinecone-io/gemini-cli-extension
- community
Checking that the SKILL.md file is still in the repository.
Guide for using the Pinecone CLI (pc) to manage Pinecone resources from the terminal. The CLI supports ALL index types (standard, integrated, sparse) and all vector operations — unlike the MCP which only supports integrated indexes. Use for batch operations, vector management, backups, namespaces, CI/CD automation, and full control over Pinecone resources.
Install
npx vskill@latest install pinecone-io/gemini-cli-extension/cliSKILL.md
Pinecone CLI (pc)
Manage Pinecone from the terminal. The CLI is especially valuable for vector operations across all index types — something the MCP currently can't do.
CLI vs MCP
| CLI | MCP | ||
|---|---|---|---|
| Index types | All (standard, integrated, sparse) | Integrated only | |
| Vector ops (upsert, query, fetch, update, delete) | ✅ | ❌ | |
| Text search on integrated indexes | ✅ | ✅ | |
| Backups, namespaces, org/project mgmt | ✅ | ❌ | |
| CI/CD / scripting | ✅ | ❌ |
Setup
Install (macOS)
Other platforms (Linux, Windows) — download from GitHub Releases.
Authenticate
Check status: pc auth status · pc target --show
Note for agent sessions: If you need to runpc logininside an agent loop, the browser auth link may not surface correctly. It's best to authenticate before starting an agent session. Runpc loginin your terminal directly, then invoke the agent once you're authenticated.
Authenticating the CLI does not set PINECONE_API_KEY
pc login authenticates the CLI tool itself — it does not set PINECONE_API_KEY in your environment. Python scripts, Node.js SDKs, and other tools that use the Pinecone SDK need PINECONE_API_KEY set separately.
Use the CLI to create a key and export it in one step:
Without jq: run pc api-key create --name agent-sdk-key --json and copy the "value" field manually.
Common Commands
| Task | Command | |
|---|---|---|
| List indexes | pc index list | |
| Create serverless index | pc index create -n my-index -d 1536 -m cosine -c aws -r us-east-1 | |
| Index stats | pc index stats -n my-index | |
| Upload vectors from file | pc index vector upsert -n my-index --file ./vectors.json | |
| Query by vector | pc index vector query -n my-index --vector '[0.1, ...]' -k 10 --include-metadata | |
| Query by vector ID | pc index vector query -n my-index --id "doc-123" -k 10 | |
| Fetch vectors by ID | pc index vector fetch -n my-index --ids '["vec1","vec2"]' | |
| List vector IDs | pc index vector list -n my-index | |
| Delete vectors by filter | pc index vector delete -n my-index --filter '{"genre":"classical"}' | |
| List namespaces | pc index namespace list -n my-index | |
| Create backup | pc backup create -i my-index -n "my-backup" | |
| JSON output (for scripting) | Add -j to any command |
Interesting Things You Can Do
Query with custom vectors (not just text)
Unlike the MCP, the CLI lets you query any index with raw vector values — useful when you generate embeddings externally (OpenAI, HuggingFace, etc.):
Pipe embeddings directly into queries
Bulk metadata update with preview
Backup and restore
Automate in CI/CD
Script against JSON output
Reference Files
- Full command reference — all commands with flags and examples
- Troubleshooting & best practices
Documentation
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/cli/SKILL.md
Popularity
- Repository stars
- 23
- Repository forks
- 2
- 7-day trend score
- 16
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/pinecone-io/gemini-cli-extension/cli)