pinecone

pinecone is a skill for Claude Code, Codex from ihatesea69/HieuNghi-AI-Skills. It costs 63 tokens per session (2,159 once invoked), scanned A, a copy of rag-pinecone, MIT.

A managed vector database for storing numerical representations of text or other data and finding similar items. It supports metadata filters, combined vector searches, namespaces, and automatic scaling for production AI systems.

In plain words
What is it for?
Use it to store embeddings, search them by similarity, filter results by metadata, and build production RAG or recommendation systems.
Why use it?
It removes much of the work of running database infrastructure for semantic search, retrieval-augmented generation (RAG), and recommendations.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it to store embeddings, search them by similarity, filter results by metadata, and build production RAG or recommendation systems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ihatesea69/hieunghi-ai-skills/pinecone
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 ihatesea69/HieuNghi-AI-Skills --skill pinecone
Clone the repo
git clone --depth 1 https://github.com/ihatesea69/HieuNghi-AI-Skills

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 pinecone

README.md
[![agentmods](https://agentmods.dev/badge/skills/ihatesea69/hieunghi-ai-skills/pinecone/github.svg)](https://agentmods.dev/skills/ihatesea69/hieunghi-ai-skills/pinecone)
Your own site
<a href="https://agentmods.dev/skills/ihatesea69/hieunghi-ai-skills/pinecone"><img src="https://agentmods.dev/badge/skills/ihatesea69/hieunghi-ai-skills/pinecone/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 pinecone

Your own site · 80×15
<a href="https://agentmods.dev/skills/ihatesea69/hieunghi-ai-skills/pinecone"><img src="https://agentmods.dev/badge/skills/ihatesea69/hieunghi-ai-skills/pinecone.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,159 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 100% 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.00063 $0.02159
Opus 5.5 $0.00025 $0.00864
Sonnet 5.5 $0.00013 $0.00432
Haiku 4.5 $0.00006 $0.00216

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

Security

Grade A, and why

pinecone 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 2mo 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

100% identical to rag-pinecone — 11 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.

airesearch_skills/15-rag/pinecone/SKILL.md · 359 lines

How it starts

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

Pinecone - Managed Vector Database

The vector database for production AI applications.

When to use Pinecone

Use when:

  • Need managed, serverless vector database
  • Production RAG applications
  • Auto-scaling required
  • Low latency critical (<100ms)
  • Don't want to manage infrastructure
  • Need hybrid search (dense + sparse vectors)

Metrics:

  • Fully managed SaaS
  • Auto-scales to billions of vectors
  • p95 latency <100ms
  • 99.9% uptime SLA

Use alternatives instead:

  • Chroma: Self-hosted, open-source
  • FAISS: Offline, pure similarity search
  • Weaviate: Self-hosted with more features

Quick start

Installation

pip install pinecone-client

Basic usage

from pinecone import Pinecone, ServerlessSpec

# Initialize
pc = Pinecone(api_key="your-api-key")

# Create index
pc.create_index(
    name="my-index",
    dimension=1536,  # Must match embedding dimension
    metric="cosine",  # or "euclidean", "dotproduct"
    spec=ServerlessSpec(cloud="aws", region="us-east-1")
)

# Connect to index
index = pc.Index("my-index")

# Upsert vectors
index.upsert(vectors=[
    {"id": "vec1", "values": [0.1, 0.2, ...], "metadata": {"category": "A"}},
    {"id": "vec2", "values": [0.3, 0.4, ...], "metadata": {"category": "B"}}
])

# Query
results = index.query(
    vector=[0.1, 0.2, ...],
    top_k=5,
    include_metadata=True
)

print(results["matches"])

Core operations

Create index

# Serverless (recommended)
pc.create_index(
    name="my-index",
    dimension=1536,
    metric="cosine",
    spec=ServerlessSpec(
        cloud="aws",         # or "gcp", "azure"
        region="us-east-1"
    )
)

# Pod-based (for consistent performance)
from pinecone import PodSpec

pc.create_index(
    name="my-index",
    dimension=1536,
    metric="cosine",
    spec=PodSpec(
        environment="us-east1-gcp",
        pod_type="p1.x1"
    )
)

Upsert vectors

# Single upsert
index.upsert(vectors=[
    {
        "id": "doc1",
        "values": [0.1, 0.2, ...],  # 1536 dimensions
        "metadata": {
            "text": "Document content",
            "category": "tutorial",
            "timestamp": "2025-01-01"
        }
    }
])

# Batch upsert (recommended)
vectors = [
    {"id": f"vec{i}", "values": embedding, "metadata": metadata}
    for i, (embedding, metadata) in enumerate(zip(embeddings, metadatas))
]

index.upsert(vectors=vectors, batch_size=100)

Read the full file on GitHub · 359 lines

Files

What ships with it

1 file 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. 2mo ago First seen · 359 lines · 63 tokens per session scan A 69b0566e8d74

Subscribe to this mod's changes

pinecone is a skill published in the GitHub repository ihatesea69/HieuNghi-AI-Skills (3 stars, last pushed 9mo ago), licensed MIT. It adds 63 tokens to every session and 2,159 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to rag-pinecone, differing in 11 lines, and is treated as a copy.

Related

pinecone compared with skills from other repositories

pinecone next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pineconeihatesea69/HieuNghi-AI-SkillsSkill39mo agoMITA63Claude Code, Codex
pineconesynthetic-sciences/openscienceSkill4.5ktodayApache-2.0A63Claude Code, Codex
pineconeliortesta/ClawdAgentSkill123mo agoApache-2.0A63Claude Code
pineconeOrchestra-Research/AI-Research-SKILLsSkill15k1mo agoMITA63Claude Code
vector-databasesLuuOW/meridian-mcpSkill01mo agoMITA71Claude Code, Codex
pinecone:full-text-searchpinecone-io/pinecone-claude-code-pluginSkill6919d agoMITA180Claude Code
pinecone:quickstartpinecone-io/pinecone-claude-code-pluginSkill6919d agoMITA94Claude Code