[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F1R4JSB486TXHJB9E7X70D":3,"skill-same:01M7F1R4JSB486TXHJB9E7X70D":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":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7F1R4JSB486TXHJB9E7X70D","mcp-builder",null,"Build MCP (Model Context Protocol) servers that give Claude new capabilities. Use when user wants to create an MCP server, add tools to Claude, or integrate external services.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fmcp-builder-shareAI-lab__learn-claude-code\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: mcp-builder\ndescription: Build MCP (Model Context Protocol) servers that give Claude new capabilities. Use when user wants to create an MCP server, add tools to Claude, or integrate external services.\n---\n\n# MCP Server Building Skill\n\nYou now have expertise in building MCP (Model Context Protocol) servers. MCP enables Claude to interact with external services through a standardized protocol.\n\n## What is MCP?\n\nMCP servers expose:\n- **Tools**: Functions Claude can call (like API endpoints)\n- **Resources**: Data Claude can read (like files or database records)\n- **Prompts**: Pre-built prompt templates\n\n## Quick Start: Python MCP Server\n\n### 1. Project Setup\n\n```bash\n# Create project\nmkdir my-mcp-server && cd my-mcp-server\npython3 -m venv venv && source venv\u002Fbin\u002Factivate\n\n# Install MCP SDK\npip install mcp\n```\n\n### 2. Basic Server Template\n\n```python\n#!\u002Fusr\u002Fbin\u002Fenv python3\n\"\"\"my_server.py - A simple MCP server\"\"\"\n\nfrom mcp.server import Server\nfrom mcp.server.stdio import stdio_server\nfrom mcp.types import Tool, TextContent\n\n# Create server instance\nserver = Server(\"my-server\")\n\n# Define a tool\n@server.tool()\nasync def hello(name: str) -> str:\n    \"\"\"Say hello to someone.\n\n    Args:\n        name: The name to greet\n    \"\"\"\n    return f\"Hello, {name}!\"\n\n@server.tool()\nasync def add_numbers(a: int, b: int) -> str:\n    \"\"\"Add two numbers together.\n\n    Args:\n        a: First number\n        b: Second number\n    \"\"\"\n    return str(a + b)\n\n# Run server\nasync def main():\n    async with stdio_server() as (read, write):\n        await server.run(read, write)\n\nif __name__ == \"__main__\":\n    import asyncio\n    asyncio.run(main())\n```\n\n### 3. Register with Claude\n\nAdd to `~\u002F.claude\u002Fmcp.json`:\n```json\n{\n  \"mcpServers\": {\n    \"my-server\": {\n      \"command\": \"python3\",\n      \"args\": [\"\u002Fpath\u002Fto\u002Fmy_server.py\"]\n    }\n  }\n}\n```\n\n## TypeScript MCP Server\n\n### 1. Setup\n\n```bash\nmkdir my-mcp-server && cd my-mcp-server\nnpm init -y\nnpm install @modelcontextprotocol\u002Fsdk\n```\n\n### 2. Template\n\n```typescript\n\u002F\u002F src\u002Findex.ts\nimport { Server } from \"@modelcontextprotocol\u002Fsdk\u002Fserver\u002Findex.js\";\nimport { StdioServerTransport } from \"@modelcontextprotocol\u002Fsdk\u002Fserver\u002Fstdio.js\";\n\nconst server = new Server({\n  name: \"my-server\",\n  version: \"1.0.0\",\n});\n\n\u002F\u002F Define tools\nserver.setRequestHandler(\"tools\u002Flist\", async () => ({\n  tools: [\n    {\n      name: \"hello\",\n      description: \"Say hello to someone\",\n      inputSchema: {\n        type: \"object\",\n        properties: {\n          name: { type: \"string\", description: \"Name to greet\" },\n        },\n        required: [\"name\"],\n      },\n    },\n  ],\n}));\n\nserver.setRequestHandler(\"tools\u002Fcall\", async (request) => {\n  if (request.params.name === \"hello\") {\n    const name = request.params.arguments.name;\n    return { content: [{ type: \"text\", text: `Hello, ${name}!` }] };\n  }\n  throw new Error(\"Unknown tool\");\n});\n\n\u002F\u002F Start server\nconst transport = new StdioServerTransport();\nserver.connect(transport);\n```\n\n## Advanced Patterns\n\n### External API Integration\n\n```python\nimport httpx\nfrom mcp.server import Server\n\nserver = Server(\"weather-server\")\n\n@server.tool()\nasync def get_weather(city: str) -> str:\n    \"\"\"Get current weather for a city.\"\"\"\n    async with httpx.AsyncClient() as client:\n        resp = await client.get(\n            f\"https:\u002F\u002Fapi.weatherapi.com\u002Fv1\u002Fcurrent.json\",\n            params={\"key\": \"YOUR_API_KEY\", \"q\": city}\n        )\n        data = resp.json()\n        return f\"{city}: {data['current']['temp_c']}C, {data['current']['condition']['text']}\"\n```\n\n### Database Access\n\n```python\nimport sqlite3\nfrom mcp.server import Server\n\nserver = Server(\"db-server\")\n\n@server.tool()\nasync def query_db(sql: str) -> str:\n    \"\"\"Execute a read-only SQL query.\"\"\"\n    if not sql.strip().upper().startswith(\"SELECT\"):\n        return \"Error: Only SELECT queries allowed\"\n\n    conn = sqlite3.connect(\"data.db\")\n    cursor = conn.execute(sql)\n    rows = cursor.fetchall()\n    conn.close()\n    return str(rows)\n```\n\n### Resources (Read-only Data)\n\n```python\n@server.resource(\"config:\u002F\u002Fsettings\")\nasync def get_settings() -> str:\n    \"\"\"Application settings.\"\"\"\n    return open(\"settings.json\").read()\n\n@server.resource(\"file:\u002F\u002F{path}\")\nasync def read_file(path: str) -> str:\n    \"\"\"Read a file from the workspace.\"\"\"\n    return open(path).read()\n```\n\n## Testing\n\n```bash\n# Test with MCP Inspector\nnpx @anthropics\u002Fmcp-inspector python3 my_server.py\n\n# Or send test messages directly\necho '{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"tools\u002Flist\"}' | python3 my_server.py\n```\n\n## Best Practices\n\n1. **Clear tool descriptions**: Claude uses these to decide when to call tools\n2. **Input validation**: Always validate and sanitize inputs\n3. **Error handling**: Return meaningful error messages\n4. **Async by default**: Use async\u002Fawait for I\u002FO operations\n5. **Security**: Never expose sensitive operations without auth\n6. **Idempotency**: Tools should be safe to retry\n","# MCP Server Building Skill\n\nYou now have expertise in building MCP (Model Context Protocol) servers. MCP enables Claude to interact with external services through a standardized protocol.\n\n## What is MCP?\n\nMCP servers expose:\n- **Tools**: Functions Claude can call (like API endpoints)\n- **Resources**: Data Claude can read (like files or database records)\n- **Prompts**: Pre-built prompt templates\n\n## Quick Start: Python MCP Server\n\n### 1. Project Setup\n\n```bash\n# Create project\nmkdir my-mcp-server && cd my-mcp-server\npython3 -m venv venv && source venv\u002Fbin\u002Factivate\n\n# Install MCP SDK\npip install mcp\n```\n\n### 2. Basic Server Template\n\n```python\n#!\u002Fusr\u002Fbin\u002Fenv python3\n\"\"\"my_server.py - A simple MCP server\"\"\"\n\nfrom mcp.server import Server\nfrom mcp.server.stdio import stdio_server\nfrom mcp.types import Tool, TextContent\n\n# Create server instance\nserver = Server(\"my-server\")\n\n# Define a tool\n@server.tool()\nasync def hello(name: str) -> str:\n    \"\"\"Say hello to someone.\n\n    Args:\n        name: The name to greet\n    \"\"\"\n    return f\"Hello, {name}!\"\n\n@server.tool()\nasync def add_numbers(a: int, b: int) -> str:\n    \"\"\"Add two numbers together.\n\n    Args:\n        a: First number\n        b: Second number\n    \"\"\"\n    return str(a + b)\n\n# Run server\nasync def main():\n    async with stdio_server() as (read, write):\n        await server.run(read, write)\n\nif __name__ == \"__main__\":\n    import asyncio\n    asyncio.run(main())\n```\n\n### 3. Register with Claude\n\nAdd to `~\u002F.claude\u002Fmcp.json`:\n```json\n{\n  \"mcpServers\": {\n    \"my-server\": {\n      \"command\": \"python3\",\n      \"args\": [\"\u002Fpath\u002Fto\u002Fmy_server.py\"]\n    }\n  }\n}\n```\n\n## TypeScript MCP Server\n\n### 1. Setup\n\n```bash\nmkdir my-mcp-server && cd my-mcp-server\nnpm init -y\nnpm install @modelcontextprotocol\u002Fsdk\n```\n\n### 2. Template\n\n```typescript\n\u002F\u002F src\u002Findex.ts\nimport { Server } from \"@modelcontextprotocol\u002Fsdk\u002Fserver\u002Findex.js\";\nimport { StdioServerTransport } from \"@modelcontextprotocol\u002Fsdk\u002Fserver\u002Fstdio.js\";\n\nconst server = new Server({\n  name: \"my-server\",\n  version: \"1.0.0\",\n});\n\n\u002F\u002F Define tools\nserver.setRequestHandler(\"tools\u002Flist\", async () => ({\n  tools: [\n    {\n      name: \"hello\",\n      description: \"Say hello to someone\",\n      inputSchema: {\n        type: \"object\",\n        properties: {\n          name: { type: \"string\", description: \"Name to greet\" },\n        },\n        required: [\"name\"],\n      },\n    },\n  ],\n}));\n\nserver.setRequestHandler(\"tools\u002Fcall\", async (request) => {\n  if (request.params.name === \"hello\") {\n    const name = request.params.arguments.name;\n    return { content: [{ type: \"text\", text: `Hello, ${name}!` }] };\n  }\n  throw new Error(\"Unknown tool\");\n});\n\n\u002F\u002F Start server\nconst transport = new StdioServerTransport();\nserver.connect(transport);\n```\n\n## Advanced Patterns\n\n### External API Integration\n\n```python\nimport httpx\nfrom mcp.server import Server\n\nserver = Server(\"weather-server\")\n\n@server.tool()\nasync def get_weather(city: str) -> str:\n    \"\"\"Get current weather for a city.\"\"\"\n    async with httpx.AsyncClient() as client:\n        resp = await client.get(\n            f\"https:\u002F\u002Fapi.weatherapi.com\u002Fv1\u002Fcurrent.json\",\n            params={\"key\": \"YOUR_API_KEY\", \"q\": city}\n        )\n        data = resp.json()\n        return f\"{city}: {data['current']['temp_c']}C, {data['current']['condition']['text']}\"\n```\n\n### Database Access\n\n```python\nimport sqlite3\nfrom mcp.server import Server\n\nserver = Server(\"db-server\")\n\n@server.tool()\nasync def query_db(sql: str) -> str:\n    \"\"\"Execute a read-only SQL query.\"\"\"\n    if not sql.strip().upper().startswith(\"SELECT\"):\n        return \"Error: Only SELECT queries allowed\"\n\n    conn = sqlite3.connect(\"data.db\")\n    cursor = conn.execute(sql)\n    rows = cursor.fetchall()\n    conn.close()\n    return str(rows)\n```\n\n### Resources (Read-only Data)\n\n```python\n@server.resource(\"config:\u002F\u002Fsettings\")\nasync def get_settings() -> str:\n    \"\"\"Application settings.\"\"\"\n    return open(\"settings.json\").read()\n\n@server.resource(\"file:\u002F\u002F{path}\")\nasync def read_file(path: str) -> str:\n    \"\"\"Read a file from the workspace.\"\"\"\n    return open(path).read()\n```\n\n## Testing\n\n```bash\n# Test with MCP Inspector\nnpx @anthropics\u002Fmcp-inspector python3 my_server.py\n\n# Or send test messages directly\necho '{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"tools\u002Flist\"}' | python3 my_server.py\n```\n\n## Best Practices\n\n1. **Clear tool descriptions**: Claude uses these to decide when to call tools\n2. **Input validation**: Always validate and sanitize inputs\n3. **Error handling**: Return meaningful error messages\n4. **Async by default**: Use async\u002Fawait for I\u002FO operations\n5. **Security**: Never expose sensitive operations without auth\n6. **Idempotency**: Tools should be safe to retry\n",{"name":5,"description":7},"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","05-技能与代理开发\u002Fmcp-builder-shareAI-lab__learn-claude-code",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill mcp-builder",{"tool":38,"command":39},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill mcp-builder",{"tool":41,"command":42},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill mcp-builder","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fmcp-builder-shareAI-lab__learn-claude-code\u002FSKILL.md",true,[],[47,54,59,66,73,80],{"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},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":55,"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":56,"categories":57,"keywords":58,"publishedAt":19},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]