[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M784GPNG284J3XBCKBGABZ53":3,"skill-same:01M784GPNG284J3XBCKBGABZ53":47},{"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":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M784GPNG284J3XBCKBGABZ53","add-feishu",null,"Add Feishu (飞书\u002FLark) as a channel. Uses WebSocket long connection mode — no public URL needed. Bot responds to all messages (no trigger required).","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fskills_sh\u002Fs\u002Fskills-sh_sugarforever_01coder-agent-skills_add-feishu\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: add-feishu\ndescription: Add Feishu (飞书\u002FLark) as a channel. Uses WebSocket long connection mode — no public URL needed. Bot responds to all messages (no trigger required).\n---\n\n# Add Feishu Channel\n\nThis skill adds Feishu (飞书) support to NanoClaw using the skills engine for deterministic code changes, then walks through interactive setup.\n\n## Phase 1: Pre-flight\n\n### Check if already applied\n\nRead `.nanoclaw\u002Fstate.yaml`. If `feishu` is in `applied_skills`, skip to Phase 3 (Setup). The code changes are already in place.\n\n### Ask the user\n\nUse `AskUserQuestion` to collect configuration:\n\nAskUserQuestion: Do you have a Feishu app already, or do you need to create one?\n\nIf they have one, collect `FEISHU_APP_ID` and `FEISHU_APP_SECRET` now. If not, we'll create one in Phase 3.\n\n## Phase 2: Apply Code Changes\n\nRun the skills engine to apply this skill's code package. The package files are in this directory alongside this SKILL.md.\n\n### Initialize skills system (if needed)\n\nIf `.nanoclaw\u002F` directory doesn't exist yet:\n\n```bash\nnpx tsx scripts\u002Fapply-skill.ts --init\n```\n\n### Apply the skill\n\n```bash\nnpx tsx scripts\u002Fapply-skill.ts .claude\u002Fskills\u002Fadd-feishu\n```\n\nThis deterministically:\n- Adds `src\u002Fchannels\u002Ffeishu.ts` (FeishuChannel class implementing Channel interface)\n- Three-way merges Feishu support into `src\u002Findex.ts` (reads credentials via `readEnvFile`, creates FeishuChannel if configured)\n- Installs the `@larksuiteoapi\u002Fnode-sdk` npm dependency\n- Updates `.env` with `FEISHU_APP_ID` and `FEISHU_APP_SECRET`\n- Records the application in `.nanoclaw\u002Fstate.yaml`\n\nIf the apply reports merge conflicts, read the intent file:\n- `modify\u002Fsrc\u002Findex.ts.intent.md` — what changed and invariants for index.ts\n\n### Validate code changes\n\n```bash\nnpm run build\n```\n\nBuild must be clean before proceeding.\n\n## Phase 3: Setup\n\n### Create Feishu App (if needed)\n\nIf the user doesn't have a Feishu app, tell them:\n\n> I need you to create a Feishu bot:\n>\n> 1. Go to [Feishu Open Platform](https:\u002F\u002Fopen.feishu.cn\u002Fapp) and create a new app\n> 2. Under **Credentials**, copy the **App ID** and **App Secret**\n> 3. Under **Event Subscriptions**, enable **Long Connection (WebSocket)** mode\n> 4. Add the event: `im.message.receive_v1` (Receive messages)\n> 5. Under **Permissions**, add:\n>    - `im:message:send_as_bot` (Send messages as bot)\n>    - `im:message` (Read messages)\n> 6. **Publish** the app (or create a version and approve it)\n\nWait for the user to provide the App ID and App Secret.\n\n### Configure environment\n\nAdd to `.env`:\n\n```bash\nFEISHU_APP_ID=\u003Ctheir-app-id>\nFEISHU_APP_SECRET=\u003Ctheir-app-secret>\n```\n\n### Build and restart\n\n```bash\nnpm run build\nlaunchctl kickstart -k gui\u002F$(id -u)\u002Fcom.nanoclaw  # macOS\n# Linux: systemctl --user restart nanoclaw\n```\n\n## Phase 4: Registration\n\n### Get Chat ID\n\nTell the user:\n\n> 1. Start the bot: `npm run dev`\n> 2. Send any message to the bot in Feishu (DM or group)\n> 3. Check the logs — the chat_id will appear in the metadata\n> 4. The JID format is `{chat_id}@feishu`\n\nOr check the database directly:\n\n```bash\nsqlite3 store\u002Fmessages.db \"SELECT jid FROM chats WHERE jid LIKE '%@feishu'\"\n```\n\n### Register the chat\n\nRegister directly in SQLite:\n\n```sql\nINSERT INTO registered_groups (jid, name, folder, trigger_pattern, added_at, requires_trigger)\nVALUES ('{chat_id}@feishu', 'feishu', 'feishu', '@{ASSISTANT_NAME}', datetime('now'), 0);\n```\n\nNote: `requires_trigger` is set to `0` (false) so the bot responds to all messages without needing @mention.\n\nThen restart the service to pick up the new registration.\n\n## Phase 5: Verify\n\n### Test the connection\n\nTell the user:\n\n> Send a message to the bot in Feishu. It should respond within a few seconds.\n\n### Check logs if needed\n\n```bash\ntail -f logs\u002Fnanoclaw.log\n# Or run interactively:\nnpm run dev\n```\n\nLook for:\n- `Feishu bot info fetched` — bot connected and identified itself\n- `Connected to Feishu via WebSocket` — WebSocket established\n- `Feishu message sent` — outbound message delivered\n\n## Troubleshooting\n\n### Bot not responding\n\nCheck:\n1. `FEISHU_APP_ID` and `FEISHU_APP_SECRET` are set in `.env`\n2. Chat is registered: `sqlite3 store\u002Fmessages.db \"SELECT * FROM registered_groups WHERE jid LIKE '%@feishu'\"`\n3. App is published on Feishu Open Platform (draft apps don't receive events)\n4. Event subscription `im.message.receive_v1` is enabled\n5. Long Connection (WebSocket) mode is enabled (not webhook)\n6. Service is running: `launchctl list | grep nanoclaw` (macOS) or `systemctl --user status nanoclaw` (Linux)\n\n### Bot connects but doesn't receive messages\n\n- Verify the app has `im:message` permission\n- Verify the event `im.message.receive_v1` is subscribed\n- Check that the app version is published and approved\n\n### Bot receives but can't send\n\n- Verify the app has `im:message:send_as_bot` permission\n- For group chats: the bot must be added to the group first\n\n### \"Failed to fetch Feishu bot info\"\n\nNon-critical warning. Bot message detection (filtering own messages) won't work, but message sending\u002Freceiving still functions. Usually means the bot API endpoint isn't accessible — check network connectivity.\n\n## Removal\n\nTo remove Feishu integration:\n\n1. Delete `src\u002Fchannels\u002Ffeishu.ts`\n2. Remove `FeishuChannel` import and creation block from `src\u002Findex.ts`\n3. Remove `readEnvFile` import if no other channel uses it\n4. Remove `FEISHU_APP_ID` and `FEISHU_APP_SECRET` from `.env`\n5. Remove Feishu registrations: `sqlite3 store\u002Fmessages.db \"DELETE FROM registered_groups WHERE jid LIKE '%@feishu'\"`\n6. Uninstall: `npm uninstall @larksuiteoapi\u002Fnode-sdk`\n7. Rebuild: `npm run build && launchctl kickstart -k gui\u002F$(id -u)\u002Fcom.nanoclaw` (macOS) or `npm run build && systemctl --user restart nanoclaw` (Linux)\n","# Add Feishu Channel\n\nThis skill adds Feishu (飞书) support to NanoClaw using the skills engine for deterministic code changes, then walks through interactive setup.\n\n## Phase 1: Pre-flight\n\n### Check if already applied\n\nRead `.nanoclaw\u002Fstate.yaml`. If `feishu` is in `applied_skills`, skip to Phase 3 (Setup). The code changes are already in place.\n\n### Ask the user\n\nUse `AskUserQuestion` to collect configuration:\n\nAskUserQuestion: Do you have a Feishu app already, or do you need to create one?\n\nIf they have one, collect `FEISHU_APP_ID` and `FEISHU_APP_SECRET` now. If not, we'll create one in Phase 3.\n\n## Phase 2: Apply Code Changes\n\nRun the skills engine to apply this skill's code package. The package files are in this directory alongside this SKILL.md.\n\n### Initialize skills system (if needed)\n\nIf `.nanoclaw\u002F` directory doesn't exist yet:\n\n```bash\nnpx tsx scripts\u002Fapply-skill.ts --init\n```\n\n### Apply the skill\n\n```bash\nnpx tsx scripts\u002Fapply-skill.ts .claude\u002Fskills\u002Fadd-feishu\n```\n\nThis deterministically:\n- Adds `src\u002Fchannels\u002Ffeishu.ts` (FeishuChannel class implementing Channel interface)\n- Three-way merges Feishu support into `src\u002Findex.ts` (reads credentials via `readEnvFile`, creates FeishuChannel if configured)\n- Installs the `@larksuiteoapi\u002Fnode-sdk` npm dependency\n- Updates `.env` with `FEISHU_APP_ID` and `FEISHU_APP_SECRET`\n- Records the application in `.nanoclaw\u002Fstate.yaml`\n\nIf the apply reports merge conflicts, read the intent file:\n- `modify\u002Fsrc\u002Findex.ts.intent.md` — what changed and invariants for index.ts\n\n### Validate code changes\n\n```bash\nnpm run build\n```\n\nBuild must be clean before proceeding.\n\n## Phase 3: Setup\n\n### Create Feishu App (if needed)\n\nIf the user doesn't have a Feishu app, tell them:\n\n> I need you to create a Feishu bot:\n>\n> 1. Go to [Feishu Open Platform](https:\u002F\u002Fopen.feishu.cn\u002Fapp) and create a new app\n> 2. Under **Credentials**, copy the **App ID** and **App Secret**\n> 3. Under **Event Subscriptions**, enable **Long Connection (WebSocket)** mode\n> 4. Add the event: `im.message.receive_v1` (Receive messages)\n> 5. Under **Permissions**, add:\n>    - `im:message:send_as_bot` (Send messages as bot)\n>    - `im:message` (Read messages)\n> 6. **Publish** the app (or create a version and approve it)\n\nWait for the user to provide the App ID and App Secret.\n\n### Configure environment\n\nAdd to `.env`:\n\n```bash\nFEISHU_APP_ID=\u003Ctheir-app-id>\nFEISHU_APP_SECRET=\u003Ctheir-app-secret>\n```\n\n### Build and restart\n\n```bash\nnpm run build\nlaunchctl kickstart -k gui\u002F$(id -u)\u002Fcom.nanoclaw  # macOS\n# Linux: systemctl --user restart nanoclaw\n```\n\n## Phase 4: Registration\n\n### Get Chat ID\n\nTell the user:\n\n> 1. Start the bot: `npm run dev`\n> 2. Send any message to the bot in Feishu (DM or group)\n> 3. Check the logs — the chat_id will appear in the metadata\n> 4. The JID format is `{chat_id}@feishu`\n\nOr check the database directly:\n\n```bash\nsqlite3 store\u002Fmessages.db \"SELECT jid FROM chats WHERE jid LIKE '%@feishu'\"\n```\n\n### Register the chat\n\nRegister directly in SQLite:\n\n```sql\nINSERT INTO registered_groups (jid, name, folder, trigger_pattern, added_at, requires_trigger)\nVALUES ('{chat_id}@feishu', 'feishu', 'feishu', '@{ASSISTANT_NAME}', datetime('now'), 0);\n```\n\nNote: `requires_trigger` is set to `0` (false) so the bot responds to all messages without needing @mention.\n\nThen restart the service to pick up the new registration.\n\n## Phase 5: Verify\n\n### Test the connection\n\nTell the user:\n\n> Send a message to the bot in Feishu. It should respond within a few seconds.\n\n### Check logs if needed\n\n```bash\ntail -f logs\u002Fnanoclaw.log\n# Or run interactively:\nnpm run dev\n```\n\nLook for:\n- `Feishu bot info fetched` — bot connected and identified itself\n- `Connected to Feishu via WebSocket` — WebSocket established\n- `Feishu message sent` — outbound message delivered\n\n## Troubleshooting\n\n### Bot not responding\n\nCheck:\n1. `FEISHU_APP_ID` and `FEISHU_APP_SECRET` are set in `.env`\n2. Chat is registered: `sqlite3 store\u002Fmessages.db \"SELECT * FROM registered_groups WHERE jid LIKE '%@feishu'\"`\n3. App is published on Feishu Open Platform (draft apps don't receive events)\n4. Event subscription `im.message.receive_v1` is enabled\n5. Long Connection (WebSocket) mode is enabled (not webhook)\n6. Service is running: `launchctl list | grep nanoclaw` (macOS) or `systemctl --user status nanoclaw` (Linux)\n\n### Bot connects but doesn't receive messages\n\n- Verify the app has `im:message` permission\n- Verify the event `im.message.receive_v1` is subscribed\n- Check that the app version is published and approved\n\n### Bot receives but can't send\n\n- Verify the app has `im:message:send_as_bot` permission\n- For group chats: the bot must be added to the group first\n\n### \"Failed to fetch Feishu bot info\"\n\nNon-critical warning. Bot message detection (filtering own messages) won't work, but message sending\u002Freceiving still functions. Usually means the bot API endpoint isn't accessible — check network connectivity.\n\n## Removal\n\nTo remove Feishu integration:\n\n1. Delete `src\u002Fchannels\u002Ffeishu.ts`\n2. Remove `FeishuChannel` import and creation block from `src\u002Findex.ts`\n3. Remove `readEnvFile` import if no other channel uses it\n4. Remove `FEISHU_APP_ID` and `FEISHU_APP_SECRET` from `.env`\n5. Remove Feishu registrations: `sqlite3 store\u002Fmessages.db \"DELETE FROM registered_groups WHERE jid LIKE '%@feishu'\"`\n6. Uninstall: `npm uninstall @larksuiteoapi\u002Fnode-sdk`\n7. Rebuild: `npm run build && launchctl kickstart -k gui\u002F$(id -u)\u002Fcom.nanoclaw` (macOS) or `npm run build && systemctl --user restart nanoclaw` (Linux)\n",{"name":5,"description":7},"master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fskills_sh\u002Fs\u002Fskills-sh_sugarforever_01coder-agent-skills_add-feishu",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill add-feishu",{"tool":39,"command":40},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill add-feishu",{"tool":42,"command":43},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill add-feishu","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fskills_sh\u002Fs\u002Fskills-sh_sugarforever_01coder-agent-skills_add-feishu\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]