quickstart
Skill23 starsChanged 9 months agoMITView on GitHub
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 tour of Pinecone's tools.
- Reads credentials
5 other projects use a version of this.
Adopted by
Most recently taken up by
- NangoHQ/skillstheir own version, first seen Aug 20, 2026
- anthropics/defending-code-reference-harnesstheir own version, first seen Jul 16, 2026
- brainsparker/skillstheir own version, first seen May 26, 2026
- databricks/app-templatestheir own version, first seen May 6, 2026
- IdkwhatImD0ing/hackathonstarterkittheir own version, first seen Apr 6, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- anthropics/defending-code-reference-harness★ 7.5ksame name
- databricks/app-templates★ 208same name
- NangoHQ/skills★ 2same name
- brainsparker/skills★ 1same name
- IdkwhatImD0ing/hackathonstarterkit★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
Show its rules and text
We split this skill into the rules it gives an agent
25 rules. 0 are common, 16 are distinctive, and 9 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
16
Distinctive
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Before starting either path, verify the API key works by calling list-indexes via the Pinecone MCP.
- Distinctive: line 22
Ask the user which path they want:
- Distinctive: line 33
Check if MCP is set
- Distinctive: line 34
Create an integrated index with MCP
- Distinctive: line 36
Run a semantic search query and explore further queries
- Distinctive: line 44
If it failed because MCP tools were unavailable (not an auth error):
- Very specific: line 50
Use the MCP create-index-for-model tool to create a serverless index with integrated embeddings:
- Distinctive: line 67
Wait for the index to become ready before proceeding.
- Distinctive: line 71
Run the bundled upsert script to seed the index with sample records.
- Very specific: line 73
If PINECONE_API_KEY is set in the environment:
- Very specific: line 78
If using a .env file:
- Very specific: line 91
Use the MCP search-records tool to run the first semantic search:
- Distinctive: line 109
Offer to explore further: Ask the user if they'd like to try another query to see the effect more clearly:
- Distinctive: line 114
Run whichever query they choose and display the results the same way.
- Distinctive: line 116
If they decline or are done exploring, proceed to Step 5 or offer to skip ahead to the complete script.
- Distinctive: line 120
Ask the user if they want to try reranking.
- Very specific: line 122
If yes, use search-records again with reranking enabled:
- Distinctive: line 137
If yes, copy it to their working directory:
- Very specific: line 145
Run it with: uv run pinecone_quickstart.py
- Very specific: line 157
Before anything else, ask the user if they have files to upload.
- Distinctive: line 159
If they have files: ask for the path and proceed to Step 2.
- Distinctive: line 195
Use the assistant skill to retrieve raw context snippets for custom workflows
- Distinctive: line 196
Every assistant is also an MCP server — see https://docs.pinecone.io/guides/assistant/mcp-server
- Distinctive: line 215
Verify the Pinecone MCP server is configured in your IDE's MCP settings
- Very specific: line 216
Check that PINECONE_API_KEY is set before the MCP server starts
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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.
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:
- Terminal:
export PINECONE_API_KEY="your-key" - Or create a
.envfile in the project root:PINECONE_API_KEY=your-key
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 acategoryfield - This 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 records - Option B:
"wildlife spotting outside"— should surface the nature records - Option 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.py - Run it with:
uv run pinecone_quickstart.py - It uses
uvinline dependencies — no separate install needed - They 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 assistant skills:
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 assistant or run (add --env-file .env if using a .env file):
uv run ../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 assistant or run (add --env-file .env if using a .env file):
uv run ../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 assistant or run (add --env-file .env if using a .env file):
uv run ../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
assistantto keep the assistant up to date as documents change - Use the 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
Terminal environments:
export PINECONE_API_KEY="your-key"IDEs that don't inherit shell variables: create a .env file in the project root:
PINECONE_API_KEY=your-keyThen use uv run --env-file .env when running scripts. Restart your IDE/agent session after setting.
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
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

