cli

cli is a skill for Claude Code, Codex from pinecone-io/gemini-cli-extension. It costs 72 tokens per session (1,471 once invoked), scanned A, a copy of pinecone:cli, MIT.

A command-line tool for managing Pinecone, a hosted database commonly used to search text by meaning. It works with all Pinecone index types and supports vector records and operational tasks.

In plain words
What is it for?
Use it from a terminal or automated workflow to create and manage indexes, add or change records, search, fetch or delete vectors, manage namespaces and backups, and support deployments.
Why use it?
It covers management tasks that the Pinecone connection does not, including standard and sparse indexes, record changes, backups, namespaces, automation, and CI/CD scripts.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it from a terminal or automated workflow to create and manage indexes, add or change records, search, fetch or delete vectors, manage namespaces and backups, and support deployments.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pinecone-io/gemini-cli-extension/cli
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add pinecone-io/gemini-cli-extension --skill cli
Clone the repo
git clone --depth 1 https://github.com/pinecone-io/gemini-cli-extension

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/pinecone-io/gemini-cli-extension/cli/github.svg)](https://agentmods.dev/skills/pinecone-io/gemini-cli-extension/cli)
Your own site
<a href="https://agentmods.dev/skills/pinecone-io/gemini-cli-extension/cli"><img src="https://agentmods.dev/badge/skills/pinecone-io/gemini-cli-extension/cli/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/pinecone-io/gemini-cli-extension/cli"><img src="https://agentmods.dev/badge/skills/pinecone-io/gemini-cli-extension/cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,471 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 95% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00072 $0.01471
Opus 5.5 $0.00029 $0.00588
Sonnet 5.5 $0.00014 $0.00294
Haiku 4.5 $0.00007 $0.00147

Measured 1mo ago against content hash bb54e8fff99b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cli scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

95% identical to pinecone:cli — 4 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/cli/SKILL.md · 156 lines

How it starts

The opening of the file, as written. The whole thing — 156 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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)

brew tap pinecone-io/tap
brew install pinecone-io/tap/pinecone

Other platforms (Linux, Windows) — download from GitHub Releases.

Authenticate

# Interactive (recommended for local dev)
pc login
pc target -o "my-org" -p "my-project"

# Service account (recommended for CI/CD)
pc auth configure --client-id "$PINECONE_CLIENT_ID" --client-secret "$PINECONE_CLIENT_SECRET"

# API key (quick testing)
pc config set-api-key $PINECONE_API_KEY

Check status: pc auth status · pc target --show

Note for agent sessions: If you need to run pc login inside an agent loop, the browser auth link may not surface correctly. It's best to authenticate before starting an agent session. Run pc login in 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:

KEY=$(pc api-key create --name agent-sdk-key --json | jq -r '.value')
export PINECONE_API_KEY="$KEY"

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

Read the full file on GitHub · 156 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 156 lines · 72 tokens per session scan A bb54e8fff99b

Subscribe to this mod's changes

cli is a skill published in the GitHub repository pinecone-io/gemini-cli-extension (23 stars, last pushed 2mo ago), licensed MIT. It adds 72 tokens to every session and 1,471 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 95% identical to pinecone:cli, differing in 4 lines, and is treated as a copy.

Related

Other skills, from other repositories

pinecone:full-text-search

Create, ingest into, and query a Pinecone full-text-search (FTS) document index using the graduated document-schema API (Python SDK 10.0.0, API version 2026-07). Use when the user or agent asks to build a text search index on Pinecone, add dense or sparse vector fields, ingest documents, construct scoreby clauses…

pinecone-io/pinecone-claude-code-plugin · 163 tokens

pinecone:quickstart

Interactive Pinecone quickstart for new developers. Choose between two paths - Database (create an integrated index, upsert data, and query using Pinecone MCP + Python) or Assistant (create a Pinecone Assistant for document Q&A). Use when a user wants to get started with Pinecone for the first time or wants a guided…

pinecone-io/pinecone-claude-code-plugin · 79 tokens

pinecone:cli

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…

pinecone-io/pinecone-claude-code-plugin · 75 tokens

pinecone:mcp

Reference for the Pinecone MCP server tools. Documents all available tools - list-indexes, describe-index, describe-index-stats, create-index-for-model, upsert-records, search-records, cascading-search, and rerank-documents. Use when an agent needs to understand what Pinecone MCP tools are available, how to use them…

pinecone-io/pinecone-claude-code-plugin · 80 tokens

pinecone:help

Overview of all available Pinecone skills and what a user needs to get started. Invoke when a user asks what skills are available, how to get started with Pinecone, or what they need to set up before using any Pinecone skill.

pinecone-io/pinecone-claude-code-plugin · 53 tokens

pinecone-quickstart

Interactive Pinecone quickstart for new developers. Choose between two paths - Database (create an integrated index, upsert data, and query using Pinecone MCP + Python) or Assistant (create a Pinecone Assistant for document Q&A). Use when a user wants to get started with Pinecone for the first time or wants a guided…

pinecone-io/skills · 79 tokens