[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M69A46F2Q5M5RR43HW1JR031":3,"skill-same:01M69A46F2Q5M5RR43HW1JR031":58},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":7,"sourceHtmlUrl":17,"categories":18,"keywords":29,"publishedAt":31,"linkOnly":32,"markdownContent":33,"markdownBody":33,"frontMatter":34,"refName":35,"commitSha":36,"skillDirectory":37,"forksCount":38,"repositoryHtmlUrl":39,"repositoryHomepageUrl":7,"ownerHtmlUrl":40,"ownerBlogUrl":41,"ownerDescription":42,"updatedAt":43,"install":44,"resources":57},"01M69A46F2Q5M5RR43HW1JR031","add-parallel","并行处理配置",null,"","microsoft\u002Famplifier-app-nanoclaw","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M69A31J3GTKVZDZZVPRQWWR5",5,"MIT","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Famplifier-app-nanoclaw\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fadd-parallel\u002FSKILL.md",[19,24],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师","PROFESSION","适用职业",{"categoryNo":25,"categoryName":26,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BSAA4FBTWZP6X98STEHG99","智能体开发","SCENARIO","使用场景",[30],"add parallel","2026-11-10 10:12:30",false,"# Add Parallel AI Integration\n\nAdds Parallel AI MCP integration to NanoClaw for advanced web research capabilities.\n\n## What This Adds\n\n- **Quick Search** - Fast web lookups using Parallel Search API (free to use)\n- **Deep Research** - Comprehensive analysis using Parallel Task API (asks permission)\n- **Non-blocking Design** - Uses NanoClaw scheduler for result polling (no container blocking)\n\n## Prerequisites\n\nUser must have:\n1. Parallel AI API key from https:\u002F\u002Fplatform.parallel.ai\n2. NanoClaw already set up and running\n3. Docker installed and running\n\n## Implementation Steps\n\nRun all steps automatically. Only pause for user input when explicitly needed.\n\n### 1. Get Parallel AI API Key\n\nUse `AskUserQuestion: Do you have a Parallel AI API key, or should I help you get one?`\n\n**If they have one:**\nCollect it now.\n\n**If they need one:**\nTell them:\n> 1. Go to https:\u002F\u002Fplatform.parallel.ai\n> 2. Sign up or log in\n> 3. Navigate to API Keys section\n> 4. Create a new API key\n> 5. Copy the key and paste it here\n\nWait for the API key.\n\n### 2. Add API Key to Environment\n\nAdd `PARALLEL_API_KEY` to `.env`:\n\n```bash\n# Check if .env exists, create if not\nif [ ! -f .env ]; then\n    touch .env\nfi\n\n# Add PARALLEL_API_KEY if not already present\nif ! grep -q \"PARALLEL_API_KEY=\" .env; then\n    echo \"PARALLEL_API_KEY=${API_KEY_FROM_USER}\" >> .env\n    echo \"✓ Added PARALLEL_API_KEY to .env\"\nelse\n    # Update existing key\n    sed -i.bak \"s\u002F^PARALLEL_API_KEY=.*\u002FPARALLEL_API_KEY=${API_KEY_FROM_USER}\u002F\" .env\n    echo \"✓ Updated PARALLEL_API_KEY in .env\"\nfi\n```\n\nVerify:\n```bash\ngrep \"PARALLEL_API_KEY\" .env | head -c 50\n```\n\n### 3. Update Container Runner\n\nAdd `PARALLEL_API_KEY` to allowed environment variables in `src\u002Fcontainer-runner.ts`:\n\nFind the line:\n```typescript\nconst allowedVars = ['CLAUDE_CODE_OAUTH_TOKEN', 'ANTHROPIC_API_KEY'];\n```\n\nReplace with:\n```typescript\nconst allowedVars = ['CLAUDE_CODE_OAUTH_TOKEN', 'ANTHROPIC_API_KEY', 'PARALLEL_API_KEY'];\n```\n\n### 4. Configure MCP Servers in Agent Runner\n\nUpdate `container\u002Fagent-runner\u002Fsrc\u002Findex.ts`:\n\nFind the section where `mcpServers` is configured (around line 237-252):\n```typescript\nconst mcpServers: Record\u003Cstring, any> = {\n  nanoclaw: ipcMcp\n};\n```\n\nAdd Parallel AI MCP servers after the nanoclaw server:\n```typescript\nconst mcpServers: Record\u003Cstring, any> = {\n  nanoclaw: ipcMcp\n};\n\n\u002F\u002F Add Parallel AI MCP servers if API key is available\nconst parallelApiKey = process.env.PARALLEL_API_KEY;\nif (parallelApiKey) {\n  mcpServers['parallel-search'] = {\n    type: 'http',  \u002F\u002F REQUIRED: Must specify type for HTTP MCP servers\n    url: 'https:\u002F\u002Fsearch-mcp.parallel.ai\u002Fmcp',\n    headers: {\n      'Authorization': `Bearer ${parallelApiKey}`\n    }\n  };\n  mcpServers['parallel-task'] = {\n    type: 'http',  \u002F\u002F REQUIRED: Must specify type for HTTP MCP servers  \n    url: 'https:\u002F\u002Ftask-mcp.parallel.ai\u002Fmcp',\n    headers: {\n      'Authorization': `Bearer ${parallelApiKey}`\n    }\n  };\n  log('Parallel AI MCP servers configured');\n} else {\n  log('PARALLEL_API_KEY not set, skipping Parallel AI integration');\n}\n```\n\nAlso update the `allowedTools` array to include Parallel MCP tools (around line 242-248):\n```typescript\nallowedTools: [\n  'Bash',\n  'Read', 'Write', 'Edit', 'Glob', 'Grep',\n  'WebSearch', 'WebFetch',\n  'mcp__nanoclaw__*',\n  'mcp__parallel-search__*',\n  'mcp__parallel-task__*'\n],\n```\n\n### 5. Add Usage Instructions to CLAUDE.md\n\nAdd Parallel AI usage instructions to `groups\u002Fmain\u002FCLAUDE.md`:\n\nFind the \"## What You Can Do\" section and add after the existing bullet points:\n```markdown\n- Use Parallel AI for web research and deep learning tasks\n```\n\nThen add a new section after \"## What You Can Do\":\n```markdown\n## Web Research Tools\n\nYou have access to two Parallel AI research tools:\n\n### Quick Web Search (`mcp__parallel-search__search`)\n**When to use:** Freely use for factual lookups, current events, definitions, recent information, or verifying facts.\n\n**Examples:**\n- \"Who invented the transistor?\"\n- \"What's the latest news about quantum computing?\"\n- \"When was the UN founded?\"\n- \"What are the top programming languages in 2026?\"\n\n**Speed:** Fast (2-5 seconds)\n**Cost:** Low\n**Permission:** Not needed - use whenever it helps answer the question\n\n### Deep Research (`mcp__parallel-task__create_task_run`)\n**When to use:** Comprehensive analysis, learning about complex topics, comparing concepts, historical overviews, or structured research.\n\n**Examples:**\n- \"Explain the development of quantum mechanics from 1900-1930\"\n- \"Compare the literary styles of Hemingway and Faulkner\"\n- \"Research the evolution of jazz from bebop to fusion\"\n- \"Analyze the causes of the French Revolution\"\n\n**Speed:** Slower (1-20 minutes depending on depth)\n**Cost:** Higher (varies by processor tier)\n**Permission:** ALWAYS use `AskUserQuestion` before using this tool\n\n**How to ask permission:**\n```\nAskUserQuestion: I can do deep research on [topic] using Parallel's Task API. This will take 2-5 minutes and provide comprehensive analysis with citations. Should I proceed?\n```\n\n**After permission - DO NOT BLOCK! Use scheduler instead:**\n\n1. Create the task using `mcp__parallel-task__create_task_run`\n2. Get the `run_id` from the response\n3. Create a polling scheduled task using `mcp__nanoclaw__schedule_task`:\n   ```\n   Prompt: \"Check Parallel AI task run [run_id] and send results when ready.\n\n   1. Use the Parallel Task MCP to check the task status\n   2. If status is 'completed', extract the results\n   3. Send results to user with mcp__nanoclaw__send_message\n   4. Use mcp__nanoclaw__complete_scheduled_task to mark this task as done\n\n   If status is still 'running' or 'pending', do nothing (task will run again in 30s).\n   If status is 'failed', send error message and complete the task.\"\n\n   Schedule: interval every 30 seconds\n   Context mode: isolated\n   ```\n4. Send acknowledgment with tracking link\n5. Exit immediately - scheduler handles the rest\n\n### Choosing Between Them\n\n**Use Search when:**\n- Question needs a quick fact or recent information\n- Simple definition or clarification\n- Verifying specific details\n- Current events or news\n\n**Use Deep Research (with permission) when:**\n- User wants to learn about a complex topic\n- Question requires analysis or comparison\n- Historical context or evolution of concepts\n- Structured, comprehensive understanding needed\n- User explicitly asks to \"research\" or \"explain in depth\"\n\n**Default behavior:** Prefer search for most questions. Only suggest deep research when the topic genuinely requires comprehensive analysis.\n```\n\n### 6. Rebuild Container\n\nBuild the container with updated agent runner:\n\n```bash\n.\u002Fcontainer\u002Fbuild.sh\n```\n\nVerify the build:\n```bash\necho '{}' | docker run -i --entrypoint \u002Fbin\u002Fecho nanoclaw-agent:latest \"Container OK\"\n```\n\n### 7. Restart Service\n\nRebuild the main app and restart.\n\nRun from your NanoClaw project root:\n\n```bash\npnpm run build\nsource setup\u002Flib\u002Finstall-slug.sh\nlaunchctl kickstart -k gui\u002F$(id -u)\u002F$(launchd_label)  # macOS\n# Linux: systemctl --user restart $(systemd_unit)\n```\n\nWait 3 seconds for service to start, then verify:\n```bash\nsleep 3\nlaunchctl list | grep \"$(. setup\u002Flib\u002Finstall-slug.sh && launchd_label)\"  # macOS\n# Linux: systemctl --user status \"$(. setup\u002Flib\u002Finstall-slug.sh && systemd_unit)\"\n```\n\n### 8. Test Integration\n\nTell the user to test:\n> Send a message to your assistant: `@[YourAssistantName] what's the latest news about AI?`\n>\n> The assistant should use Parallel Search API to find current information.\n>\n> Then try: `@[YourAssistantName] can you research the history of artificial intelligence?`\n>\n> The assistant should ask for permission before using the Task API.\n\nCheck logs to verify MCP servers loaded:\n```bash\ntail -20 logs\u002Fnanoclaw.log\n```\n\nLook for: `Parallel AI MCP servers configured`\n\n## Troubleshooting\n\n**Container hangs or times out:**\n- Check that `type: 'http'` is specified in MCP server config\n- Verify API key is correct in .env\n- Check container logs: `cat groups\u002Fmain\u002Flogs\u002Fcontainer-*.log | tail -50`\n\n**MCP servers not loading:**\n- Ensure PARALLEL_API_KEY is in .env\n- Verify container-runner.ts includes PARALLEL_API_KEY in allowedVars\n- Check agent-runner logs for \"Parallel AI MCP servers configured\" message\n\n**Task polling not working:**\n- Verify scheduled task was created: `pnpm exec tsx scripts\u002Fq.ts store\u002Fmessages.db \"SELECT * FROM scheduled_tasks\"`\n- Check task runs: `tail -f logs\u002Fnanoclaw.log | grep \"scheduled task\"`\n- Ensure task prompt includes proper Parallel MCP tool names\n\n## Uninstalling\n\nTo remove Parallel AI integration:\n\n1. Remove from .env: `sed -i.bak '\u002FPARALLEL_API_KEY\u002Fd' .env`\n2. Revert changes to container-runner.ts and agent-runner\u002Fsrc\u002Findex.ts\n3. Remove Web Research Tools section from groups\u002Fmain\u002FCLAUDE.md\n4. Rebuild: `.\u002Fcontainer\u002Fbuild.sh && pnpm run build`\n5. Restart: `source setup\u002Flib\u002Finstall-slug.sh && launchctl kickstart -k gui\u002F$(id -u)\u002F$(launchd_label)` (macOS) or `source setup\u002Flib\u002Finstall-slug.sh && systemctl --user restart $(systemd_unit)` (Linux)\n",{},"main","85a2d934766d21e4696ac1b00157179f28bca9e3",".claude\u002Fskills\u002Fadd-parallel",2,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Famplifier-app-nanoclaw","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-10-30 04:24:16",{"source":9,"skillName":5,"commands":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add microsoft\u002Famplifier-app-nanoclaw --skill add-parallel",{"tool":50,"command":51},"bunx","bunx skills add microsoft\u002Famplifier-app-nanoclaw --skill add-parallel",{"tool":53,"command":54},"pnpm","pnpm dlx skills add microsoft\u002Famplifier-app-nanoclaw --skill add-parallel","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Famplifier-app-nanoclaw\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fadd-parallel\u002FSKILL.md",true,[],[59,76,89,108,121,135],{"skillNo":60,"name":61,"nameZh":62,"description":63,"descriptionZh":64,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":7,"sourceHtmlUrl":65,"categories":66,"keywords":73,"publishedAt":31},"01M69A6E27JZN10H82TZ2GMC3A","whatsapp-formatting","WhatsApp 消息格式化","Format messages for WhatsApp, including mentions that render as real WhatsApp tags. Use when responding in a WhatsApp conversation (platform_id \u002F chatJid ends with @s.whatsapp.net or @g.us).","为 WhatsApp 格式化消息，包括可渲染为真实 WhatsApp 标签的提及（mention）。在 WhatsApp 对话中回复时使用（platform_id \u002F chatJid 以 @s.whatsapp.net 或 @g.us 结尾）。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Famplifier-app-nanoclaw\u002Fblob\u002Fmain\u002Fcontainer\u002Fskills\u002Fwhatsapp-formatting\u002FSKILL.md",[67,70],{"categoryNo":68,"categoryName":69,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BREN0B06CC08183RHQ4ETG","即时通讯与消息处理",{"categoryNo":71,"categoryName":72,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BS5011KJDVSRXG1DC4P666","普通用户",[74,75],"whatsapp","whatsapp formatting",{"skillNo":77,"name":78,"nameZh":79,"description":80,"descriptionZh":81,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":7,"sourceHtmlUrl":82,"categories":83,"keywords":88,"publishedAt":31},"01M69A6CGJ968RNVGYTRSWZKWB","welcome","新频道欢迎引导","Introduce yourself to a newly connected channel. Triggered automatically when a channel is first wired. Send a friendly greeting and brief overview of what you can do.","向新连接的频道介绍自己。当频道首次接入时自动触发。发送友好的问候和简要的功能概述。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Famplifier-app-nanoclaw\u002Fblob\u002Fmain\u002Fcontainer\u002Fskills\u002Fwelcome\u002FSKILL.md",[84,87],{"categoryNo":85,"categoryName":86,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BQ6TPX3VFVPP2WMQ6F0159","内部沟通专员",{"categoryNo":68,"categoryName":69,"taxonomyType":27,"taxonomyTypeDesc":28},[78],{"skillNo":90,"name":91,"nameZh":92,"description":93,"descriptionZh":94,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":7,"sourceHtmlUrl":95,"categories":96,"keywords":103,"publishedAt":31},"01M69A6ADX690STSN63WKRD37K","vercel-cli","Vercel 应用部署","Deploy apps to Vercel. Use when asked to deploy, ship, or publish a web application, or manage Vercel projects, domains, and environment variables.","将应用部署到 Vercel。当用户要求部署、发布 Web 应用，或管理 Vercel 项目、域名和环境变量时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Famplifier-app-nanoclaw\u002Fblob\u002Fmain\u002Fcontainer\u002Fskills\u002Fvercel-cli\u002FSKILL.md",[97,100],{"categoryNo":98,"categoryName":99,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师",{"categoryNo":101,"categoryName":102,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BQNXPY1AV6BSR5VKHDMWRH","部署与发布管理",[104,105,106,107],"cli","vercel cli","web","deploy",{"skillNo":109,"name":110,"nameZh":111,"description":112,"descriptionZh":113,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":7,"sourceHtmlUrl":114,"categories":115,"keywords":118,"publishedAt":31},"01M69A68WJ94V4MXGXGK9T0QG7","slack-formatting","Slack 消息格式化","Format messages for Slack using mrkdwn syntax. Use when responding to Slack channels (folder starts with \"slack_\" or JID contains slack identifiers).","使用 mrkdwn 语法为 Slack 格式化消息。当回复 Slack 频道时使用（文件夹以“slack_”开头，或 JID 包含 slack 标识符）。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Famplifier-app-nanoclaw\u002Fblob\u002Fmain\u002Fcontainer\u002Fskills\u002Fslack-formatting\u002FSKILL.md",[116,117],{"categoryNo":85,"categoryName":86,"taxonomyType":22,"taxonomyTypeDesc":23},{"categoryNo":68,"categoryName":69,"taxonomyType":27,"taxonomyTypeDesc":28},[119,120],"slack","slack formatting",{"skillNo":122,"name":123,"nameZh":124,"description":125,"descriptionZh":126,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":7,"sourceHtmlUrl":127,"categories":128,"keywords":131,"publishedAt":31},"01M69A673Z17TDXK3DBC5YJFM7","self-customize","智能体自我定制","Customize your own agent — add capabilities, install packages, add MCP servers, edit code or CLAUDE.md. Use when the user asks you to add a feature, install a tool, or modify how you work. For non-trivial code changes, delegate to a builder agent via create_agent.","定制你自己的智能体——添加能力、安装包、添加 MCP 服务器、编辑代码或 CLAUDE.md。当用户要求你添加功能、安装工具或修改工作方式时使用。对于非平凡的代码改动，请通过 create_agent 委派给构建智能体处理。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Famplifier-app-nanoclaw\u002Fblob\u002Fmain\u002Fcontainer\u002Fskills\u002Fself-customize\u002FSKILL.md",[129,130],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},{"categoryNo":25,"categoryName":26,"taxonomyType":27,"taxonomyTypeDesc":28},[132,133,134],"customize","self customize","MCP",{"skillNo":136,"name":137,"nameZh":138,"description":139,"descriptionZh":140,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":7,"sourceHtmlUrl":141,"categories":142,"keywords":149,"publishedAt":31},"01M69A657JFNEG45Z1Y05BVK5R","onecli-gateway","OneCLI 网关凭证代理","OneCLI Gateway: transparent HTTPS proxy that injects stored credentials into outbound calls. You MUST use this skill when the user asks you to read emails, check calendar, access GitHub repos, create issues, check Stripe payments, or interact with ANY external service or API. Do NOT use browser extensions or OAuth CLI tools. Make HTTP requests directly; the gateway injects credentials automatically.","OneCLI 网关：一种透明的 HTTPS 代理，可将存储的凭证注入到对外调用中。当用户要求读取电子邮件、查看日历、访问 GitHub 仓库、创建 issue、检查 Stripe 付款，或与任何外部服务或 API 交互时，你必须使用本技能。不要使用浏览器扩展或 OAuth CLI 工具。直接发起 HTTP 请求；网关会自动注入凭证。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Famplifier-app-nanoclaw\u002Fblob\u002Fmain\u002Fcontainer\u002Fskills\u002Fonecli-gateway\u002FSKILL.md",[143,146],{"categoryNo":144,"categoryName":145,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BR4MYFKGCC4WCWVJ50KJ2C","安全工程师",{"categoryNo":147,"categoryName":148,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BS1P5QP54ZNEBFHBTV293T","API 网关配置与管理",[150,104,151,152],"onecli gateway","github","repos"]