[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7D4TTZB0BXDN4TG0W27MDW6":3,"skill-same:01M7D4TTZB0BXDN4TG0W27MDW6":45},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7D4TTZB0BXDN4TG0W27MDW6","add-rag-source",null,"Add a new document source into the HybridRetriever knowledge base in agentic-platform.","sm2774us\u002Fagentic-platform","sm2774us","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F2208675?v=4","01M7D4TKFED2FY63WEZZ7B3RMP","Shaikat Majumdar","01M7D4TKG2E10V6X3VNQFTYTES",0,"MIT","https:\u002F\u002Fgithub.com\u002Fsm2774us\u002Fagentic-platform\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fadd-rag-source\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: add-rag-source\ndescription: Add a new document source into the HybridRetriever knowledge base in agentic-platform.\n---\n\n# Add a new RAG data source\n\nUse this when asked to ingest a new document\u002Fknowledge source into the\nretrieval pipeline.\n\n## Steps\n\n1. **Chunk the source** with `chunk_document(doc_id, text, source=..., chunk_size=200, overlap=40)`\n   from `src\u002Fagentic_platform\u002Frag\u002Fpipeline.py`. Keep `chunk_size > overlap`\n   (enforced by a `ValueError` otherwise). Choose a stable, human-readable\n   `doc_id` — it's used as a provenance key.\n\n2. **Index it** via `HybridRetriever.index(chunks)`. If you're wiring a new\n   ingestion path (e.g. reading from a directory, a database, or an API),\n   add it as a method on a small ingestion helper — don't inline file\u002FDB\n   reads inside `AgenticPipeline`. Keep `HybridRetriever` free of any\n   knowledge of *where* text came from; it only knows about `Chunk` objects.\n\n3. **If replacing the embedding backend**: the current `_hash_embedding` in\n   `rag\u002Fpipeline.py` is a deterministic, dependency-free stand-in for a real\n   embedding model. To swap in a real model (OpenAI\u002FVoyage\u002FCohere\n   embeddings), replace `_hash_embedding` and `_tokenize`'s role, but keep\n   the `HybridRetriever` public interface (`index`, `retrieve`, `size`)\n   unchanged so the rest of the codebase (agents, tests) doesn't need to\n   change.\n\n4. **Write tests**:\n   - Unit test that chunking produces the expected chunk count\u002Fboundaries\n     for your new source's typical document length.\n   - Unit or integration test that a representative query against the new\n     source ranks the relevant chunk in the top-k.\n\n5. **Consider retrieval quality**, not just plumbing: if your source has\n   exact-match identifiers (SKUs, ticket IDs, error codes), verify the\n   lexical scoring component (not just dense\u002Fembedding scoring) surfaces\n   them — this is exactly what hybrid retrieval is for.\n\n6. Run `make ci` before considering the task done.\n","# Add a new RAG data source\n\nUse this when asked to ingest a new document\u002Fknowledge source into the\nretrieval pipeline.\n\n## Steps\n\n1. **Chunk the source** with `chunk_document(doc_id, text, source=..., chunk_size=200, overlap=40)`\n   from `src\u002Fagentic_platform\u002Frag\u002Fpipeline.py`. Keep `chunk_size > overlap`\n   (enforced by a `ValueError` otherwise). Choose a stable, human-readable\n   `doc_id` — it's used as a provenance key.\n\n2. **Index it** via `HybridRetriever.index(chunks)`. If you're wiring a new\n   ingestion path (e.g. reading from a directory, a database, or an API),\n   add it as a method on a small ingestion helper — don't inline file\u002FDB\n   reads inside `AgenticPipeline`. Keep `HybridRetriever` free of any\n   knowledge of *where* text came from; it only knows about `Chunk` objects.\n\n3. **If replacing the embedding backend**: the current `_hash_embedding` in\n   `rag\u002Fpipeline.py` is a deterministic, dependency-free stand-in for a real\n   embedding model. To swap in a real model (OpenAI\u002FVoyage\u002FCohere\n   embeddings), replace `_hash_embedding` and `_tokenize`'s role, but keep\n   the `HybridRetriever` public interface (`index`, `retrieve`, `size`)\n   unchanged so the rest of the codebase (agents, tests) doesn't need to\n   change.\n\n4. **Write tests**:\n   - Unit test that chunking produces the expected chunk count\u002Fboundaries\n     for your new source's typical document length.\n   - Unit or integration test that a representative query against the new\n     source ranks the relevant chunk in the top-k.\n\n5. **Consider retrieval quality**, not just plumbing: if your source has\n   exact-match identifiers (SKUs, ticket IDs, error codes), verify the\n   lexical scoring component (not just dense\u002Fembedding scoring) surfaces\n   them — this is exactly what hybrid retrieval is for.\n\n6. Run `make ci` before considering the task done.\n",{"name":5,"description":7},"main","8ca705ded1c3333837f5b517e5d1e68224a68c07",".agents\u002Fskills\u002Fadd-rag-source","https:\u002F\u002Fgithub.com\u002Fsm2774us\u002Fagentic-platform","https:\u002F\u002Fgithub.com\u002Fsm2774us","https:\u002F\u002Fsm2774us.wixsite.com\u002Fsmajumdar","2026-09-21 07:16:18",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add sm2774us\u002Fagentic-platform --skill add-rag-source",{"tool":37,"command":38},"bunx","bunx skills add sm2774us\u002Fagentic-platform --skill add-rag-source",{"tool":40,"command":41},"pnpm","pnpm dlx skills add sm2774us\u002Fagentic-platform --skill add-rag-source","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsm2774us\u002Fagentic-platform\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fadd-rag-source\u002FSKILL.md",true,[],[46,53,58,65,72,77],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":19},"01M7D4VB1HR5JBJ866WZ1EEPE0","write-tests-100-coverage","Write tests that keep agentic-platform at 100% branch coverage without gaming the metric.","https:\u002F\u002Fgithub.com\u002Fsm2774us\u002Fagentic-platform\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwrite-tests-100-coverage\u002FSKILL.md",[],[],{"skillNo":54,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":19},"01M7D4V7EQN21QPVVCREW04TQT","https:\u002F\u002Fgithub.com\u002Fsm2774us\u002Fagentic-platform\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fadd-rag-source\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M7D4V61WG2ZDBQ5BBW5DM8C6","add-fastapi-endpoint","Add a new endpoint to the agentic-platform FastAPI service in src\u002Fagentic_platform\u002Fapi\u002Fmain.py.","https:\u002F\u002Fgithub.com\u002Fsm2774us\u002Fagentic-platform\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fadd-fastapi-endpoint\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7D4V2EVFGMHRWPEHGTHQ42F","add-agent-node","Add a new node (agent role) to the multi-agent SimpleGraph in agentic-platform, with routing and tests.","https:\u002F\u002Fgithub.com\u002Fsm2774us\u002Fagentic-platform\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fadd-agent-node\u002FSKILL.md",[],[],{"skillNo":73,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7D4TYK0M2KFXMD10ZS3MNQN","https:\u002F\u002Fgithub.com\u002Fsm2774us\u002Fagentic-platform\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwrite-tests-100-coverage\u002FSKILL.md",[],[],{"skillNo":78,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7D4TQWM3EYEAPYS827MZNTT","https:\u002F\u002Fgithub.com\u002Fsm2774us\u002Fagentic-platform\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fadd-fastapi-endpoint\u002FSKILL.md",[],[]]