[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77MV9S7YVJXDTRZHWQJTFGD":3,"skill-same:01M77MV9S7YVJXDTRZHWQJTFGD":59},{"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":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M77MV9S7YVJXDTRZHWQJTFGD","mcp-server",null,"How to build, bundle, register, and test a minimal stdio MCP (Model Context Protocol) server in Node.js with the official @modelcontextprotocol\u002Fsdk. Load this when implementing or modifying an MCP server (src\u002Fmcp-server.js, .mcp.json), when wrapping internal functions as MCP tools, when bundling the SDK with esbuild into a CJS artifact, or when the eventual Atlassian-MCP migration swaps the task-store backend. Triggers on @modelcontextprotocol\u002Fsdk, McpServer, StdioServerTransport, registerTool, InMemoryTransport, or ${CLAUDE_PROJECT_DIR} in an MCP context.","HexingBot\u002Fhivemind","HexingBot","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F296674764?v=4","01M77MMXMW5SWSXKHB0VA4N1FF","01M77MMXNV3PZA3795D6PYX5C9",1,"MIT","https:\u002F\u002Fgithub.com\u002FHexingBot\u002Fhivemind\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-server\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: mcp-server\ndescription: How to build, bundle, register, and test a minimal stdio MCP (Model Context Protocol) server in Node.js with the official @modelcontextprotocol\u002Fsdk. Load this when implementing or modifying an MCP server (src\u002Fmcp-server.js, .mcp.json), when wrapping internal functions as MCP tools, when bundling the SDK with esbuild into a CJS artifact, or when the eventual Atlassian-MCP migration swaps the task-store backend. Triggers on @modelcontextprotocol\u002Fsdk, McpServer, StdioServerTransport, registerTool, InMemoryTransport, or ${CLAUDE_PROJECT_DIR} in an MCP context.\n---\n\n# MCP Server (Node.js, stdio) — Team Training Skill\n\nBuild a minimal stdio MCP server with the official TypeScript\u002FJS SDK, bundle it\nwith esbuild into a committed CJS artifact (same pattern as the other plugin\nentrypoints), register it in a plugin `.mcp.json`, and test it deterministically\nwith the SDK's in-memory transport — no live client needed.\n\n## When to Use This Skill\n\nUse when authoring or editing `src\u002Fmcp-server.js` \u002F `dist\u002Fmcp-server.cjs` \u002F\n`.mcp.json`; when wrapping existing functions as MCP tools; when adding\n`@modelcontextprotocol\u002Fsdk` to esbuild's bundle; when writing a round-trip MCP\ntest; or when migrating the task-store MCP surface to a Jira\u002FAtlassian backend\n(the tool names stay; only the wrapped functions change).\n\n## Core Facts (pinned)\n\n- **Package:** `@modelcontextprotocol\u002Fsdk` — add as a **devDependency** (esbuild\n  inlines it into `dist\u002Fmcp-server.cjs`, exactly like `ajv`\u002F`gray-matter`).\n- **Version:** pin a stable `1.x` (latest stable line is `1.29.x`). Do **not**\n  use `2.0.0-alpha.*` (that is what `main` on GitHub now is — alpha, unstable).\n- **Peer dep:** `zod` (use `zod@^3.25` — the SDK's documented compatible range;\n  the quickstart installs `zod@3`). esbuild bundles it too, so devDependency.\n- **Runtime:** SDK `engines: node >=20`. We target `node20`. ESM source,\n  bundled to CJS by esbuild — supported.\n- **Current tool API:** `server.registerTool(name, config, handler)` on\n  `McpServer`. This is the current recommended high-level API (NOT the\n  low-level `setRequestHandler(ListToolsRequestSchema\u002FCallToolRequestSchema)`,\n  and NOT the older `server.tool(...)` overload).\n- **inputSchema is a raw zod *shape object*** — `{ key: z.string() }` — NOT a\n  `z.object({...})` wrapper. The SDK wraps it for you. Args arrive already\n  validated and destructured: `async ({ key }) => ...`.\n\n## Core Workflows\n\n1. **Imports + construct** (exact specifiers — the `.js` suffixes are required):\n   ```js\n   import { McpServer } from '@modelcontextprotocol\u002Fsdk\u002Fserver\u002Fmcp.js';\n   import { StdioServerTransport } from '@modelcontextprotocol\u002Fsdk\u002Fserver\u002Fstdio.js';\n   import { z } from 'zod';\n\n   const server = new McpServer({ name: 'hivemind-tasks', version: '0.1.0' });\n   ```\n\n2. **Register a tool** — config is `{ title?, description, inputSchema }`;\n   handler returns a `content` array:\n   ```js\n   server.registerTool(\n     'transition_status',\n     {\n       description: 'Set a task status (todo|in_progress|in_review|blocked|done).',\n       inputSchema: {\n         key: z.string().describe('Task key, e.g. TASK-026'),\n         status: z.enum(['todo', 'in_progress', 'in_review', 'blocked', 'done']),\n       },\n     },\n     async ({ key, status }) => {\n       await transitionStatus({ repoRoot: REPO_ROOT, key, status });\n       return { content: [{ type: 'text', text: JSON.stringify({ ok: true }) }] };\n     },\n   );\n   ```\n\n3. **Resolve the project root at runtime.** Bind once at module load:\n   ```js\n   const REPO_ROOT = process.env.CLAUDE_PROJECT_DIR ?? process.cwd();\n   ```\n   `.mcp.json` substitutes `${CLAUDE_PROJECT_DIR}` into the server's `env`, so\n   the env var is present in the spawned process. NEVER use `process.cwd()` of\n   the bundle, `import.meta.url`, or `${CLAUDE_PLUGIN_ROOT}` for project I\u002FO —\n   those point at the immutable plugin cache, not the user's repo.\n\n4. **Connect + start.** `connect()` begins listening; there is no separate\n   `start()`. Log only to **stderr** (stdout carries JSON-RPC):\n   ```js\n   async function main() {\n     const transport = new StdioServerTransport();\n     await server.connect(transport);\n     console.error('hivemind-tasks MCP server on stdio');\n   }\n   main().catch((e) => { console.error(e); process.exit(1); });\n   ```\n\n5. **Bundle with esbuild** — add a third entry to `scripts\u002Fbuild-plugin.mjs`\n   (`src\u002Fmcp-server.js` → `dist\u002Fmcp-server.cjs`, `format: 'cjs'`,\n   `platform: 'node'`, `target: 'node20'`, `bundle: true`). Then add\n   `\"dist\u002Fmcp-server.cjs\"` to `.claude-plugin\u002Fshipped-bin.json`'s `bin` array.\n\n6. **Register in `.mcp.json`** at the plugin root, pointing at the **bundle**:\n   ```json\n   {\n     \"mcpServers\": {\n       \"hivemind-tasks\": {\n         \"command\": \"node\",\n         \"args\": [\"${CLAUDE_PLUGIN_ROOT}\u002Fdist\u002Fmcp-server.cjs\"],\n         \"env\": { \"CLAUDE_PROJECT_DIR\": \"${CLAUDE_PROJECT_DIR}\" }\n       }\n     }\n   }\n   ```\n   Because the SDK is bundled into the `.cjs`, NO `NODE_PATH` is needed (this\n   supersedes the §E.1 spike sketch that used `${CLAUDE_PLUGIN_DATA}\u002Fnode_modules`\n   — that was the data-dir approach P3 replaced with esbuild bundling). Re-add\n   `\"mcpServers\": \".\u002F.mcp.json\"` to `plugin.json` in the same change.\n\n7. **Test deterministically** with the in-memory transport — see\n   [`references\u002Fin-memory-test-harness.md`](references\u002Fin-memory-test-harness.md).\n   `InMemoryTransport.createLinkedPair()` returns `[clientTransport,\n   serverTransport]`; connect your `McpServer` to one and a `Client` to the\n   other and call `client.callTool(...)` in-process.\n\n## Best Practices\n\n- **Do** bundle the SDK + zod into the committed `dist\u002F*.cjs` — *because* a\n  git-URL plugin install runs no `npm install`; ESM `import` ignores `NODE_PATH`.\n- **Do** keep tool names = Jira-compatible field names — *because* the Atlassian\n  migration swaps the wrapped function, not the tool surface.\n- **Do** return every result as `{ content: [{ type: 'text', text: \u003CJSON string> }] }`\n  — *because* MCP content is text\u002Ftyped blocks, not raw objects. Stringify.\n- **Don't** write to stdout (`console.log`) — *because* it corrupts JSON-RPC.\n  Use `console.error` (stderr).\n- **Don't** wrap `inputSchema` in `z.object(...)` — *because* the high-level API\n  expects the raw shape; wrapping double-wraps and breaks arg parsing.\n- **Don't** resolve project paths from the plugin location — *because* the plugin\n  ships to an immutable cache dir; only `${CLAUDE_PROJECT_DIR}` is the user repo.\n\n## Common Pitfalls\n\n- **`ERR_PACKAGE_PATH_NOT_EXPORTED` \u002F cannot find `@modelcontextprotocol\u002Fserver`.**\n  The package is `@modelcontextprotocol\u002Fsdk` with subpath exports\n  (`\u002Fserver\u002Fmcp.js`, `\u002Fserver\u002Fstdio.js`, `\u002Fclient\u002Findex.js`,\n  `\u002FinMemory.js`). The bare `@modelcontextprotocol\u002Fserver` specifier does not\n  exist — it is a doc-summary abbreviation. Always use the `\u002Fsdk\u002F...` form with\n  the `.js` suffix.\n- **Tool returns nothing \u002F client sees empty.** The handler must return an\n  object with a `content` array. To signal failure, throw (the SDK converts it\n  to `{ isError: true }`) or return `{ isError: true, content: [...] }`.\n- **`get_task` has no task-store function.** `task-store.js` exports no\n  `getTask`\u002F`readTask`; implement `get_task` by reading\n  `tasks\u002F\u003Ckey>.json` under `REPO_ROOT` and returning the parsed object (or\n  `null` when absent). See references for the exact wrapper map.\n- **Alpha SDK.** `npm i @modelcontextprotocol\u002Fsdk@latest` may pull a `2.x`\n  alpha if the dist-tag drifts. Pin an explicit `1.x` semver.\n\n## Verification\n\n- Unit\u002Fround-trip: `npm test` — the in-memory harness round-trips\n  `create_task → list_todos → transition_status → get_task` against a temp repo.\n- Bundle sanity: `node scripts\u002Fbuild-plugin.mjs` then\n  `node dist\u002Fmcp-server.cjs` should start and print the stderr banner (Ctrl-C to\n  stop); a crash on start means a bundling miss (externals, dynamic require).\n- Install sanity: `claude plugin details hivemind` must report\n  `MCP servers (1)` with no startup error.\n\n## References\n\n- [`references\u002Fin-memory-test-harness.md`](references\u002Fin-memory-test-harness.md)\n  — full vitest round-trip harness (Client + InMemoryTransport linked pair).\n- [`references\u002Ftool-contract.md`](references\u002Ftool-contract.md) — the seven\n  task-store tool→args→returns→wraps rows (`list_todos`, `list_ready`,\n  `get_task`, `create_task`, `transition_status`, `append_comment`,\n  `close_task`) plus the extension tools — `kb_lookup` (TASK-106),\n  `kb_graph_query` (TASK-168), `mcp_build_status` (TASK-204) — and the exact\n  `task-store.js`\u002F`knowledge.js` signatures. (No tool count stated here on\n  purpose, TASK-208 fix round — the table there is the live source of truth.)\n- [`references\u002Fesbuild-and-mcp-json.md`](references\u002Fesbuild-and-mcp-json.md) —\n  esbuild bundling gotchas + the `.mcp.json` interpolation rules.\n\n## Provenance\n\n- **Authored by:** Researcher subagent on behalf of ticket `TASK-026`.\n- **Primary sources:**\n  - https:\u002F\u002Fmodelcontextprotocol.io\u002Fdocs\u002Fdevelop\u002Fbuild-server (TypeScript tab)\n  - https:\u002F\u002Fgithub.com\u002Fmodelcontextprotocol\u002Ftypescript-sdk (README + src\u002FinMemory.ts)\n  - https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@modelcontextprotocol\u002Fsdk\n- **Last verified:** 2026-05-29 (SDK stable 1.29.x; main is 2.0.0-alpha.0).\n","# MCP Server (Node.js, stdio) — Team Training Skill\n\nBuild a minimal stdio MCP server with the official TypeScript\u002FJS SDK, bundle it\nwith esbuild into a committed CJS artifact (same pattern as the other plugin\nentrypoints), register it in a plugin `.mcp.json`, and test it deterministically\nwith the SDK's in-memory transport — no live client needed.\n\n## When to Use This Skill\n\nUse when authoring or editing `src\u002Fmcp-server.js` \u002F `dist\u002Fmcp-server.cjs` \u002F\n`.mcp.json`; when wrapping existing functions as MCP tools; when adding\n`@modelcontextprotocol\u002Fsdk` to esbuild's bundle; when writing a round-trip MCP\ntest; or when migrating the task-store MCP surface to a Jira\u002FAtlassian backend\n(the tool names stay; only the wrapped functions change).\n\n## Core Facts (pinned)\n\n- **Package:** `@modelcontextprotocol\u002Fsdk` — add as a **devDependency** (esbuild\n  inlines it into `dist\u002Fmcp-server.cjs`, exactly like `ajv`\u002F`gray-matter`).\n- **Version:** pin a stable `1.x` (latest stable line is `1.29.x`). Do **not**\n  use `2.0.0-alpha.*` (that is what `main` on GitHub now is — alpha, unstable).\n- **Peer dep:** `zod` (use `zod@^3.25` — the SDK's documented compatible range;\n  the quickstart installs `zod@3`). esbuild bundles it too, so devDependency.\n- **Runtime:** SDK `engines: node >=20`. We target `node20`. ESM source,\n  bundled to CJS by esbuild — supported.\n- **Current tool API:** `server.registerTool(name, config, handler)` on\n  `McpServer`. This is the current recommended high-level API (NOT the\n  low-level `setRequestHandler(ListToolsRequestSchema\u002FCallToolRequestSchema)`,\n  and NOT the older `server.tool(...)` overload).\n- **inputSchema is a raw zod *shape object*** — `{ key: z.string() }` — NOT a\n  `z.object({...})` wrapper. The SDK wraps it for you. Args arrive already\n  validated and destructured: `async ({ key }) => ...`.\n\n## Core Workflows\n\n1. **Imports + construct** (exact specifiers — the `.js` suffixes are required):\n   ```js\n   import { McpServer } from '@modelcontextprotocol\u002Fsdk\u002Fserver\u002Fmcp.js';\n   import { StdioServerTransport } from '@modelcontextprotocol\u002Fsdk\u002Fserver\u002Fstdio.js';\n   import { z } from 'zod';\n\n   const server = new McpServer({ name: 'hivemind-tasks', version: '0.1.0' });\n   ```\n\n2. **Register a tool** — config is `{ title?, description, inputSchema }`;\n   handler returns a `content` array:\n   ```js\n   server.registerTool(\n     'transition_status',\n     {\n       description: 'Set a task status (todo|in_progress|in_review|blocked|done).',\n       inputSchema: {\n         key: z.string().describe('Task key, e.g. TASK-026'),\n         status: z.enum(['todo', 'in_progress', 'in_review', 'blocked', 'done']),\n       },\n     },\n     async ({ key, status }) => {\n       await transitionStatus({ repoRoot: REPO_ROOT, key, status });\n       return { content: [{ type: 'text', text: JSON.stringify({ ok: true }) }] };\n     },\n   );\n   ```\n\n3. **Resolve the project root at runtime.** Bind once at module load:\n   ```js\n   const REPO_ROOT = process.env.CLAUDE_PROJECT_DIR ?? process.cwd();\n   ```\n   `.mcp.json` substitutes `${CLAUDE_PROJECT_DIR}` into the server's `env`, so\n   the env var is present in the spawned process. NEVER use `process.cwd()` of\n   the bundle, `import.meta.url`, or `${CLAUDE_PLUGIN_ROOT}` for project I\u002FO —\n   those point at the immutable plugin cache, not the user's repo.\n\n4. **Connect + start.** `connect()` begins listening; there is no separate\n   `start()`. Log only to **stderr** (stdout carries JSON-RPC):\n   ```js\n   async function main() {\n     const transport = new StdioServerTransport();\n     await server.connect(transport);\n     console.error('hivemind-tasks MCP server on stdio');\n   }\n   main().catch((e) => { console.error(e); process.exit(1); });\n   ```\n\n5. **Bundle with esbuild** — add a third entry to `scripts\u002Fbuild-plugin.mjs`\n   (`src\u002Fmcp-server.js` → `dist\u002Fmcp-server.cjs`, `format: 'cjs'`,\n   `platform: 'node'`, `target: 'node20'`, `bundle: true`). Then add\n   `\"dist\u002Fmcp-server.cjs\"` to `.claude-plugin\u002Fshipped-bin.json`'s `bin` array.\n\n6. **Register in `.mcp.json`** at the plugin root, pointing at the **bundle**:\n   ```json\n   {\n     \"mcpServers\": {\n       \"hivemind-tasks\": {\n         \"command\": \"node\",\n         \"args\": [\"${CLAUDE_PLUGIN_ROOT}\u002Fdist\u002Fmcp-server.cjs\"],\n         \"env\": { \"CLAUDE_PROJECT_DIR\": \"${CLAUDE_PROJECT_DIR}\" }\n       }\n     }\n   }\n   ```\n   Because the SDK is bundled into the `.cjs`, NO `NODE_PATH` is needed (this\n   supersedes the §E.1 spike sketch that used `${CLAUDE_PLUGIN_DATA}\u002Fnode_modules`\n   — that was the data-dir approach P3 replaced with esbuild bundling). Re-add\n   `\"mcpServers\": \".\u002F.mcp.json\"` to `plugin.json` in the same change.\n\n7. **Test deterministically** with the in-memory transport — see\n   [`references\u002Fin-memory-test-harness.md`](references\u002Fin-memory-test-harness.md).\n   `InMemoryTransport.createLinkedPair()` returns `[clientTransport,\n   serverTransport]`; connect your `McpServer` to one and a `Client` to the\n   other and call `client.callTool(...)` in-process.\n\n## Best Practices\n\n- **Do** bundle the SDK + zod into the committed `dist\u002F*.cjs` — *because* a\n  git-URL plugin install runs no `npm install`; ESM `import` ignores `NODE_PATH`.\n- **Do** keep tool names = Jira-compatible field names — *because* the Atlassian\n  migration swaps the wrapped function, not the tool surface.\n- **Do** return every result as `{ content: [{ type: 'text', text: \u003CJSON string> }] }`\n  — *because* MCP content is text\u002Ftyped blocks, not raw objects. Stringify.\n- **Don't** write to stdout (`console.log`) — *because* it corrupts JSON-RPC.\n  Use `console.error` (stderr).\n- **Don't** wrap `inputSchema` in `z.object(...)` — *because* the high-level API\n  expects the raw shape; wrapping double-wraps and breaks arg parsing.\n- **Don't** resolve project paths from the plugin location — *because* the plugin\n  ships to an immutable cache dir; only `${CLAUDE_PROJECT_DIR}` is the user repo.\n\n## Common Pitfalls\n\n- **`ERR_PACKAGE_PATH_NOT_EXPORTED` \u002F cannot find `@modelcontextprotocol\u002Fserver`.**\n  The package is `@modelcontextprotocol\u002Fsdk` with subpath exports\n  (`\u002Fserver\u002Fmcp.js`, `\u002Fserver\u002Fstdio.js`, `\u002Fclient\u002Findex.js`,\n  `\u002FinMemory.js`). The bare `@modelcontextprotocol\u002Fserver` specifier does not\n  exist — it is a doc-summary abbreviation. Always use the `\u002Fsdk\u002F...` form with\n  the `.js` suffix.\n- **Tool returns nothing \u002F client sees empty.** The handler must return an\n  object with a `content` array. To signal failure, throw (the SDK converts it\n  to `{ isError: true }`) or return `{ isError: true, content: [...] }`.\n- **`get_task` has no task-store function.** `task-store.js` exports no\n  `getTask`\u002F`readTask`; implement `get_task` by reading\n  `tasks\u002F\u003Ckey>.json` under `REPO_ROOT` and returning the parsed object (or\n  `null` when absent). See references for the exact wrapper map.\n- **Alpha SDK.** `npm i @modelcontextprotocol\u002Fsdk@latest` may pull a `2.x`\n  alpha if the dist-tag drifts. Pin an explicit `1.x` semver.\n\n## Verification\n\n- Unit\u002Fround-trip: `npm test` — the in-memory harness round-trips\n  `create_task → list_todos → transition_status → get_task` against a temp repo.\n- Bundle sanity: `node scripts\u002Fbuild-plugin.mjs` then\n  `node dist\u002Fmcp-server.cjs` should start and print the stderr banner (Ctrl-C to\n  stop); a crash on start means a bundling miss (externals, dynamic require).\n- Install sanity: `claude plugin details hivemind` must report\n  `MCP servers (1)` with no startup error.\n\n## References\n\n- [`references\u002Fin-memory-test-harness.md`](references\u002Fin-memory-test-harness.md)\n  — full vitest round-trip harness (Client + InMemoryTransport linked pair).\n- [`references\u002Ftool-contract.md`](references\u002Ftool-contract.md) — the seven\n  task-store tool→args→returns→wraps rows (`list_todos`, `list_ready`,\n  `get_task`, `create_task`, `transition_status`, `append_comment`,\n  `close_task`) plus the extension tools — `kb_lookup` (TASK-106),\n  `kb_graph_query` (TASK-168), `mcp_build_status` (TASK-204) — and the exact\n  `task-store.js`\u002F`knowledge.js` signatures. (No tool count stated here on\n  purpose, TASK-208 fix round — the table there is the live source of truth.)\n- [`references\u002Fesbuild-and-mcp-json.md`](references\u002Fesbuild-and-mcp-json.md) —\n  esbuild bundling gotchas + the `.mcp.json` interpolation rules.\n\n## Provenance\n\n- **Authored by:** Researcher subagent on behalf of ticket `TASK-026`.\n- **Primary sources:**\n  - https:\u002F\u002Fmodelcontextprotocol.io\u002Fdocs\u002Fdevelop\u002Fbuild-server (TypeScript tab)\n  - https:\u002F\u002Fgithub.com\u002Fmodelcontextprotocol\u002Ftypescript-sdk (README + src\u002FinMemory.ts)\n  - https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@modelcontextprotocol\u002Fsdk\n- **Last verified:** 2026-05-29 (SDK stable 1.29.x; main is 2.0.0-alpha.0).\n",{"name":5,"description":7},"main","c8856147b7a3246a1e54b66126d093183805d1f3","skills\u002Fmcp-server",0,"https:\u002F\u002Fgithub.com\u002FHexingBot\u002Fhivemind","https:\u002F\u002Fhivemind-ef84a.web.app","https:\u002F\u002Fgithub.com\u002FHexingBot","2026-10-10 00:50:01",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add HexingBot\u002Fhivemind --skill mcp-server",{"tool":37,"command":38},"bunx","bunx skills add HexingBot\u002Fhivemind --skill mcp-server",{"tool":40,"command":41},"pnpm","pnpm dlx skills add HexingBot\u002Fhivemind --skill mcp-server","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHexingBot\u002Fhivemind\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-server\u002FSKILL.md",true,[45,51,55],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"references\u002Fesbuild-and-mcp-json.md","REFERENCE","参考文档",5428,"https:\u002F\u002Fgithub.com\u002FHexingBot\u002Fhivemind\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-server\u002Freferences\u002Fesbuild-and-mcp-json.md",{"path":52,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Fin-memory-test-harness.md",6060,"https:\u002F\u002Fgithub.com\u002FHexingBot\u002Fhivemind\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-server\u002Freferences\u002Fin-memory-test-harness.md",{"path":56,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Ftool-contract.md",12943,"https:\u002F\u002Fgithub.com\u002FHexingBot\u002Fhivemind\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-server\u002Freferences\u002Ftool-contract.md",[60,67,76,84,91,99],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":18},"01M77MWBWY2AK0GJ91MMKAPZ0M","unknown-skill","A demo skill with no license signal at all, used to exercise the \"unknown\" classification branch of the human license gate (TASK-135).","https:\u002F\u002Fgithub.com\u002FHexingBot\u002Fhivemind\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Funknown-skill\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":71,"licenseFileUrl":72,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":18},"01M77MW9H43Z0ATZ15421K8J7D","spoofed-license-skill","A demo skill used to test TASK-150's SPDX-header-vs-LICENSE-file conflict surfacing.","GPL-3.0","https:\u002F\u002Fgithub.com\u002FHexingBot\u002Fhivemind\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Fspoofed-license-skill\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHexingBot\u002Fhivemind\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Fspoofed-license-skill\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":80,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":18},"01M77MW7715ENRZN6F01FDM81J","permissive-skill","A demo skill used to test assimilation of a permissively-licensed third party skill.","https:\u002F\u002Fgithub.com\u002FHexingBot\u002Fhivemind\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Fpermissive-skill\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHexingBot\u002Fhivemind\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Fpermissive-skill\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":18},"01M77MW3CRAPWETDAZT7E08BVS","malicious-skill","A fixture skill deliberately carrying risky content patterns, used only to exercise src\u002Fskill-scan.js (TASK-122). Never assimilated for real.","https:\u002F\u002Fgithub.com\u002FHexingBot\u002Fhivemind\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Fmalicious-skill\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":71,"licenseFileUrl":95,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":18},"01M77MW1RSWW1MTQGM9TY3X37G","copyleft-skill","A demo skill used to test the human license gate for a copyleft third party skill.","https:\u002F\u002Fgithub.com\u002FHexingBot\u002Fhivemind\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Fcopyleft-skill\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHexingBot\u002Fhivemind\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Fcopyleft-skill\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":18},"01M77MVWT1EVEJ8ZYZTCG4CENE","watch","Watch a video (URL or local path). Downloads with yt-dlp, extracts auto-scaled frames with ffmpeg, pulls the transcript from captions (or Whisper API fallback), and hands the result to Claude so it can answer questions about what's in the video. (assimilated for Hivemind)","https:\u002F\u002Fgithub.com\u002FHexingBot\u002Fhivemind\u002Fblob\u002Fmain\u002Fskills\u002Fwatch\u002FSKILL.md",[],[]]