[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M76KJWMABYBX1JMZDBZR3FM9":3,"skill-same:01M76KJWMABYBX1JMZDBZR3FM9":66},{"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":34,"commitSha":35,"skillDirectory":36,"forksCount":13,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":39,"install":40,"resources":53},"01M76KJWMABYBX1JMZDBZR3FM9","openclaw-gateway-fd-fix",null,"Fix OpenClaw Gateway \"spawn EBADF\" \u002F \"RPC probe failed\" \u002F \"EMFILE too many open files\" errors caused by file descriptor exhaustion from too many files in workspace. One-click detection and repair for the most common OpenClaw crash issue.","meghal86\u002Fstacksignal","meghal86","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F37388715?v=4","01M6CS2EW8SK89GH52R2ZEN8QQ","01M728J5CGY456EETEFG6HJBTM",0,"MIT","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fopenclaw-gateway-fd-fix\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: openclaw-gateway-fd-fix\ndescription: >\n  Fix OpenClaw Gateway \"spawn EBADF\" \u002F \"RPC probe failed\" \u002F \"EMFILE too many open files\" errors caused by file descriptor exhaustion from too many files in workspace.\n  One-click detection and repair for the most common OpenClaw crash issue.\nversion: 1.0.0\nauthor: thomas-jian-zhang\nlicense: MIT\ntags:\n  - openclaw\n  - gateway\n  - troubleshooting\n  - fd-exhaustion\n  - emfile\n  - spawn-ebadf\n  - maintenance\n---\n\n# OpenClaw Gateway File Descriptor Exhaustion Fix\n\n## Problem\nOpenClaw Gateway crashes or hangs with these errors:\n- `spawn EBADF` when running exec commands\n- `RPC probe failed` \u002F gateway timeout\n- Logs show `EMFILE: too many open files, watch`\n- Gateway process is running but unresponsive\n\n## Root Cause\nThe Gateway automatically watches **all files** under `~\u002F.openclaw\u002Fworkspace\u002F` for changes. If you place virtual environments (`.venv`), `node_modules`, large datasets, or tens of thousands of small files inside workspace, the file watcher will exceed macOS's default file descriptor limit (256), causing the process to hang.\n\n## Usage\n\n### Auto-Fix (Recommended)\nRun the one-click repair script:\n```bash\nbash fix.sh\n```\nWhat it does:\n1. Detects workspace file count\n2. Finds and removes unnecessary dependency directories (`.venv`, `node_modules`) inside workspace\n3. Backs up your existing LaunchAgent plist\n4. Updates LaunchAgent to set file descriptor limit to 524,288\n5. Restarts the Gateway service\n6. Verifies service health\n\n### Manual Fix Steps\nIf you prefer to fix manually:\n1. **Remove large directories from workspace**:\n   ```bash\n   # Never put these inside ~\u002F.openclaw\u002Fworkspace\u002F:\n   rm -rf ~\u002F.openclaw\u002Fworkspace\u002F*\u002F.venv\n   rm -rf ~\u002F.openclaw\u002Fworkspace\u002F*\u002Fnode_modules\n   # Move datasets\u002Fmodels\u002Fvenvs to ~\u002FDownloads\u002F or \u002Ftmp\u002F\n   ```\n2. **Update LaunchAgent resource limits**:\n   Edit `~\u002FLibrary\u002FLaunchAgents\u002Fai.openclaw.gateway.plist` and add inside the root `\u003Cdict>`:\n   ```xml\n   \u003Ckey>HardResourceLimits\u003C\u002Fkey>\n   \u003Cdict>\n     \u003Ckey>NumberOfFiles\u003C\u002Fkey>\n     \u003Cinteger>524288\u003C\u002Finteger>\n   \u003C\u002Fdict>\n   \u003Ckey>SoftResourceLimits\u003C\u002Fkey>\n   \u003Cdict>\n     \u003Ckey>NumberOfFiles\u003C\u002Fkey>\n     \u003Cinteger>524288\u003C\u002Finteger>\n   \u003C\u002Fdict>\n   ```\n3. **Restart Gateway**:\n   ```bash\n   launchctl bootout gui\u002F$(id -u) ~\u002FLibrary\u002FLaunchAgents\u002Fai.openclaw.gateway.plist\n   launchctl bootstrap gui\u002F$(id -u) ~\u002FLibrary\u002FLaunchAgents\u002Fai.openclaw.gateway.plist\n   sleep 10 && openclaw gateway status\n   ```\n\n## Permanent Rule (NEVER BREAK)\n✅ **Do NOT put these inside `~\u002F.openclaw\u002Fworkspace\u002F`:**\n- Python virtual environments (`.venv`, `venv`)\n- Node.js `node_modules` directories\n- Large datasets (>1000 files)\n- AI model weights (.pt, .bin, .pth files)\n- Cache directories with thousands of small files\n\n✅ **Put these outside workspace:** `\u002Ftmp\u002F`, `~\u002FDownloads\u002F`, or any directory outside `~\u002F.openclaw\u002Fworkspace\u002F`\n\n## Verification\nAfter fix, run:\n```bash\nopenclaw gateway status\n```\nYou should see `RPC probe: ok` in the output.\n\n## Troubleshooting\nIf fix fails:\n1. Check logs: `tail -50 ~\u002F.openclaw\u002Flogs\u002Fgateway.err.log`\n2. Verify no large directories remain in workspace: `find ~\u002F.openclaw\u002Fworkspace -type f | wc -l` (should be \u003C 1000)\n3. Manually restart Gateway: `openclaw gateway stop && openclaw gateway install`\n","# OpenClaw Gateway File Descriptor Exhaustion Fix\n\n## Problem\nOpenClaw Gateway crashes or hangs with these errors:\n- `spawn EBADF` when running exec commands\n- `RPC probe failed` \u002F gateway timeout\n- Logs show `EMFILE: too many open files, watch`\n- Gateway process is running but unresponsive\n\n## Root Cause\nThe Gateway automatically watches **all files** under `~\u002F.openclaw\u002Fworkspace\u002F` for changes. If you place virtual environments (`.venv`), `node_modules`, large datasets, or tens of thousands of small files inside workspace, the file watcher will exceed macOS's default file descriptor limit (256), causing the process to hang.\n\n## Usage\n\n### Auto-Fix (Recommended)\nRun the one-click repair script:\n```bash\nbash fix.sh\n```\nWhat it does:\n1. Detects workspace file count\n2. Finds and removes unnecessary dependency directories (`.venv`, `node_modules`) inside workspace\n3. Backs up your existing LaunchAgent plist\n4. Updates LaunchAgent to set file descriptor limit to 524,288\n5. Restarts the Gateway service\n6. Verifies service health\n\n### Manual Fix Steps\nIf you prefer to fix manually:\n1. **Remove large directories from workspace**:\n   ```bash\n   # Never put these inside ~\u002F.openclaw\u002Fworkspace\u002F:\n   rm -rf ~\u002F.openclaw\u002Fworkspace\u002F*\u002F.venv\n   rm -rf ~\u002F.openclaw\u002Fworkspace\u002F*\u002Fnode_modules\n   # Move datasets\u002Fmodels\u002Fvenvs to ~\u002FDownloads\u002F or \u002Ftmp\u002F\n   ```\n2. **Update LaunchAgent resource limits**:\n   Edit `~\u002FLibrary\u002FLaunchAgents\u002Fai.openclaw.gateway.plist` and add inside the root `\u003Cdict>`:\n   ```xml\n   \u003Ckey>HardResourceLimits\u003C\u002Fkey>\n   \u003Cdict>\n     \u003Ckey>NumberOfFiles\u003C\u002Fkey>\n     \u003Cinteger>524288\u003C\u002Finteger>\n   \u003C\u002Fdict>\n   \u003Ckey>SoftResourceLimits\u003C\u002Fkey>\n   \u003Cdict>\n     \u003Ckey>NumberOfFiles\u003C\u002Fkey>\n     \u003Cinteger>524288\u003C\u002Finteger>\n   \u003C\u002Fdict>\n   ```\n3. **Restart Gateway**:\n   ```bash\n   launchctl bootout gui\u002F$(id -u) ~\u002FLibrary\u002FLaunchAgents\u002Fai.openclaw.gateway.plist\n   launchctl bootstrap gui\u002F$(id -u) ~\u002FLibrary\u002FLaunchAgents\u002Fai.openclaw.gateway.plist\n   sleep 10 && openclaw gateway status\n   ```\n\n## Permanent Rule (NEVER BREAK)\n✅ **Do NOT put these inside `~\u002F.openclaw\u002Fworkspace\u002F`:**\n- Python virtual environments (`.venv`, `venv`)\n- Node.js `node_modules` directories\n- Large datasets (>1000 files)\n- AI model weights (.pt, .bin, .pth files)\n- Cache directories with thousands of small files\n\n✅ **Put these outside workspace:** `\u002Ftmp\u002F`, `~\u002FDownloads\u002F`, or any directory outside `~\u002F.openclaw\u002Fworkspace\u002F`\n\n## Verification\nAfter fix, run:\n```bash\nopenclaw gateway status\n```\nYou should see `RPC probe: ok` in the output.\n\n## Troubleshooting\nIf fix fails:\n1. Check logs: `tail -50 ~\u002F.openclaw\u002Flogs\u002Fgateway.err.log`\n2. Verify no large directories remain in workspace: `find ~\u002F.openclaw\u002Fworkspace -type f | wc -l` (should be \u003C 1000)\n3. Manually restart Gateway: `openclaw gateway stop && openclaw gateway install`\n",{"name":5,"tags":23,"author":31,"license":14,"version":32,"description":33},[24,25,26,27,28,29,30],"openclaw","gateway","troubleshooting","fd-exhaustion","emfile","spawn-ebadf","maintenance","thomas-jian-zhang","1.0.0","Fix OpenClaw Gateway \"spawn EBADF\" \u002F \"RPC probe failed\" \u002F \"EMFILE too many open files\" errors caused by file descriptor exhaustion from too many files in workspace. One-click detection and repair for the most common OpenClaw crash issue.\n","main","54afe4b75ed2eb8f0feabb2f5b57dfa4bcbb3c44",".agents\u002Fskills\u002Fopenclaw-gateway-fd-fix","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal","https:\u002F\u002Fgithub.com\u002Fmeghal86","2026-05-17 14:11:28",{"source":8,"skillName":5,"commands":41,"prompt":51,"zipAvailable":52},[42,45,48],{"tool":43,"command":44},"npx","npx skills add meghal86\u002Fstacksignal --skill openclaw-gateway-fd-fix",{"tool":46,"command":47},"bunx","bunx skills add meghal86\u002Fstacksignal --skill openclaw-gateway-fd-fix",{"tool":49,"command":50},"pnpm","pnpm dlx skills add meghal86\u002Fstacksignal --skill openclaw-gateway-fd-fix","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fopenclaw-gateway-fd-fix\u002FSKILL.md",true,[54,60],{"path":55,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":58,"sourceHtmlUrl":59},"_meta.json","REFERENCE","参考文档",307,"https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fopenclaw-gateway-fd-fix\u002F_meta.json",{"path":61,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":64,"sourceHtmlUrl":65},"fix.sh","SCRIPT","脚本",3660,"https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fopenclaw-gateway-fd-fix\u002Ffix.sh",[67,76,84,92,100,107],{"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":14,"licenseFileUrl":71,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":75},"01M78XH0FRP65NYEDHF2BT7NB1","zvukogram","Text-to-Speech via Zvukogram API with SSML support. Use when you need to generate speech from text, create podcasts, voice notifications, or work with audio. Supports speed control, stress marks, English word transcription, and audio fragment merging.","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzvukogram\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzvukogram\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"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":75},"01M78XEND5ASXYB6MN8AQQGJAF","zohomail","Zoho Mail API integration with managed OAuth. Send, receive, and manage emails, folders, and labels.\nUse this skill when users want to send emails, read messages, manage folders, or work with email labels in Zoho Mail.\nFor other third party apps, use the api-gateway skill (https:\u002F\u002Fclawhub.ai\u002Fbyungkyu\u002Fapi-gateway).\nRequires network access and valid Maton API key.","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzohomail\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzohomail\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":88,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":75},"01M78XEBBV3C6DRZFAJXP6RDKS","zoho-recruit","Zoho Recruit API integration with managed OAuth. Manage candidates, job openings, interviews, and recruitment workflows.\nUse this skill when users want to read, create, update, or search recruitment data like candidates, job openings, interviews, and applications in Zoho Recruit.\nFor other third party apps, use the api-gateway skill (https:\u002F\u002Fclawhub.ai\u002Fbyungkyu\u002Fapi-gateway).\nRequires network access and valid Maton API key.","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzoho-recruit\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzoho-recruit\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":96,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":75},"01M78XE5CQG75DZWYSKGXFR99T","zoho-people","Zoho People API integration with managed OAuth. Manage employees, departments, designations, attendance, and leave.\nUse this skill when users want to read, create, update, or query HR data like employees, departments, designations, and forms in Zoho People.\nFor other third party apps, use the api-gateway skill (https:\u002F\u002Fclawhub.ai\u002Fbyungkyu\u002Fapi-gateway).\nRequires network access and valid Maton API key.","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzoho-people\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzoho-people\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":103,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":75},"01M78XDZKMZAJYFJJFT7MR5ZN2","zoho-mail","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzoho-mail\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzoho-mail\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":111,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":75},"01M78XDST8JK0WVDA1F3VPNWXD","zoho-inventory","Zoho Inventory API integration with managed OAuth. Manage items, sales orders, invoices, purchase orders, bills, contacts, and shipments.\nUse this skill when users want to read, create, update, or delete inventory items, sales orders, invoices, purchase orders, bills, or other inventory records in Zoho Inventory.\nFor other third party apps, use the api-gateway skill (https:\u002F\u002Fclawhub.ai\u002Fbyungkyu\u002Fapi-gateway).\nRequires network access and valid Maton API key.","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzoho-inventory\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fmeghal86\u002Fstacksignal\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fzoho-inventory\u002FSKILL.md",[],[]]