[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M736QEPYR09RGVYW3PRFXMGC":3,"skill-same:01M736QEPYR09RGVYW3PRFXMGC":46},{"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":30,"updatedAt":31,"install":32,"resources":45},"01M736QEPYR09RGVYW3PRFXMGC","agent-tools",null,"Build MCP servers and agent tools. Covers tool design, MCP protocol,\ninput validation, error handling, and testing.\nUse when: \"build a tool\", \"MCP server\", \"agent tool\", \"function calling\",\n\"give the agent access to\", or when agents need new capabilities.","kalash33\u002Fkstack","kalash33","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F90259149?v=4","01M7365X8Q0B73NYHA730SMZWN","Kalash Poddar","01M7365X9D0JK47C3Q0YCCK9Z2",0,"MIT","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fagent-tools\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: agent-tools\ndescription: |\n  Build MCP servers and agent tools. Covers tool design, MCP protocol,\n  input validation, error handling, and testing.\n  Use when: \"build a tool\", \"MCP server\", \"agent tool\", \"function calling\",\n  \"give the agent access to\", or when agents need new capabilities.\n---\n\n# \u002Fagent-tools — Tool Builder\n\nTools are how agents interact with the world. Build them right.\n\n## When to Use\n\n- Agent needs a new capability (API access, file ops, browser, etc.)\n- Building an MCP server\n- Designing function-calling interfaces\n- Wrapping an API for agent use\n\n## Tool Design Principles\n\n1. **One tool, one job.** Don't combine search + filter + format.\n2. **Clear descriptions.** The LLM reads them to decide when to call.\n3. **Typed inputs.** Validate everything. Agents will send garbage.\n4. **Useful errors.** \"Invalid date format, expected YYYY-MM-DD\" not \"Error\".\n5. **Idempotent when possible.** Agents retry. Don't double-charge.\n\n## MCP Server Template\n\n```typescript\nimport { McpServer } from \"@modelcontextprotocol\u002Fsdk\u002Fserver\u002Fmcp.js\";\nimport { StdioServerTransport } from \"@modelcontextprotocol\u002Fsdk\u002Fserver\u002Fstdio.js\";\nimport { z } from \"zod\";\n\nconst server = new McpServer({ name: \"my-tool\", version: \"1.0.0\" });\n\nserver.tool(\n  \"search_docs\",\n  \"Search documentation by keyword. Returns top 5 matches.\",\n  { query: z.string().describe(\"Search query\") },\n  async ({ query }) => {\n    const results = await searchIndex(query);\n    return { content: [{ type: \"text\", text: JSON.stringify(results) }] };\n  }\n);\n\nconst transport = new StdioServerTransport();\nawait server.connect(transport);\n```\n\n## Python Tool Template\n\n```python\ndef search_docs(query: str) -> str:\n    \"\"\"Search documentation by keyword. Returns top 5 matches.\n    \n    Args:\n        query: The search query string\n        \n    Returns:\n        JSON string with matching documents\n    \"\"\"\n    if not query or len(query) > 500:\n        return json.dumps({\"error\": \"Query must be 1-500 characters\"})\n    \n    results = index.search(query, limit=5)\n    return json.dumps({\"results\": results})\n```\n\n## Testing Tools\n\n```python\n# Test happy path\nassert \"results\" in json.loads(search_docs(\"authentication\"))\n\n# Test edge cases\nassert \"error\" in json.loads(search_docs(\"\"))\nassert \"error\" in json.loads(search_docs(\"x\" * 501))\n\n# Test with actual agent\nresponse = agent.run(\"Find docs about authentication\")\nassert \"search_docs\" in response.tool_calls\n```\n\n## Chaining\n\n- **Before**: `\u002Fagent-design` (identifies what tools are needed)\n- **After**: `\u002Fagent-build` (wires tools into agents)\n","# \u002Fagent-tools — Tool Builder\n\nTools are how agents interact with the world. Build them right.\n\n## When to Use\n\n- Agent needs a new capability (API access, file ops, browser, etc.)\n- Building an MCP server\n- Designing function-calling interfaces\n- Wrapping an API for agent use\n\n## Tool Design Principles\n\n1. **One tool, one job.** Don't combine search + filter + format.\n2. **Clear descriptions.** The LLM reads them to decide when to call.\n3. **Typed inputs.** Validate everything. Agents will send garbage.\n4. **Useful errors.** \"Invalid date format, expected YYYY-MM-DD\" not \"Error\".\n5. **Idempotent when possible.** Agents retry. Don't double-charge.\n\n## MCP Server Template\n\n```typescript\nimport { McpServer } from \"@modelcontextprotocol\u002Fsdk\u002Fserver\u002Fmcp.js\";\nimport { StdioServerTransport } from \"@modelcontextprotocol\u002Fsdk\u002Fserver\u002Fstdio.js\";\nimport { z } from \"zod\";\n\nconst server = new McpServer({ name: \"my-tool\", version: \"1.0.0\" });\n\nserver.tool(\n  \"search_docs\",\n  \"Search documentation by keyword. Returns top 5 matches.\",\n  { query: z.string().describe(\"Search query\") },\n  async ({ query }) => {\n    const results = await searchIndex(query);\n    return { content: [{ type: \"text\", text: JSON.stringify(results) }] };\n  }\n);\n\nconst transport = new StdioServerTransport();\nawait server.connect(transport);\n```\n\n## Python Tool Template\n\n```python\ndef search_docs(query: str) -> str:\n    \"\"\"Search documentation by keyword. Returns top 5 matches.\n    \n    Args:\n        query: The search query string\n        \n    Returns:\n        JSON string with matching documents\n    \"\"\"\n    if not query or len(query) > 500:\n        return json.dumps({\"error\": \"Query must be 1-500 characters\"})\n    \n    results = index.search(query, limit=5)\n    return json.dumps({\"results\": results})\n```\n\n## Testing Tools\n\n```python\n# Test happy path\nassert \"results\" in json.loads(search_docs(\"authentication\"))\n\n# Test edge cases\nassert \"error\" in json.loads(search_docs(\"\"))\nassert \"error\" in json.loads(search_docs(\"x\" * 501))\n\n# Test with actual agent\nresponse = agent.run(\"Find docs about authentication\")\nassert \"search_docs\" in response.tool_calls\n```\n\n## Chaining\n\n- **Before**: `\u002Fagent-design` (identifies what tools are needed)\n- **After**: `\u002Fagent-build` (wires tools into agents)\n",{"name":5,"description":7},"main","b30820b3248f6676d5389f0ccabd4e5250c9c536","skills\u002Fagent-tools","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack","https:\u002F\u002Fgithub.com\u002Fkalash33","kalashpoddar.me","Tech-savvy Full Stack Developer 🚀 | Cybersecurity enthusiast 🔒 | Passionate about innovation and securing the digital world 🌐 | Let's code securely! 💻🔐","2026-05-20 04:11:22",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add kalash33\u002Fkstack --skill agent-tools",{"tool":38,"command":39},"bunx","bunx skills add kalash33\u002Fkstack --skill agent-tools",{"tool":41,"command":42},"pnpm","pnpm dlx skills add kalash33\u002Fkstack --skill agent-tools","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fagent-tools\u002FSKILL.md",true,[],[47,54,61,68,75,82],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M73CFERCR43JCAP606E41EFB","zustand-store-ts","Create Zustand stores with TypeScript, subscribeWithSelector middleware, and proper state\u002Faction separation. Use when building React state management, creating global stores, or implementing reacti...","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fzustand-store-ts\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M73CFCMFVTAQEMTZ5HR10X8V","zoom-automation","Automate Zoom meeting creation, management, recordings, webinars, and participant tracking via Rube MCP (Composio). Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fzoom-automation\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M73CFAA7EBWXJVXDQ1X555MB","zoho-crm-automation","Automate Zoho CRM tasks via Rube MCP (Composio): create\u002Fupdate records, search contacts, manage leads, and convert leads. Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fzoho-crm-automation\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M73CF80XCM9K81567MJ8QZFW","zod-validation-expert","Expert in Zod — TypeScript-first schema validation. Covers parsing, custom errors, refinements, type inference, and integration with React Hook Form, Next.js, and tRPC.","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fzod-validation-expert\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":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M73CF4YPMF3RA8ZJDXZSMD93","zeroize-audit","Detects missing zeroization of sensitive data in source code and identifies zeroization removed by compiler optimizations, with assembly-level analysis, and control-flow verification. Use for auditing C\u002FC++\u002FRust code handling secrets, keys, passwords, or other sensitive data.","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fzeroize-audit\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M73CF2S25EN3XNAMKY47XHPS","zendesk-automation","Automate Zendesk tasks via Rube MCP (Composio): tickets, users, organizations, replies. Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fzendesk-automation\u002FSKILL.md",[],[]]