[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6FN1MEGZJSHXM2N5AZJDBG8":3,"skill-same:01M6FN1MEGZJSHXM2N5AZJDBG8":121},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":14,"categories":15,"keywords":16,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M6FN1MEGZJSHXM2N5AZJDBG8","claude-code-skill",null,"kbarbel640-del\u002Fskills","kbarbel640-del","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F255315490?v=4","01M6CJPPQGCCESXMG3K7BBGQ5J","01M6CJPPX2PB2BCZERFVM2C2B3",1,"MIT","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fenderfga\u002Fclaude-code-skill\u002FSKILL.md",[],[17,18,19],"code","claude code skill","code skill","2026-11-10 10:12:30",false,"# OpenClaw Claude Code Skill\n\n## Description\n\nMCP (Model Context Protocol) integration for OpenClaw\u002FClawdbot. Use when you need to:\n- Connect and orchestrate MCP tool servers (filesystem, GitHub, etc.)\n- Persist state across sessions with IndexedDB\u002FlocalStorage\n- Sync sessions across multiple devices\n\nTriggers: \"MCP\", \"tool server\", \"sub-agent orchestration\", \"session sync\", \"state persistence\", \"Claude Code integration\"\n\n## Installation\n\n```bash\nnpm install openclaw-claude-code-skill\n```\n\n## Core APIs\n\n### MCP Server Management\n\n```typescript\nimport { \n  initializeMcpSystem, \n  addMcpServer, \n  executeMcpAction, \n  getAllTools \n} from \"openclaw-claude-code-skill\";\n\n\u002F\u002F 1. Initialize all configured servers\nawait initializeMcpSystem();\n\n\u002F\u002F 2. Add a new MCP server\nawait addMcpServer(\"fs\", {\n  command: \"npx\",\n  args: [\"-y\", \"@modelcontextprotocol\u002Fserver-filesystem\", \"\u002Ftmp\"]\n});\n\n\u002F\u002F 3. Get available tools\nconst tools = await getAllTools();\n\n\u002F\u002F 4. Call a tool\nconst result = await executeMcpAction(\"fs\", {\n  method: \"tools\u002Fcall\",\n  params: { name: \"read_file\", arguments: { path: \"\u002Ftmp\u002Ftest.txt\" } }\n});\n```\n\n### State Persistence\n\n```typescript\nimport { createPersistStore, indexedDBStorage } from \"openclaw-claude-code-skill\";\n\nconst useStore = createPersistStore(\n  { count: 0, items: [] },\n  (set, get) => ({\n    increment: () => set({ count: get().count + 1 }),\n    addItem: (item: string) => set({ items: [...get().items, item] })\n  }),\n  { name: \"my-store\" },\n  indexedDBStorage  \u002F\u002F or omit for localStorage\n);\n\n\u002F\u002F Check hydration status\nif (useStore.getState()._hasHydrated) {\n  console.log(\"State restored!\");\n}\n```\n\n### Session Synchronization\n\n```typescript\nimport { mergeSessions, mergeWithUpdate, mergeKeyValueStore } from \"openclaw-claude-code-skill\";\n\n\u002F\u002F Merge chat sessions from multiple sources\nconst mergedSessions = mergeSessions(localSessions, remoteSessions);\n\n\u002F\u002F Merge configs with timestamp-based resolution\nconst mergedConfig = mergeWithUpdate(localConfig, remoteConfig);\n```\n\n## Key Functions\n\n| Function | Purpose |\n|----------|---------|\n| `initializeMcpSystem()` | Start all MCP servers from config |\n| `addMcpServer(id, config)` | Add new server dynamically |\n| `removeMcpServer(id)` | Remove a server |\n| `pauseMcpServer(id)` | Pause a server |\n| `resumeMcpServer(id)` | Resume a paused server |\n| `executeMcpAction(id, req)` | Call a tool on specific server |\n| `getAllTools()` | List all available tools |\n| `getClientsStatus()` | Get status of all MCP clients |\n| `setConfigPath(path)` | Set custom config file location |\n| `createPersistStore()` | Create Zustand store with persistence |\n| `mergeSessions()` | Merge session arrays |\n| `mergeWithUpdate()` | Merge with timestamp resolution |\n| `mergeKeyValueStore()` | Merge key-value stores |\n\n## Configuration\n\nCreate `mcp_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"filesystem\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@modelcontextprotocol\u002Fserver-filesystem\", \"\u002Ftmp\"],\n      \"status\": \"active\"\n    },\n    \"github\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@modelcontextprotocol\u002Fserver-github\"],\n      \"env\": { \"GITHUB_TOKEN\": \"your-token\" },\n      \"status\": \"active\"\n    }\n  }\n}\n```\n\nSet custom config path:\n\n```typescript\nimport { setConfigPath } from \"openclaw-claude-code-skill\";\nsetConfigPath(\"\u002Fpath\u002Fto\u002Fmcp_config.json\");\n```\n\n## Requirements\n\n- Node.js 18+\n- TypeScript (optional but recommended)\n\n## Links\n\n- [GitHub](https:\u002F\u002Fgithub.com\u002FEnderfga\u002Fopenclaw-claude-code-skill)\n- [npm](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fopenclaw-claude-code-skill)\n- [MCP Specification](https:\u002F\u002Fspec.modelcontextprotocol.io\u002F)\n",{},"main","e7e336ac628c3e3bd771aff1aaa469c93778f94a","skills\u002Fenderfga\u002Fclaude-code-skill",0,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del","2026-08-23 22:39:37",{"source":7,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add kbarbel640-del\u002Fskills --skill claude-code-skill",{"tool":37,"command":38},"bunx","bunx skills add kbarbel640-del\u002Fskills --skill claude-code-skill",{"tool":40,"command":41},"pnpm","pnpm dlx skills add kbarbel640-del\u002Fskills --skill claude-code-skill","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fenderfga\u002Fclaude-code-skill\u002FSKILL.md",true,[45,51,57,61,65,69,73,77,81,85,89,93,97,101,105,109,113,117],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"_meta.json","REFERENCE","参考文档",288,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fenderfga\u002Fclaude-code-skill\u002F_meta.json",{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":55,"sourceHtmlUrl":56},"examples\u002Fbasic-mcp.ts","SCRIPT","脚本",1420,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fenderfga\u002Fclaude-code-skill\u002Fexamples\u002Fbasic-mcp.ts",{"path":58,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":59,"sourceHtmlUrl":60},"examples\u002Fchat-store.ts",3656,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fenderfga\u002Fclaude-code-skill\u002Fexamples\u002Fchat-store.ts",{"path":62,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":63,"sourceHtmlUrl":64},"mcp_config.example.json",648,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fenderfga\u002Fclaude-code-skill\u002Fmcp_config.example.json",{"path":66,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":67,"sourceHtmlUrl":68},"package.json",838,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fenderfga\u002Fclaude-code-skill\u002Fpackage.json",{"path":70,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":71,"sourceHtmlUrl":72},"README.md",5417,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fenderfga\u002Fclaude-code-skill\u002FREADME.md",{"path":74,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":75,"sourceHtmlUrl":76},"src\u002Findex.ts",940,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fenderfga\u002Fclaude-code-skill\u002Fsrc\u002Findex.ts",{"path":78,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":79,"sourceHtmlUrl":80},"src\u002Fmcp\u002Factions.ts",9606,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fenderfga\u002Fclaude-code-skill\u002Fsrc\u002Fmcp\u002Factions.ts",{"path":82,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":83,"sourceHtmlUrl":84},"src\u002Fmcp\u002Fclient.ts",1434,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fenderfga\u002Fclaude-code-skill\u002Fsrc\u002Fmcp\u002Fclient.ts",{"path":86,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":87,"sourceHtmlUrl":88},"src\u002Fmcp\u002Findex.ts",189,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fenderfga\u002Fclaude-code-skill\u002Fsrc\u002Fmcp\u002Findex.ts",{"path":90,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":91,"sourceHtmlUrl":92},"src\u002Fmcp\u002Flogger.ts",1244,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fenderfga\u002Fclaude-code-skill\u002Fsrc\u002Fmcp\u002Flogger.ts",{"path":94,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":95,"sourceHtmlUrl":96},"src\u002Fmcp\u002Ftypes.ts",3315,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fenderfga\u002Fclaude-code-skill\u002Fsrc\u002Fmcp\u002Ftypes.ts",{"path":98,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":99,"sourceHtmlUrl":100},"src\u002Fmcp\u002Futils.ts",477,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fenderfga\u002Fclaude-code-skill\u002Fsrc\u002Fmcp\u002Futils.ts",{"path":102,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":103,"sourceHtmlUrl":104},"src\u002Fstore\u002Findex.ts",148,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fenderfga\u002Fclaude-code-skill\u002Fsrc\u002Fstore\u002Findex.ts",{"path":106,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":107,"sourceHtmlUrl":108},"src\u002Fstore\u002Findexeddb-storage.ts",1638,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fenderfga\u002Fclaude-code-skill\u002Fsrc\u002Fstore\u002Findexeddb-storage.ts",{"path":110,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":111,"sourceHtmlUrl":112},"src\u002Fstore\u002Fpersist.ts",2270,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fenderfga\u002Fclaude-code-skill\u002Fsrc\u002Fstore\u002Fpersist.ts",{"path":114,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":115,"sourceHtmlUrl":116},"src\u002Fstore\u002Fsync.ts",3215,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fenderfga\u002Fclaude-code-skill\u002Fsrc\u002Fstore\u002Fsync.ts",{"path":118,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":119,"sourceHtmlUrl":120},"tsconfig.json",401,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fenderfga\u002Fclaude-code-skill\u002Ftsconfig.json",[122,148,172,190,195,215],{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":20},"01M6G8J55967D6281ACMKAKTEQ","crowd-prompting","A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzzadrian\u002Fcrowd-prompting\u002FSKILL.md",[],[129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147],"crowd prompting","prompting","api","with","tokens","domain","world","prompts","operations","instructions","text","tool","system","improve","productivity","marketplace","https","content","ai agents",{"skillNo":149,"name":150,"nameZh":6,"description":151,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":152,"categories":153,"keywords":154,"publishedAt":20},"01M6G8J0PKPAYVET6BWE8W4C26","dilemm-ai","Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzyori\u002Fdilemm-ai\u002FSKILL.md",[],[155,131,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,136,171],"dilemm ai","arena","analyze","browser","openclaw agent","create","automation","browser automation","bot","openclaw","design","strategy","headless","compete","submit","matchmaking","use",{"skillNo":173,"name":174,"nameZh":6,"description":175,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":176,"categories":177,"keywords":178,"publishedAt":20},"01M6G8HWAF3K9SW7NP3Z83CPJ6","arxiv-paper-reviews","Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date\u002Fcategory\u002Finterest, viewing paper details with comments, or submitting paper reviews via API at http:\u002F\u002F150.158.152.82:8000.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Fweak-accept\u002FSKILL.md",[],[179,180,181,182,183,184,185,132,186,169,171,187,131,188,189],"arxiv paper reviews","reviews","arxiv","paper","crawler","papers","comments","fetch","read","http","via",{"skillNo":191,"name":174,"nameZh":6,"description":175,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":192,"categories":193,"keywords":194,"publishedAt":20},"01M6G8HQJ7N7WMY6YV7D7SSJ16","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[],[182,181,180,179,189,184,185,132,183,169,171,186,187,131,188],{"skillNo":196,"name":197,"nameZh":6,"description":198,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":199,"categories":200,"keywords":201,"publishedAt":20},"01M6G8HM95Y64JNVFC2HN4E2BG","git-summary","Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzweack\u002Fgit-summary\u002FSKILL.md",[],[202,203,204,205,206,207,208,209,210,211,212,213,214],"git","summary","git summary","commits","repository","win32","status","linux","contributors","true","quick","get","branches",{"skillNo":216,"name":217,"nameZh":6,"description":218,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":219,"categories":220,"keywords":221,"publishedAt":20},"01M6G8HGEGF05CNEJCGVYFSC4R","agent-constitution","Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fztsalexey\u002Fagent-constitution\u002FSKILL.md",[],[222,223,224,225,132,226,227,24,228,187,229,230,231,232,233,145,234,235,236],"agent constitution","constitution","contracts","tree","query","base","log","check","Rules","projects","compliance","actions","state","governance","github"]