Pinecone Quickstart
PineconeOfficialPublished by Pinecone
- Skill
- Workflow
- Data and AI
- MIT
- Low risk
- Has scripts
AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
The Pinecone Quickstart skill provides a structured, interactive onboarding experience for new users. It offers two distinct paths: a Database path for building vector search indexes with integrated embeddings, and an Assistant path for creating document-based Q&A systems. The skill guides users through setup, data ingestion, and querying, while providing optional scripts for automation and further exploration.
What it does
- Verifies Pinecone API key and MCP server configuration.
- Guides users through creating an integrated vector index.
- Automates the upsertion of sample data for semantic search testing.
- Demonstrates semantic search queries and optional reranking.
- Facilitates the creation of a document-based RAG assistant.
- Provides a standalone Python script for end-to-end workflow execution.
When to use it
- When you are a new developer looking to get started with Pinecone.
- When you need a guided tour of Pinecone's vector search capabilities.
- When you want to build a document Q&A assistant without manual indexing.
- When you need to test semantic search using sample data.
Advantages
- Provides a clear, step-by-step path for different use cases.
- Includes automated scripts to reduce manual setup effort.
- Offers hands-on experience with Pinecone MCP tools.
- Supports both technical (database) and high-level (assistant) workflows.
Usage examples
- “I want to get started with Pinecone, what should I do?”
- The agent will initiate the quickstart flow, verify your API key, and ask you to choose between the Database or Assistant paths.
- “Help me build a vector search index.”
- The agent will guide you through the Database path, including creating an integrated index and running semantic search queries.
- “I need to create an assistant for my documents.”
- The agent will guide you through the Assistant path, helping you upload files and chat with your data.
Install
Download the skill as a ZIP:
https://mp-staging.autogineer.com/agent-skills/pinecone-io/pinecone-quickstart/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip pinecone-quickstart.zip -d .agents/skills
Documentation by Pinecone
Pinecone Quickstart
Welcome! This skill walks you through your first Pinecone experience using the tools available to you. In this quickstart, you will learn how to do a simple form of semantic search over some example data.
<<clarify_style>>
Prerequisites
Before starting either path, verify the API key works by calling list-indexes via the Pinecone MCP. If it succeeds, proceed. If it fails, ask the user to set their key:
<<api_key_setup>>
Then retry list-indexes to confirm.
Step 0: Choose Your Path
Ask the user which path they want:
Database – Build a vector search index. Best for developers who want to store and search embeddings. Uses the Pinecone MCP + a Python upsert script.
Assistant – Build a document Q&A assistant. Best for users who want to upload files and ask questions with cited answers. No code required.
Path A: Database Quickstart
For each step, explain to the user what will happen. An overview is here:
Check if MCP is set
Create an integrated index with MCP
Upsert sample data using the bundled script (9 sentences across productivity, health, and nature themes)
Run a semantic search query and explore further queries
Optionally try reranking
Offer the complete standalone script
Step 1 – Verify MCP is Available
The prerequisite check already called list-indexes. If it succeeded, the MCP is working — proceed to Step 2.
If it failed because MCP tools were unavailable (not an auth error):
Tell the user the MCP server needs to be configured
Point them to: https://docs.pinecone.io/reference/tools/mcp
Step 2 – Create an Integrated Index
Use the MCP create-index-for-model tool to create a serverless index with integrated embeddings:
name: quickstart-skills
cloud: aws
region: us-east-1
embed:
model: llama-text-embed-v2
fieldMap:
text: chunk_textExplain to the user what's happening:
An integrated index uses a built-in Pinecone embedding model (
llama-text-embed-v2)This means you send plain text and Pinecone handles the embedding automatically
The
field_maptells Pinecone which field in your records contains the text to embed
Wait for the index to become ready before proceeding. Waiting a few seconds is sufficient.
Step 3 – Upsert Sample Data
Run the bundled upsert script to seed the index with sample records.
If PINECONE_API_KEY is set in the environment:
uv run scripts/upsert.py --index quickstart-skillsIf using a .env file:
uv run --env-file .env scripts/upsert.py --index quickstart-skillsExplain to the user what's happening:
The script uploads 9 sample records across three themes: productivity (getting work done), health (feeling unwell), and nature (outdoors/wildlife)
The dataset is intentionally varied so semantic search can show its value — the queries below use completely different words than the records, but the right ones still surface
Each record has an
_id, achunk_textfield (the text that gets embedded), and acategoryfieldThis is the same structure you'd use for your own data — just replace the records
Step 4 – Query with the MCP
Use the MCP search-records tool to run the first semantic search:
index: quickstart-skills
namespace: example-namespace
query:
topK: 3
inputs:
text: "getting things done efficiently"Display the results in a clean table: ID, score, and chunk_text.
Explain to the user what's happening:
Notice the query shares no keywords with the records — but it surfaces the productivity sentences
That's semantic search: it finds meaning, not just matching words
You sent plain text — Pinecone embedded the query using the same model as the index
Offer to explore further: Ask the user if they'd like to try another query to see the effect more clearly:
Option A:
"feeling under the weather"— should surface the health recordsOption B:
"wildlife spotting outside"— should surface the nature recordsOption C: No thanks, move on
Run whichever query they choose and display the results the same way. If they want to try both, do both. After each result, point out which theme surfaced and why.
If they decline or are done exploring, proceed to Step 5 or offer to skip ahead to the complete script.
Step 5 – Try Reranking (Optional)
Ask the user if they want to try reranking.
If yes, use search-records again with reranking enabled:
rerank:
model: bge-reranker-v2-m3
rankFields: [chunk_text]
topN: 3Explain: Reranking runs a second-pass model over the results to improve relevance ordering.
Step 6 – Wrap Up
Congratulate the user on completing the quickstart. Ask if they'd like a standalone Python script that does everything in one go — create index, upsert, query, and rerank.
If yes, copy it to their working directory:
cp scripts/quickstart_complete.py ./pinecone_quickstart.pyTell the user:
The script is at
./pinecone_quickstart.pyRun it with:
uv run pinecone_quickstart.pyIt uses
uvinline dependencies — no separate install neededThey can swap in their own
recordslist to build something real
Path B: Assistant Quickstart
Guide the user through the Pinecone Assistant workflow using the existing pinecone-assistant skill:
Step 1 – Check for Documents
Before anything else, ask the user if they have files to upload. Pinecone Assistant accepts .pdf, .md, .txt, and .docx files — a single file or a folder of files both work.
If they have files: ask for the path and proceed to Step 2.
If they don't have files: offer two options:
Generate sample docs — create a few short markdown files in
./sample-docs/so they can complete the quickstart right now. Ask what topics they'd like (or default to: a product FAQ, a short how-to guide, and a brief company overview). Write 3 files, each 150–250 words.Come back later — let them know they can return once they have documents and pick up from Step 2.
Step 2 – Create an Assistant
Invoke pinecone-assistant or run (add --env-file .env if using a .env file):
uv run ../pinecone-assistant/scripts/create.py --name my-assistantExplain: The assistant is a fully managed RAG service — upload documents, ask questions, get cited answers.
Step 3 – Upload Documents
Invoke pinecone-assistant or run (add --env-file .env if using a .env file):
uv run ../pinecone-assistant/scripts/upload.py --assistant my-assistant --source ./your-docsExplain: Pinecone handles chunking, embedding, and indexing automatically — no configuration needed.
Step 4 – Chat with the Assistant
Invoke pinecone-assistant or run (add --env-file .env if using a .env file):
uv run ../pinecone-assistant/scripts/chat.py --assistant my-assistant --message "What are the main topics in these documents?"Explain: Responses include citations with source file and page number.
Next Steps for Assistant
Invoke
pinecone-assistantto keep the assistant up to date as documents changeUse the pinecone-assistant skill to retrieve raw context snippets for custom workflows
Every assistant is also an MCP server — see https://docs.pinecone.io/guides/assistant/mcp-server
Troubleshooting
PINECONE_API_KEY not set
<<api_key_setup>>
Restart your IDE or agent session after setting the key.
MCP tools not available
Verify the Pinecone MCP server is configured in your IDE's MCP settings
Check that
PINECONE_API_KEYis set before the MCP server starts
Index already exists
The upsert script is safe to re-run — it will upsert over existing records
Or delete and recreate: use
pc index delete -n quickstart-skillsvia the CLI
uv not installed
See the uv installation guide.
Further Reading
Quickstart docs: https://docs.pinecone.io/guides/get-started/quickstart
Integrated indexes: https://docs.pinecone.io/guides/index-data/create-an-index
Python SDK: https://docs.pinecone.io/guides/get-started/python-sdk
MCP server: https://docs.pinecone.io/reference/tools/mcp
Files
- ATTRIBUTION.mdAdded by AutoGineer867 B
- LICENSELicence file added by AutoGineer1.0 KiB
- SKILL.md8.5 KiB
- scripts/quickstart_complete.pyScript3.1 KiB
- scripts/upsert.pyScript2.2 KiB
SKILL.md
Pinecone Quickstart
Welcome! This skill walks you through your first Pinecone experience using the tools available to you. In this quickstart, you will learn how to do a simple form of semantic search over some example data.
<<clarify_style>>
Prerequisites
Before starting either path, verify the API key works by calling list-indexes via the Pinecone MCP. If it succeeds, proceed. If it fails, ask the user to set their key:
<<api_key_setup>>
Then retry list-indexes to confirm.
Step 0: Choose Your Path
Ask the user which path they want:
Database – Build a vector search index. Best for developers who want to store and search embeddings. Uses the Pinecone MCP + a Python upsert script.
Assistant – Build a document Q&A assistant. Best for users who want to upload files and ask questions with cited answers. No code required.
Path A: Database Quickstart
For each step, explain to the user what will happen. An overview is here:
Check if MCP is set
Create an integrated index with MCP
Upsert sample data using the bundled script (9 sentences across productivity, health, and nature themes)
Run a semantic search query and explore further queries
Optionally try reranking
Offer the complete standalone script
Step 1 – Verify MCP is Available
The prerequisite check already called list-indexes. If it succeeded, the MCP is working — proceed to Step 2.
If it failed because MCP tools were unavailable (not an auth error):
Tell the user the MCP server needs to be configured
Point them to: https://docs.pinecone.io/reference/tools/mcp
Step 2 – Create an Integrated Index
Use the MCP create-index-for-model tool to create a serverless index with integrated embeddings:
name: quickstart-skills
cloud: aws
region: us-east-1
embed:
model: llama-text-embed-v2
fieldMap:
text: chunk_textExplain to the user what's happening:
An integrated index uses a built-in Pinecone embedding model (
llama-text-embed-v2)This means you send plain text and Pinecone handles the embedding automatically
The
field_maptells Pinecone which field in your records contains the text to embed
Wait for the index to become ready before proceeding. Waiting a few seconds is sufficient.
Step 3 – Upsert Sample Data
Run the bundled upsert script to seed the index with sample records.
If PINECONE_API_KEY is set in the environment:
uv run scripts/upsert.py --index quickstart-skillsIf using a .env file:
uv run --env-file .env scripts/upsert.py --index quickstart-skillsExplain to the user what's happening:
The script uploads 9 sample records across three themes: productivity (getting work done), health (feeling unwell), and nature (outdoors/wildlife)
The dataset is intentionally varied so semantic search can show its value — the queries below use completely different words than the records, but the right ones still surface
Each record has an
_id, achunk_textfield (the text that gets embedded), and acategoryfieldThis is the same structure you'd use for your own data — just replace the records
Step 4 – Query with the MCP
Use the MCP search-records tool to run the first semantic search:
index: quickstart-skills
namespace: example-namespace
query:
topK: 3
inputs:
text: "getting things done efficiently"Display the results in a clean table: ID, score, and chunk_text.
Explain to the user what's happening:
Notice the query shares no keywords with the records — but it surfaces the productivity sentences
That's semantic search: it finds meaning, not just matching words
You sent plain text — Pinecone embedded the query using the same model as the index
Offer to explore further: Ask the user if they'd like to try another query to see the effect more clearly:
Option A:
"feeling under the weather"— should surface the health recordsOption B:
"wildlife spotting outside"— should surface the nature recordsOption C: No thanks, move on
Run whichever query they choose and display the results the same way. If they want to try both, do both. After each result, point out which theme surfaced and why.
If they decline or are done exploring, proceed to Step 5 or offer to skip ahead to the complete script.
Step 5 – Try Reranking (Optional)
Ask the user if they want to try reranking.
If yes, use search-records again with reranking enabled:
rerank:
model: bge-reranker-v2-m3
rankFields: [chunk_text]
topN: 3Explain: Reranking runs a second-pass model over the results to improve relevance ordering.
Step 6 – Wrap Up
Congratulate the user on completing the quickstart. Ask if they'd like a standalone Python script that does everything in one go — create index, upsert, query, and rerank.
If yes, copy it to their working directory:
cp scripts/quickstart_complete.py ./pinecone_quickstart.pyTell the user:
The script is at
./pinecone_quickstart.pyRun it with:
uv run pinecone_quickstart.pyIt uses
uvinline dependencies — no separate install neededThey can swap in their own
recordslist to build something real
Path B: Assistant Quickstart
Guide the user through the Pinecone Assistant workflow using the existing pinecone-assistant skill:
Step 1 – Check for Documents
Before anything else, ask the user if they have files to upload. Pinecone Assistant accepts .pdf, .md, .txt, and .docx files — a single file or a folder of files both work.
If they have files: ask for the path and proceed to Step 2.
If they don't have files: offer two options:
Generate sample docs — create a few short markdown files in
./sample-docs/so they can complete the quickstart right now. Ask what topics they'd like (or default to: a product FAQ, a short how-to guide, and a brief company overview). Write 3 files, each 150–250 words.Come back later — let them know they can return once they have documents and pick up from Step 2.
Step 2 – Create an Assistant
Invoke pinecone-assistant or run (add --env-file .env if using a .env file):
uv run ../pinecone-assistant/scripts/create.py --name my-assistantExplain: The assistant is a fully managed RAG service — upload documents, ask questions, get cited answers.
Step 3 – Upload Documents
Invoke pinecone-assistant or run (add --env-file .env if using a .env file):
uv run ../pinecone-assistant/scripts/upload.py --assistant my-assistant --source ./your-docsExplain: Pinecone handles chunking, embedding, and indexing automatically — no configuration needed.
Step 4 – Chat with the Assistant
Invoke pinecone-assistant or run (add --env-file .env if using a .env file):
uv run ../pinecone-assistant/scripts/chat.py --assistant my-assistant --message "What are the main topics in these documents?"Explain: Responses include citations with source file and page number.
Next Steps for Assistant
Invoke
pinecone-assistantto keep the assistant up to date as documents changeUse the pinecone-assistant skill to retrieve raw context snippets for custom workflows
Every assistant is also an MCP server — see https://docs.pinecone.io/guides/assistant/mcp-server
Troubleshooting
PINECONE_API_KEY not set
<<api_key_setup>>
Restart your IDE or agent session after setting the key.
MCP tools not available
Verify the Pinecone MCP server is configured in your IDE's MCP settings
Check that
PINECONE_API_KEYis set before the MCP server starts
Index already exists
The upsert script is safe to re-run — it will upsert over existing records
Or delete and recreate: use
pc index delete -n quickstart-skillsvia the CLI
uv not installed
See the uv installation guide.
Further Reading
Quickstart docs: https://docs.pinecone.io/guides/get-started/quickstart
Integrated indexes: https://docs.pinecone.io/guides/index-data/create-an-index
Python SDK: https://docs.pinecone.io/guides/get-started/python-sdk
MCP server: https://docs.pinecone.io/reference/tools/mcp
Requirements and compatibility
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
Needs: Needs an MCP server, Needs an API key, Needs Python
Security
What our scanner noticed· Low risk
- Scripts that your agent may run
This skill includes scripts that your agent may run. Read them before you use it.
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- Published by
- Pinecone
- Publisher
- Pinecone (Official)
- Source
- pinecone-io/skills · skills/pinecone-quickstart · commit 885dc53
- Licence
- MIT License (redistribution allowed)
- LICENSE (added by AutoGineer from LICENSE)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
AutoGineer is not affiliated with or endorsed by Pinecone.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download pinecone-quickstart.zip