[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7C400RJD0A5BD848W92H5CZ":3,"skill-same:01M7C400RJD0A5BD848W92H5CZ":72},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":13,"repositoryHtmlUrl":45,"repositoryHomepageUrl":6,"ownerHtmlUrl":46,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":47,"install":48,"resources":61},"01M7C400RJD0A5BD848W92H5CZ","pinecone-research",null,"Agent RAG and long-term memory with Pinecone.","fengwhang\u002Fmercury","fengwhang","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F325040254?v=4","01M7C3K54Y41KVGPHEMKEP9X70","01M7C3K55NTZ4B36YP2JY1NMJ0",0,"MIT","https:\u002F\u002Fgithub.com\u002Ffengwhang\u002Fmercury\u002Fblob\u002Fmain\u002Fhermes\u002Foptional-skills\u002Fresearch\u002Fpinecone-research\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: pinecone-research\ndescription: Agent RAG and long-term memory with Pinecone.\nversion: 1.0.0\nauthor: immuhammadfurqan\nlicense: MIT\ndependencies: [pinecone-client, langchain-pinecone]\nplatforms: [linux, macos, windows]\nmetadata:\n  mercury:\n    tags: [RAG, Pinecone, Memory, Research, Vector Database, Agent, Retrieval]\n\n---\n\n# Pinecone Research — Agent RAG & Long-Term Memory\n\nUse Pinecone as a retrieval-augmented generation (RAG) backend for agent\nconversations: persist embeddings, retrieve relevant context from past\nsessions, and build long-term memory.\n\n## When to use this skill\n\n**Use when:**\n- Building agent RAG pipelines with Pinecone as the vector store\n- Need persistent long-term memory across agent sessions\n- Combining retrieval with agent tool use\n- Researching or prototyping semantic search workflows\n\n**Use the mlops\u002Fpinecone skill instead when:**\n- Need a general Pinecone reference (index management, CRUD, hybrid search)\n- Working on production infrastructure without agent integration\n\n## Quick start\n\n### Setup\n\n```bash\npip install pinecone-client langchain-pinecone langchain-openai\n```\n\nSet your API key:\n```bash\nexport PINECONE_API_KEY=\"your-api-key\"\n```\n\n### Basic RAG pipeline\n\n```python\nfrom pinecone import Pinecone, ServerlessSpec\nfrom langchain_pinecone import PineconeVectorStore\nfrom langchain_openai import OpenAIEmbeddings\n\n# Initialize Pinecone\npc = Pinecone(api_key=os.environ[\"PINECONE_API_KEY\"])\n\n# Create or connect to index\nindex_name = \"agent-memory\"\nif index_name not in [i.name for i in pc.list_indexes()]:\n    pc.create_index(\n        name=index_name,\n        dimension=1536,\n        metric=\"cosine\",\n        spec=ServerlessSpec(cloud=\"aws\", region=\"us-east-1\"),\n    )\n\n# Build vector store\nvectorstore = PineconeVectorStore.from_documents(\n    documents=docs,\n    embedding=OpenAIEmbeddings(),\n    index_name=index_name,\n)\n\n# Retrieve relevant context\nretriever = vectorstore.as_retriever(search_kwargs={\"k\": 5})\nresults = retriever.invoke(\"What did the agent discuss yesterday?\")\n```\n\n### Namespace-based session memory\n\n```python\n# Store per-session memory\nvectorstore = PineconeVectorStore(\n    index=pc.Index(index_name),\n    embedding=OpenAIEmbeddings(),\n    namespace=f\"session-{session_id}\",\n)\n\n# Query across all sessions (no namespace filter)\nall_memory = PineconeVectorStore(\n    index=pc.Index(index_name),\n    embedding=OpenAIEmbeddings(),\n)\nresults = all_memory.similarity_search(\"relevant query\", k=10)\n```\n\n## Best practices\n\n1. **Namespace by session or user** — isolate data for multi-tenant agents\n2. **Batch upserts** — 100–200 vectors per batch for efficiency\n3. **Metadata filtering** — tag vectors with session ID, timestamp, topic\n4. **Prune old memory** — delete stale namespaces to control costs\n5. **Use serverless** — auto-scaling, pay-per-use pricing\n\n## Resources\n\n- **Pinecone Docs**: https:\u002F\u002Fdocs.pinecone.io\n- **LangChain Integration**: https:\u002F\u002Fpython.langchain.com\u002Fdocs\u002Fintegrations\u002Fvectorstores\u002Fpinecone\n- **Free Tier**: 1 index, 100K vectors (1536 dimensions)\n","# Pinecone Research — Agent RAG & Long-Term Memory\n\nUse Pinecone as a retrieval-augmented generation (RAG) backend for agent\nconversations: persist embeddings, retrieve relevant context from past\nsessions, and build long-term memory.\n\n## When to use this skill\n\n**Use when:**\n- Building agent RAG pipelines with Pinecone as the vector store\n- Need persistent long-term memory across agent sessions\n- Combining retrieval with agent tool use\n- Researching or prototyping semantic search workflows\n\n**Use the mlops\u002Fpinecone skill instead when:**\n- Need a general Pinecone reference (index management, CRUD, hybrid search)\n- Working on production infrastructure without agent integration\n\n## Quick start\n\n### Setup\n\n```bash\npip install pinecone-client langchain-pinecone langchain-openai\n```\n\nSet your API key:\n```bash\nexport PINECONE_API_KEY=\"your-api-key\"\n```\n\n### Basic RAG pipeline\n\n```python\nfrom pinecone import Pinecone, ServerlessSpec\nfrom langchain_pinecone import PineconeVectorStore\nfrom langchain_openai import OpenAIEmbeddings\n\n# Initialize Pinecone\npc = Pinecone(api_key=os.environ[\"PINECONE_API_KEY\"])\n\n# Create or connect to index\nindex_name = \"agent-memory\"\nif index_name not in [i.name for i in pc.list_indexes()]:\n    pc.create_index(\n        name=index_name,\n        dimension=1536,\n        metric=\"cosine\",\n        spec=ServerlessSpec(cloud=\"aws\", region=\"us-east-1\"),\n    )\n\n# Build vector store\nvectorstore = PineconeVectorStore.from_documents(\n    documents=docs,\n    embedding=OpenAIEmbeddings(),\n    index_name=index_name,\n)\n\n# Retrieve relevant context\nretriever = vectorstore.as_retriever(search_kwargs={\"k\": 5})\nresults = retriever.invoke(\"What did the agent discuss yesterday?\")\n```\n\n### Namespace-based session memory\n\n```python\n# Store per-session memory\nvectorstore = PineconeVectorStore(\n    index=pc.Index(index_name),\n    embedding=OpenAIEmbeddings(),\n    namespace=f\"session-{session_id}\",\n)\n\n# Query across all sessions (no namespace filter)\nall_memory = PineconeVectorStore(\n    index=pc.Index(index_name),\n    embedding=OpenAIEmbeddings(),\n)\nresults = all_memory.similarity_search(\"relevant query\", k=10)\n```\n\n## Best practices\n\n1. **Namespace by session or user** — isolate data for multi-tenant agents\n2. **Batch upserts** — 100–200 vectors per batch for efficiency\n3. **Metadata filtering** — tag vectors with session ID, timestamp, topic\n4. **Prune old memory** — delete stale namespaces to control costs\n5. **Use serverless** — auto-scaling, pay-per-use pricing\n\n## Resources\n\n- **Pinecone Docs**: https:\u002F\u002Fdocs.pinecone.io\n- **LangChain Integration**: https:\u002F\u002Fpython.langchain.com\u002Fdocs\u002Fintegrations\u002Fvectorstores\u002Fpinecone\n- **Free Tier**: 1 index, 100K vectors (1536 dimensions)\n",{"name":5,"author":23,"license":14,"version":24,"metadata":25,"platforms":35,"description":7,"dependencies":39},"immuhammadfurqan","1.0.0",{"mercury":26},{"tags":27},[28,29,30,31,32,33,34],"RAG","Pinecone","Memory","Research","Vector Database","Agent","Retrieval",[36,37,38],"linux","macos","windows",[40,41],"pinecone-client","langchain-pinecone","main","94a12cab2ce32e2020d179b5d579d0cbcbd0f206","hermes\u002Foptional-skills\u002Fresearch\u002Fpinecone-research","https:\u002F\u002Fgithub.com\u002Ffengwhang\u002Fmercury","https:\u002F\u002Fgithub.com\u002Ffengwhang","2026-10-09 08:26:42",{"source":8,"skillName":5,"commands":49,"prompt":59,"zipAvailable":60},[50,53,56],{"tool":51,"command":52},"npx","npx skills add fengwhang\u002Fmercury --skill pinecone-research",{"tool":54,"command":55},"bunx","bunx skills add fengwhang\u002Fmercury --skill pinecone-research",{"tool":57,"command":58},"pnpm","pnpm dlx skills add fengwhang\u002Fmercury --skill pinecone-research","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ffengwhang\u002Fmercury\u002Fblob\u002Fmain\u002Fhermes\u002Foptional-skills\u002Fresearch\u002Fpinecone-research\u002FSKILL.md",true,[62,68],{"path":63,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":67},"scripts\u002Fmemory_manager.py","SCRIPT","脚本",5360,"https:\u002F\u002Fgithub.com\u002Ffengwhang\u002Fmercury\u002Fblob\u002Fmain\u002Fhermes\u002Foptional-skills\u002Fresearch\u002Fpinecone-research\u002Fscripts\u002Fmemory_manager.py",{"path":69,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":70,"sourceHtmlUrl":71},"scripts\u002Frag_pipeline.py",5374,"https:\u002F\u002Fgithub.com\u002Ffengwhang\u002Fmercury\u002Fblob\u002Fmain\u002Fhermes\u002Foptional-skills\u002Fresearch\u002Fpinecone-research\u002Fscripts\u002Frag_pipeline.py",[73,80,87,94,100,107],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":18},"01M7C4BTY3ND38CN200ZCTH6NV","greet","A greeting skill for testing","https:\u002F\u002Fgithub.com\u002Ffengwhang\u002Fmercury\u002Fblob\u002Fmain\u002Fomp\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Fmarketplace\u002Ffixtures\u002Fvalid-marketplace\u002Fplugins\u002Fhello-plugin\u002Fskills\u002Fgreet\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":18},"01M7C4BSNZTPW8JR5NGCQXGSEZ","valid-skill","A valid skill for testing purposes.","https:\u002F\u002Fgithub.com\u002Ffengwhang\u002Fmercury\u002Fblob\u002Fmain\u002Fomp\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Fvalid-skill\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":18},"01M7C4BRA7J8C06KSVW100F1W1","unknown-field","A skill with an unknown frontmatter field.","https:\u002F\u002Fgithub.com\u002Ffengwhang\u002Fmercury\u002Fblob\u002Fmain\u002Fomp\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Funknown-field\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":18},"01M7C4BNB04KQGCJ835JE8AR13","no-frontmatter","https:\u002F\u002Fgithub.com\u002Ffengwhang\u002Fmercury\u002Fblob\u002Fmain\u002Fomp\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Fno-frontmatter\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":18},"01M7C4BM38TZFYT1AJ6SKHPZZ2","child-skill","A nested skill in a subdirectory.","https:\u002F\u002Fgithub.com\u002Ffengwhang\u002Fmercury\u002Fblob\u002Fmain\u002Fomp\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Fnested\u002Fchild-skill\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":18},"01M7C4BJDN7RFFCM28CGX15Q97","different-name","A skill with a name that doesn't match the directory.","https:\u002F\u002Fgithub.com\u002Ffengwhang\u002Fmercury\u002Fblob\u002Fmain\u002Fomp\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Fname-mismatch\u002FSKILL.md",[],[]]