[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79HSC2ZG7W2VG71TCEGF7WP":3,"skill-same:01M79HSC2ZG7W2VG71TCEGF7WP":66},{"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":28,"commitSha":29,"skillDirectory":30,"forksCount":14,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":33,"install":34,"resources":47},"01M79HSC2ZG7W2VG71TCEGF7WP","mongodb-query-optimizer",null,"Help with MongoDB query optimization and indexing. Use only when the user asks for optimization or performance: \"How do I optimize this query?\", \"How do I index this?\", \"Why is this query slow?\", \"Can you fix my slow queries?\", \"What are the slow queries on my cluster?\", etc. Do not invoke for general MongoDB query writing unless user asks for performance or index help. Prefer indexing as optimization strategy. Use MongoDB MCP when available.","TinhAnhGitHub\u002Fdotfiles","TinhAnhGitHub","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F120301674?v=4","01M79HBSJDQR2K995751YCVA6Z","Tinh Anh","01M79HBSK2A9425SRS875ZBDWC",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FTinhAnhGitHub\u002Fdotfiles\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fframework\u002Fmongodb\u002Fquery-optimizer\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: mongodb-query-optimizer\nparent: mongodb\ndescription: >-\n  Help with MongoDB query optimization and indexing. Use only when the user asks for optimization or performance: \"How do I optimize this query?\", \"How do I index this?\", \"Why is this query slow?\", \"Can you fix my slow queries?\", \"What are the slow queries on my cluster?\", etc. Do not invoke for general MongoDB query writing unless user asks for performance or index help. Prefer indexing as optimization strategy. Use MongoDB MCP when available.\ncompatibility: >-\n  Best with MongoDB MCP server. Uses collection-indexes and explain when the connection string works; uses Atlas Performance Advisor when Atlas API is configured. Without either, suggest indexes from query shape only. User creates indexes in Atlas or migrations unless tooling allows otherwise.\nlicense: Apache-2.0\nmetadata:\n  version: \"1.0.0\"\n---\n\n# MongoDB Query Optimizer\n\n## When this skill is invoked\n\nInvoke **only** when the user wants:\n\n- Query\u002Findex **optimization** or **performance** help  \n- **Why** a query is slow or **how to speed it up**  \n- **Slow queries** on their cluster and\u002For **how to optimize them**\n\nDo **not** invoke for routine query authoring unless the user has requested help with optimization, slow queries, or indexing.\n\n## High Level Workflow\n\n### General Performance Help\n\nIf the user wants to examine slow queries, or is looking for general performance suggestions (not regarding any particular query):\n\n- Use MongoDB MCP server **atlas-get-performance-advisor** tool to fetch slow query logs and performance advisor output  \n- Make suggestions based on this information\n\nIf Atlas MCP Server for Atlas is not configured or you don’t have enough information to run **atlas-get-performance-advisor** against the correct cluster, tell the user that general performance analysis requires Atlas MCP Server configuration with API credentials, and suggest they configure it or ask about a specific query instead.\n\n### Help with a Specific Query\n\nIf the user is asking about a particular query:\n\n- Use **collection-indexes**, **explain**, and **find** MCP tools to get existing indexes on the collection, explain() output for the query, and a sample document from the collection  \n- Use **atlas-get-performance-advisor MCP** tool to fetch slow query logs and performance advisor output\n\nThen make an optimization suggestion based on collected information and MongoDB best practices and examples from reference files. Prefer creating an index that fully covers the query if possible. If you cannot use MongoDB MCP Server then still try to make a suggestion.\n\n## MCP: available tools\n\n**How to invoke.** Call the **MongoDB MCP server** with the **exact tool name** as `toolName` and a single **arguments object** as `arguments`. Do not pass the tool name as an option, query param, or nested key; pass it as the MCP tool name and the parameters as the arguments object. Full MCP Server tool reference: [MongoDB MCP Server Tools](https:\u002F\u002Fwww.mongodb.com\u002Fdocs\u002Fmcp-server\u002Ftools\u002F).\n\n**Database tools** (when the MCP cluster connection works):\n\n| Tool name (exact) | Arguments object |\n| :---- | :---- |\n| `collection-indexes` | `{ \"database\": \"\u003Cdb>\", \"collection\": \"\u003Ccoll>\" }` — both required strings. |\n| `explain` | `{ \"database\": \"\u003Cdb>\", \"collection\": \"\u003Ccoll>\", \"method\": [ { \"name\": \"find\", \"arguments\": { \"filter\": {...}, \"sort\": {...}, \"limit\": N } } ], \"verbosity\": \"executionStats\" }`. `method` is an array of one object: `name` is `\"find\"`, `\"aggregate\"`, or `\"count\"`; `arguments` holds that method's params (e.g. find: `filter`, `sort`, `limit`; aggregate: `pipeline`; count: `query`). Optional `verbosity`: `\"queryPlanner\"` (default), `\"executionStats\"`, `\"queryPlannerExtended\"`, `\"allPlansExecution\"`. |\n| `find` |  `{ \"database\": \"\u003Cdb>\", \"collection\": \"\u003Ccoll>\", \"filter\": {...}, \"projection\": {...}, \"sort\": {...}, \"limit\": N }` — `database`, `collection`, and `filter` are required. Optional: `projection`, `sort`, `limit`. |\n\n**Atlas tools** (when Atlas API credentials are configured):\n\n| Tool name (exact) | Arguments object |\n| :---- | :---- |\n| `atlas-list-projects` | `{}` or `{ \"orgId\": \"\u003C24-char hex>\" }`. Returns projects with their IDs; use to get `projectId` for Performance Advisor. |\n| `atlas-get-performance-advisor` | **Required:** `\"projectId\"` (24-character hex string), `\"clusterName\"` (string, 1–64 chars, alphanumeric\u002Funderscore\u002Fdash). **Optional:** `\"operations\"` — array of strings from `\"suggestedIndexes\"`, `\"dropIndexSuggestions\"`, `\"slowQueryLogs\"`, `\"schemaSuggestions\"` (request only what you need); for slowQueryLogs only: `\"since\"` (ISO 8601 date-time), `\"namespaces\"` (array of `\"db.coll\"` strings). |\n\nFor a user question, try to fetch information from both the connection string and Atlas API related to the query you are optimizing.\n\n### 1\\. DB connection string works for MongoDB MCP\n\nTypical flow: call `collection-indexes` → `explain` → `find` (sample doc).\n\n- **`collection-indexes`** — Use the result's `classicIndexes` (each has `name`, `key`) to see if the query can already use an existing index.\n- **`explain`** — Run in `\"queryPlanner\"` mode first to check for COLLSCAN. If the query uses an index or the collection is very small, run again with `\"executionStats\"` (10-second timeout) to get docs scanned vs. returned.\n\n### 2\\. Atlas API access works for MongoDB MCP\n\nIf you need a project ID, call `atlas-list-projects` first. Then call `atlas-get-performance-advisor` with only the `operations` you need:\n\n| Operation value | Use when |\n| :---- | :---- |\n| `slowQueryLogs` | Fetching slow queries—**prioritize by slowest and most frequent**. Optional: `namespaces` to scope to a collection; `since` for a time window. |\n| `suggestedIndexes` | Fetching cluster index recommendations |\n| `dropIndexSuggestions` | User asks what to remove or reduce index overhead |\n| `schemaSuggestions` | User asks for schema\u002Fquery-structure advice alongside indexes |\n\nDo not pass the MCP tool name as an `operations` value—`operations` is a separate argument listing what data to fetch.\n\n## Example workflow 1 (help with specific query)\n\n**User:** \"Why is this query slow? `db.orders.find({status: 'shipped', region: 'US'}).sort({date: -1})`\"\n\n**If MCP db connection is configured and the database + collection names are known**, run steps 1–3. Otherwise skip to step 4.\n\n1. **Check existing collection indexes:**\n   - Call `collection-indexes` with database=`store`, collection=`orders`\n   - Result shows: `{_id: 1}`, `{status: 1}`, `{date: -1}`\n\n2. **Run explain:**\n   - Call `explain` with method=`find`, filter=`{status: 'shipped', region: 'US'}`, sort=`{date: -1}`, verbosity=`queryPlanner` and `executionStats`\n   - Result: Uses `{status: 1}` index, then in-memory SORT, `totalKeysExamined: 50000`, `nReturned: 100`\n\n3. **Run find:**\n   - Call `find` with limit=1 to fetch a sample document to impute the schema.\n\n**If MCP Atlas connection is configured**, run step 4. Otherwise skip to step 5.\n\n4. **Run atlas-get-performance-advisor:**\n   - Try to get the cluster name from the MCP connection string, or ask the user for projectId\u002FclusterName\n   - Use slowQueryLogs to fetch slow query logs from database=`store`, collection=`orders` in the past 24 hours\n   - Use suggestedIndexes to check for index suggestions for the query\n\n5. **Diagnose:** Based on explain output and slow query logs, this query targets 100 docs but scans 50K index entries (poor selectivity: 0.002). In-memory sort adds overhead. Index doesn't support both filter fields or sort.\n\n6. **Recommend:** Create compound index `{status: 1, region: 1, date: -1}` following ESR (two equality fields, then sort). This eliminates in-memory sort and improves selectivity by filtering on both status and region.\n\nIf the MongoDB MCP server is not set up, follow best indexing practices.\n\n## Example workflow 2 (general database performance help)\n\n**User:** \"Can you help with optimizing slow queries on my cluster?”\n\n1. **Run atlas-get-performance-advisor:**  \n   - Try to get the cluster name from the connection string and deduce the project name you need in atlas-list-projects; if you are not sure, then ask the user for cluster name and project id.\n   - Use slowQueryLogs to fetch slow query logs from the past 24 hours  \n   - Use suggestedIndexes  \n   - Use dropIndexSuggestions  \n   - Use schemaSuggestions  \n2. **Diagnose and Recommend:** Based on slow query logs and performance advisor advice, you can create the compound index `{status: 1, region: 1, date: -1}` on the `db.orders` collection to optimize queries such as `find({status: 'shipped', region: 'US'}).sort({date: -1})`\n\nExamine all performance advisor output as well as slow query logs. Provide information on what is being improved and why, and focus on suggestions that have the potential for greatest impact (e.g., indexes that affect the most queries, or queries that have the worst performance).\n\n## Load references\n\nBefore beginning diagnosis and recommendation, load reference files.\n\nAlways load:\n\n- `references\u002Fcore-indexing-principles.md`\n- `references\u002Fantipattern-examples.md`\n\nConditionally load these files:\n\n- **If diagnosing aggregation pipelines** → `references\u002Faggregation-optimization.md`\n- **If diagnosing queries that change docs such as replaceOne, findOneAndUpdate, etc.** → `references\u002Fupdate-query-examples.md` for oplog-efficient updates and common update anti-patterns\n\n## Output\n\n- Keep answers short and clear: a few sentences on index and optimization suggestions, and reasoning behind them (e.g. general indexing principles, observing slow query logs in the cluster, or seeing advice in Performance Advisor)\n- Focus on highest impact indexes or optimizations - if you've omitted some optimizations let the user know and present them if asked.\n- Do not use strong language, such as saying “You should create these indexes and they will definitely improve application performance” \\-  Explain they are suggestions for certain queries, and give the reasoning behind them.\n- Consider how many indexes already exist on the collection (if known) \\- there shouldn’t generally be more than 20\n- Suggest removing indexes only if the suggestion comes from Atlas Performance Advisor\n- Do not create indexes directly via MCP unless the user gives approval","# MongoDB Query Optimizer\n\n## When this skill is invoked\n\nInvoke **only** when the user wants:\n\n- Query\u002Findex **optimization** or **performance** help  \n- **Why** a query is slow or **how to speed it up**  \n- **Slow queries** on their cluster and\u002For **how to optimize them**\n\nDo **not** invoke for routine query authoring unless the user has requested help with optimization, slow queries, or indexing.\n\n## High Level Workflow\n\n### General Performance Help\n\nIf the user wants to examine slow queries, or is looking for general performance suggestions (not regarding any particular query):\n\n- Use MongoDB MCP server **atlas-get-performance-advisor** tool to fetch slow query logs and performance advisor output  \n- Make suggestions based on this information\n\nIf Atlas MCP Server for Atlas is not configured or you don’t have enough information to run **atlas-get-performance-advisor** against the correct cluster, tell the user that general performance analysis requires Atlas MCP Server configuration with API credentials, and suggest they configure it or ask about a specific query instead.\n\n### Help with a Specific Query\n\nIf the user is asking about a particular query:\n\n- Use **collection-indexes**, **explain**, and **find** MCP tools to get existing indexes on the collection, explain() output for the query, and a sample document from the collection  \n- Use **atlas-get-performance-advisor MCP** tool to fetch slow query logs and performance advisor output\n\nThen make an optimization suggestion based on collected information and MongoDB best practices and examples from reference files. Prefer creating an index that fully covers the query if possible. If you cannot use MongoDB MCP Server then still try to make a suggestion.\n\n## MCP: available tools\n\n**How to invoke.** Call the **MongoDB MCP server** with the **exact tool name** as `toolName` and a single **arguments object** as `arguments`. Do not pass the tool name as an option, query param, or nested key; pass it as the MCP tool name and the parameters as the arguments object. Full MCP Server tool reference: [MongoDB MCP Server Tools](https:\u002F\u002Fwww.mongodb.com\u002Fdocs\u002Fmcp-server\u002Ftools\u002F).\n\n**Database tools** (when the MCP cluster connection works):\n\n| Tool name (exact) | Arguments object |\n| :---- | :---- |\n| `collection-indexes` | `{ \"database\": \"\u003Cdb>\", \"collection\": \"\u003Ccoll>\" }` — both required strings. |\n| `explain` | `{ \"database\": \"\u003Cdb>\", \"collection\": \"\u003Ccoll>\", \"method\": [ { \"name\": \"find\", \"arguments\": { \"filter\": {...}, \"sort\": {...}, \"limit\": N } } ], \"verbosity\": \"executionStats\" }`. `method` is an array of one object: `name` is `\"find\"`, `\"aggregate\"`, or `\"count\"`; `arguments` holds that method's params (e.g. find: `filter`, `sort`, `limit`; aggregate: `pipeline`; count: `query`). Optional `verbosity`: `\"queryPlanner\"` (default), `\"executionStats\"`, `\"queryPlannerExtended\"`, `\"allPlansExecution\"`. |\n| `find` |  `{ \"database\": \"\u003Cdb>\", \"collection\": \"\u003Ccoll>\", \"filter\": {...}, \"projection\": {...}, \"sort\": {...}, \"limit\": N }` — `database`, `collection`, and `filter` are required. Optional: `projection`, `sort`, `limit`. |\n\n**Atlas tools** (when Atlas API credentials are configured):\n\n| Tool name (exact) | Arguments object |\n| :---- | :---- |\n| `atlas-list-projects` | `{}` or `{ \"orgId\": \"\u003C24-char hex>\" }`. Returns projects with their IDs; use to get `projectId` for Performance Advisor. |\n| `atlas-get-performance-advisor` | **Required:** `\"projectId\"` (24-character hex string), `\"clusterName\"` (string, 1–64 chars, alphanumeric\u002Funderscore\u002Fdash). **Optional:** `\"operations\"` — array of strings from `\"suggestedIndexes\"`, `\"dropIndexSuggestions\"`, `\"slowQueryLogs\"`, `\"schemaSuggestions\"` (request only what you need); for slowQueryLogs only: `\"since\"` (ISO 8601 date-time), `\"namespaces\"` (array of `\"db.coll\"` strings). |\n\nFor a user question, try to fetch information from both the connection string and Atlas API related to the query you are optimizing.\n\n### 1\\. DB connection string works for MongoDB MCP\n\nTypical flow: call `collection-indexes` → `explain` → `find` (sample doc).\n\n- **`collection-indexes`** — Use the result's `classicIndexes` (each has `name`, `key`) to see if the query can already use an existing index.\n- **`explain`** — Run in `\"queryPlanner\"` mode first to check for COLLSCAN. If the query uses an index or the collection is very small, run again with `\"executionStats\"` (10-second timeout) to get docs scanned vs. returned.\n\n### 2\\. Atlas API access works for MongoDB MCP\n\nIf you need a project ID, call `atlas-list-projects` first. Then call `atlas-get-performance-advisor` with only the `operations` you need:\n\n| Operation value | Use when |\n| :---- | :---- |\n| `slowQueryLogs` | Fetching slow queries—**prioritize by slowest and most frequent**. Optional: `namespaces` to scope to a collection; `since` for a time window. |\n| `suggestedIndexes` | Fetching cluster index recommendations |\n| `dropIndexSuggestions` | User asks what to remove or reduce index overhead |\n| `schemaSuggestions` | User asks for schema\u002Fquery-structure advice alongside indexes |\n\nDo not pass the MCP tool name as an `operations` value—`operations` is a separate argument listing what data to fetch.\n\n## Example workflow 1 (help with specific query)\n\n**User:** \"Why is this query slow? `db.orders.find({status: 'shipped', region: 'US'}).sort({date: -1})`\"\n\n**If MCP db connection is configured and the database + collection names are known**, run steps 1–3. Otherwise skip to step 4.\n\n1. **Check existing collection indexes:**\n   - Call `collection-indexes` with database=`store`, collection=`orders`\n   - Result shows: `{_id: 1}`, `{status: 1}`, `{date: -1}`\n\n2. **Run explain:**\n   - Call `explain` with method=`find`, filter=`{status: 'shipped', region: 'US'}`, sort=`{date: -1}`, verbosity=`queryPlanner` and `executionStats`\n   - Result: Uses `{status: 1}` index, then in-memory SORT, `totalKeysExamined: 50000`, `nReturned: 100`\n\n3. **Run find:**\n   - Call `find` with limit=1 to fetch a sample document to impute the schema.\n\n**If MCP Atlas connection is configured**, run step 4. Otherwise skip to step 5.\n\n4. **Run atlas-get-performance-advisor:**\n   - Try to get the cluster name from the MCP connection string, or ask the user for projectId\u002FclusterName\n   - Use slowQueryLogs to fetch slow query logs from database=`store`, collection=`orders` in the past 24 hours\n   - Use suggestedIndexes to check for index suggestions for the query\n\n5. **Diagnose:** Based on explain output and slow query logs, this query targets 100 docs but scans 50K index entries (poor selectivity: 0.002). In-memory sort adds overhead. Index doesn't support both filter fields or sort.\n\n6. **Recommend:** Create compound index `{status: 1, region: 1, date: -1}` following ESR (two equality fields, then sort). This eliminates in-memory sort and improves selectivity by filtering on both status and region.\n\nIf the MongoDB MCP server is not set up, follow best indexing practices.\n\n## Example workflow 2 (general database performance help)\n\n**User:** \"Can you help with optimizing slow queries on my cluster?”\n\n1. **Run atlas-get-performance-advisor:**  \n   - Try to get the cluster name from the connection string and deduce the project name you need in atlas-list-projects; if you are not sure, then ask the user for cluster name and project id.\n   - Use slowQueryLogs to fetch slow query logs from the past 24 hours  \n   - Use suggestedIndexes  \n   - Use dropIndexSuggestions  \n   - Use schemaSuggestions  \n2. **Diagnose and Recommend:** Based on slow query logs and performance advisor advice, you can create the compound index `{status: 1, region: 1, date: -1}` on the `db.orders` collection to optimize queries such as `find({status: 'shipped', region: 'US'}).sort({date: -1})`\n\nExamine all performance advisor output as well as slow query logs. Provide information on what is being improved and why, and focus on suggestions that have the potential for greatest impact (e.g., indexes that affect the most queries, or queries that have the worst performance).\n\n## Load references\n\nBefore beginning diagnosis and recommendation, load reference files.\n\nAlways load:\n\n- `references\u002Fcore-indexing-principles.md`\n- `references\u002Fantipattern-examples.md`\n\nConditionally load these files:\n\n- **If diagnosing aggregation pipelines** → `references\u002Faggregation-optimization.md`\n- **If diagnosing queries that change docs such as replaceOne, findOneAndUpdate, etc.** → `references\u002Fupdate-query-examples.md` for oplog-efficient updates and common update anti-patterns\n\n## Output\n\n- Keep answers short and clear: a few sentences on index and optimization suggestions, and reasoning behind them (e.g. general indexing principles, observing slow query logs in the cluster, or seeing advice in Performance Advisor)\n- Focus on highest impact indexes or optimizations - if you've omitted some optimizations let the user know and present them if asked.\n- Do not use strong language, such as saying “You should create these indexes and they will definitely improve application performance” \\-  Explain they are suggestions for certain queries, and give the reasoning behind them.\n- Consider how many indexes already exist on the collection (if known) \\- there shouldn’t generally be more than 20\n- Suggest removing indexes only if the suggestion comes from Atlas Performance Advisor\n- Do not create indexes directly via MCP unless the user gives approval",{"name":5,"parent":24,"license":15,"metadata":25,"description":7,"compatibility":27},"mongodb",{"version":26},"1.0.0","Best with MongoDB MCP server. Uses collection-indexes and explain when the connection string works; uses Atlas Performance Advisor when Atlas API is configured. Without either, suggest indexes from query shape only. User creates indexes in Atlas or migrations unless tooling allows otherwise.","main","866ae6a554678d3e3f49ffc21d262023ebaad8ba",".agents\u002Fskills\u002Fframework\u002Fmongodb\u002Fquery-optimizer","https:\u002F\u002Fgithub.com\u002FTinhAnhGitHub\u002Fdotfiles","https:\u002F\u002Fgithub.com\u002FTinhAnhGitHub","2026-09-13 19:29:17",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add TinhAnhGitHub\u002Fdotfiles --skill mongodb-query-optimizer",{"tool":40,"command":41},"bunx","bunx skills add TinhAnhGitHub\u002Fdotfiles --skill mongodb-query-optimizer",{"tool":43,"command":44},"pnpm","pnpm dlx skills add TinhAnhGitHub\u002Fdotfiles --skill mongodb-query-optimizer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTinhAnhGitHub\u002Fdotfiles\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fframework\u002Fmongodb\u002Fquery-optimizer\u002FSKILL.md",true,[48,54,58,62],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"references\u002Faggregation-optimization.md","REFERENCE","参考文档",6721,"https:\u002F\u002Fgithub.com\u002FTinhAnhGitHub\u002Fdotfiles\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fframework\u002Fmongodb\u002Fquery-optimizer\u002Freferences\u002Faggregation-optimization.md",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Fantipattern-examples.md",2527,"https:\u002F\u002Fgithub.com\u002FTinhAnhGitHub\u002Fdotfiles\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fframework\u002Fmongodb\u002Fquery-optimizer\u002Freferences\u002Fantipattern-examples.md",{"path":59,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":60,"sourceHtmlUrl":61},"references\u002Fcore-indexing-principles.md",4319,"https:\u002F\u002Fgithub.com\u002FTinhAnhGitHub\u002Fdotfiles\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fframework\u002Fmongodb\u002Fquery-optimizer\u002Freferences\u002Fcore-indexing-principles.md",{"path":63,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":64,"sourceHtmlUrl":65},"references\u002Fupdate-query-examples.md",1144,"https:\u002F\u002Fgithub.com\u002FTinhAnhGitHub\u002Fdotfiles\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fframework\u002Fmongodb\u002Fquery-optimizer\u002Freferences\u002Fupdate-query-examples.md",[67,75,84,91,98,105],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":71,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M79J5BK2TVBQQ0KK708PSZMR","skill-creator","Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.","https:\u002F\u002Fgithub.com\u002FTinhAnhGitHub\u002Fdotfiles\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fworkspace\u002Fskill-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FTinhAnhGitHub\u002Fdotfiles\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fworkspace\u002Fskill-creator\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":79,"licenseFileUrl":80,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M79J2E55JTK0CP3KW3G3AKT5","book-to-skill","Converts books and documents (PDF, EPUB, DOCX, HTML, Markdown, plain text, RTF, MOBI\u002FAZW with Calibre) into structured agent skills, extracting frameworks, mental models, principles, techniques, and anti-patterns. Use when the user wants to study a document through GitHub Copilot CLI, Amp, Claude Code, or Hermes Agent, apply an author's frameworks while working, or build a reusable knowledge base from a file.","MIT","https:\u002F\u002Fgithub.com\u002FTinhAnhGitHub\u002Fdotfiles\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fworkspace\u002Fbook-to-skill\u002FLICENSE.md","https:\u002F\u002Fgithub.com\u002FTinhAnhGitHub\u002Fdotfiles\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fworkspace\u002Fbook-to-skill\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":79,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M79HZC8SKZPWVZN87KZS1QDC","pytest-skill","Production-grade pytest guidance for Python tests: authoring, fixtures, parametrization, assertions, mocking, markers, discovery, plugins, hooks, debugging, output, warnings, doctests, CI, and migration from unittest. Use this skill whenever a request mentions pytest, conftest.py, fixtures, pytest.mark, parametrization, test discovery, pytest plugins\u002Fhooks, or asks how to write, run, debug, organize, or improve Python tests with pytest. For PySpark or Databricks-specific testing, also use pytest-databricks.","https:\u002F\u002Fgithub.com\u002FTinhAnhGitHub\u002Fdotfiles\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpython\u002Fpytest-skill\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M79HT43X9GXDJHRBBM90KYHZ","mongodb-search-and-ai","Guides MongoDB users through implementing and optimizing Atlas Search (full-text), Vector Search (semantic), and Hybrid Search solutions. Use this skill when users need to build search functionality for text-based queries (autocomplete, fuzzy matching, faceted search), semantic similarity (embeddings, RAG applications), or combined approaches. Also use when users need text containment, substring matching ('contains', 'includes', 'appears in'), case-insensitive or multi-field text search, or filtering across many fields with variable combinations. Provides workflows for selecting the right search type, creating indexes, constructing queries, and optimizing performance using the MongoDB MCP server.","https:\u002F\u002Fgithub.com\u002FTinhAnhGitHub\u002Fdotfiles\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fframework\u002Fmongodb\u002Fsearch-and-ai\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":19},"01M79HSS371CGV85SC9QS0C5HS","mongodb-schema-design","MongoDB schema design patterns and anti-patterns. Use when designing data models, reviewing schemas, migrating from SQL, or troubleshooting performance issues caused by schema problems. Triggers on \"design schema\", \"embed vs reference\", \"MongoDB data model\", \"schema review\", \"unbounded arrays\", \"one-to-many\", \"tree structure\", \"16MB limit\", \"schema validation\", \"JSON Schema\", \"time series\", \"schema migration\", \"polymorphic\", \"TTL\", \"data lifecycle\", \"archive\", \"index explosion\", \"unnecessary indexes\", \"approximation pattern\", \"document versioning\".","https:\u002F\u002Fgithub.com\u002FTinhAnhGitHub\u002Fdotfiles\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fframework\u002Fmongodb\u002Fschema-design\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":19},"01M79HS5FJY9V815ZW66WWZ4X5","mongodb-pymongo","Use for Python applications that use PyMongo 4.x or BSON: MongoClient or AsyncMongoClient, Database and Collection APIs, CRUD, cursors, aggregation, transactions, change streams, BSON\u002FExtended JSON\u002FObjectId\u002FUUID\u002Fdatetime handling, CodecOptions and custom codecs, indexes, Database.command(), Atlas Search APIs, driver monitoring, or Python logging. Invoke whenever implementing, reviewing, debugging, or migrating PyMongo or Motor code, even when the user only mentions a Python MongoDB client, `bson`, or `AsyncMongoClient`. For pool sizing and cross-driver connection tuning, also load `mongodb\u002Fconnection`; for query-plan\u002Findex performance, load `mongodb\u002Fquery-optimizer`; for Search or Vector Search solution design, load `mongodb\u002Fsearch-and-ai`.","https:\u002F\u002Fgithub.com\u002FTinhAnhGitHub\u002Fdotfiles\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fframework\u002Fmongodb\u002Fpymongo\u002FSKILL.md",[],[]]