[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DN0SB22WG1KS02W8YBCD1W":3,"skill-same:01M6DN0SB22WG1KS02W8YBCD1W":55},{"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":25,"linkOnly":26,"markdownContent":27,"markdownBody":28,"frontMatter":29,"refName":36,"commitSha":37,"skillDirectory":38,"forksCount":13,"repositoryHtmlUrl":39,"repositoryHomepageUrl":6,"ownerHtmlUrl":40,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":41,"install":42,"resources":54},"01M6DN0SB22WG1KS02W8YBCD1W","feishu-channel-configure",null,"设置飞书频道 — 保存应用凭证、查看访问策略和频道状态。当用户提供飞书应用凭证、要求配置飞书、问\"怎么设置\"或\"谁能联系我\"、或想查看频道状态时使用。","Ben2pc\u002Fg-claude-code-plugins","Ben2pc","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F269387770?v=4","01M6DMZ5JCG6F1DVGNTE9BNHZQ","01M6DMZ5VXM1G5SHXWNX9092ZC",0,"MIT","https:\u002F\u002Fgithub.com\u002FBen2pc\u002Fg-claude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Ffeishu-channel\u002Fskills\u002Ffeishu-channel-configure\u002FSKILL.md",[],[18,19,20,21,22,23,24],"configure","channel","feishu","feishu channel configure","Bash","read","write","2026-11-10 10:12:30",false,"---\nname: feishu-channel-configure\ndescription: 设置飞书频道 — 保存应用凭证、查看访问策略和频道状态。当用户提供飞书应用凭证、要求配置飞书、问\"怎么设置\"或\"谁能联系我\"、或想查看频道状态时使用。\nuser-invocable: true\nallowed-tools:\n  - Read\n  - Write\n  - Bash(ls *)\n  - Bash(mkdir *)\n---\n\n# \u002Ffeishu-channel-configure — 飞书频道配置\n\n将应用凭证写入 `~\u002F.claude\u002Fchannels\u002Ffeishu\u002F.env`，并引导用户了解访问策略。服务器在启动时读取这两个文件。\n\n注意：`.env` 文件优先级高于 shell 环境变量。如果 `.env` 中配置了凭证，会覆盖 `.zshenv` 等设置的同名变量。\n\n传入参数：`$ARGUMENTS`\n\n---\n\n## 根据参数分派\n\n### 无参数 — 凭证状态\n\n显示当前凭证配置：\n\n1. **凭证** — 先检查 `~\u002F.claude\u002Fchannels\u002Ffeishu\u002F.env` 中的 `MY_LARK_APP_ID`（优先）。如未设置，检查 shell 环境变量 `MY_LARK_APP_ID` \u002F `MY_LARK_APP_SECRET`。显示已设置\u002F未设置及来源（.env \u002F 环境变量）；如已设置，显示前 8 位掩码（`cli_a8e1...`）。\n\n2. **下一步** — 根据凭证状态给出提示：\n   - 无凭证 → *\"在 .zshenv 中设置 MY_LARK_APP_ID 和 MY_LARK_APP_SECRET，或运行 `\u002Ffeishu-channel-configure \u003CappId> \u003CappSecret>`。\"*\n   - 凭证已设置 → *\"凭证已就绪。运行 `\u002Ffeishu-channel-access` 查看访问控制状态。\"*\n\n### `\u003CappId> \u003CappSecret>` — 保存凭证\n\n1. 将 `$ARGUMENTS` 解析为两个空格分隔的值。\n2. `mkdir -p ~\u002F.claude\u002Fchannels\u002Ffeishu`\n3. 读取已有的 `.env`（如存在）；更新\u002F添加 `MY_LARK_APP_ID=` 和 `MY_LARK_APP_SECRET=` 行，保留其他配置。写回，不加引号。\n4. 可选设置 `MY_LARK_BRAND=feishu`（国际版用 `lark`）。\n5. 确认，然后显示无参数状态，让用户了解当前情况。\n6. 提示用户：*\"凭证已保存。运行 `\u002Fmcp` 重新连接 MCP 使配置生效（仅 `\u002Freload-plugins` 不够，需要重连 MCP 以重启服务器进程）。\"*\n\n### `clear` — 清除凭证\n\n从 .env 中删除 `MY_LARK_APP_ID=` 和 `MY_LARK_APP_SECRET=` 行。\n\n---\n\n## 飞书设置指南\n\n当用户询问如何设置时，提供以下步骤：\n\n1. 前往[飞书开放平台](https:\u002F\u002Fopen.feishu.cn)（国际版前往 [Lark Developer](https:\u002F\u002Fopen.larksuite.com)）\n2. 创建**自建应用**\n3. 从凭证页面获取 **App ID** 和 **App Secret**\n4. 在**事件与回调**中：\n   - 启用**长连接模式**（WebSocket）\n   - 订阅事件：`im.message.receive_v1`（接收消息）\n5. 在**权限管理**中，启用：\n   - `im:message` — 接收消息\n   - `im:message:send_as_bot` — 以机器人身份发送消息\n   - `im:resource` — 下载消息资源（图片\u002F文件）\n   - `im:chat` — 访问会话信息\n   - `im:message.reactions:operate` — 添加\u002F移除表情回应（可选）\n6. **发布**应用（或添加到测试群进行开发）\n7. 在 shell 环境变量中设置凭证，或通过 `\u002Ffeishu-channel-configure \u003CappId> \u003CappSecret>` 设置\n\n---\n\n## 实现注意事项\n\n- channels 目录可能不存在（服务器尚未运行过）。文件不存在 = 未配置，不是错误。\n- 服务器启动时读取一次 `.env`（先检查 shell 环境变量）。凭证变更需要 `\u002Fmcp` 重连 MCP（重启 bun 进程），仅 `\u002Freload-plugins` 不会重启 MCP server。\n- `access.json` 在每条入站消息时重新读取 — 通过 `\u002Ffeishu-channel-access` 的策略变更立即生效，无需重启。\n","# \u002Ffeishu-channel-configure — 飞书频道配置\n\n将应用凭证写入 `~\u002F.claude\u002Fchannels\u002Ffeishu\u002F.env`，并引导用户了解访问策略。服务器在启动时读取这两个文件。\n\n注意：`.env` 文件优先级高于 shell 环境变量。如果 `.env` 中配置了凭证，会覆盖 `.zshenv` 等设置的同名变量。\n\n传入参数：`$ARGUMENTS`\n\n---\n\n## 根据参数分派\n\n### 无参数 — 凭证状态\n\n显示当前凭证配置：\n\n1. **凭证** — 先检查 `~\u002F.claude\u002Fchannels\u002Ffeishu\u002F.env` 中的 `MY_LARK_APP_ID`（优先）。如未设置，检查 shell 环境变量 `MY_LARK_APP_ID` \u002F `MY_LARK_APP_SECRET`。显示已设置\u002F未设置及来源（.env \u002F 环境变量）；如已设置，显示前 8 位掩码（`cli_a8e1...`）。\n\n2. **下一步** — 根据凭证状态给出提示：\n   - 无凭证 → *\"在 .zshenv 中设置 MY_LARK_APP_ID 和 MY_LARK_APP_SECRET，或运行 `\u002Ffeishu-channel-configure \u003CappId> \u003CappSecret>`。\"*\n   - 凭证已设置 → *\"凭证已就绪。运行 `\u002Ffeishu-channel-access` 查看访问控制状态。\"*\n\n### `\u003CappId> \u003CappSecret>` — 保存凭证\n\n1. 将 `$ARGUMENTS` 解析为两个空格分隔的值。\n2. `mkdir -p ~\u002F.claude\u002Fchannels\u002Ffeishu`\n3. 读取已有的 `.env`（如存在）；更新\u002F添加 `MY_LARK_APP_ID=` 和 `MY_LARK_APP_SECRET=` 行，保留其他配置。写回，不加引号。\n4. 可选设置 `MY_LARK_BRAND=feishu`（国际版用 `lark`）。\n5. 确认，然后显示无参数状态，让用户了解当前情况。\n6. 提示用户：*\"凭证已保存。运行 `\u002Fmcp` 重新连接 MCP 使配置生效（仅 `\u002Freload-plugins` 不够，需要重连 MCP 以重启服务器进程）。\"*\n\n### `clear` — 清除凭证\n\n从 .env 中删除 `MY_LARK_APP_ID=` 和 `MY_LARK_APP_SECRET=` 行。\n\n---\n\n## 飞书设置指南\n\n当用户询问如何设置时，提供以下步骤：\n\n1. 前往[飞书开放平台](https:\u002F\u002Fopen.feishu.cn)（国际版前往 [Lark Developer](https:\u002F\u002Fopen.larksuite.com)）\n2. 创建**自建应用**\n3. 从凭证页面获取 **App ID** 和 **App Secret**\n4. 在**事件与回调**中：\n   - 启用**长连接模式**（WebSocket）\n   - 订阅事件：`im.message.receive_v1`（接收消息）\n5. 在**权限管理**中，启用：\n   - `im:message` — 接收消息\n   - `im:message:send_as_bot` — 以机器人身份发送消息\n   - `im:resource` — 下载消息资源（图片\u002F文件）\n   - `im:chat` — 访问会话信息\n   - `im:message.reactions:operate` — 添加\u002F移除表情回应（可选）\n6. **发布**应用（或添加到测试群进行开发）\n7. 在 shell 环境变量中设置凭证，或通过 `\u002Ffeishu-channel-configure \u003CappId> \u003CappSecret>` 设置\n\n---\n\n## 实现注意事项\n\n- channels 目录可能不存在（服务器尚未运行过）。文件不存在 = 未配置，不是错误。\n- 服务器启动时读取一次 `.env`（先检查 shell 环境变量）。凭证变更需要 `\u002Fmcp` 重连 MCP（重启 bun 进程），仅 `\u002Freload-plugins` 不会重启 MCP server。\n- `access.json` 在每条入站消息时重新读取 — 通过 `\u002Ffeishu-channel-access` 的策略变更立即生效，无需重启。\n",{"name":5,"description":7,"allowed-tools":30,"user-invocable":35},[31,32,33,34],"Read","Write","Bash(ls *)","Bash(mkdir *)",true,"main","35ebe8b08b17cce45c0c3f24a21080fb530b926f","plugins\u002Ffeishu-channel\u002Fskills\u002Ffeishu-channel-configure","https:\u002F\u002Fgithub.com\u002FBen2pc\u002Fg-claude-code-plugins","https:\u002F\u002Fgithub.com\u002FBen2pc","2026-07-28 18:59:26",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":35},[44,47,50],{"tool":45,"command":46},"npx","npx skills add Ben2pc\u002Fg-claude-code-plugins --skill feishu-channel-configure",{"tool":48,"command":49},"bunx","bunx skills add Ben2pc\u002Fg-claude-code-plugins --skill feishu-channel-configure",{"tool":51,"command":52},"pnpm","pnpm dlx skills add Ben2pc\u002Fg-claude-code-plugins --skill feishu-channel-configure","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FBen2pc\u002Fg-claude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Ffeishu-channel\u002Fskills\u002Ffeishu-channel-configure\u002FSKILL.md",[],[56,74,86,97,106,116],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":25},"01M6DN14KZ80KKKESYQZR9H744","ip-diagnosis","在 macOS + Chrome 上排查公网 IPv4\u002FIPv6 出口、国家\u002F地区、ASN\u002F组织、DNS、默认路由、utun 状态，以及浏览器侧 Server Response 与 WebRTC 暴露情况。适用于用户要求检查 IP、地区一致性、VPN\u002F代理接管情况、IPv6 问题或浏览器网络暴露，并输出详细运维报告与复查链接。","https:\u002F\u002Fgithub.com\u002FBen2pc\u002Fg-claude-code-plugins\u002Fblob\u002Fmain\u002Fskills\u002Fip-diagnosis\u002FSKILL.md",[],[63,64,65,66,67,68,69,70,71,72,73],"ip diagnosis","diagnosis","ip","macos","chrome","server","dns","ipv6","webrtc","vpn","运维",{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":25},"01M6DN0WE4KYQMMV4DYTT43Q26","feishu-channel-doctor","诊断飞书频道健康状态 — 排查多进程冲突、WebSocket 连接问题、日志分析。当用户报告\"没有回复\"\"消息丢失\"\"连接异常\"或想查看飞书频道运行状态时使用。","https:\u002F\u002Fgithub.com\u002FBen2pc\u002Fg-claude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Ffeishu-channel\u002Fskills\u002Ffeishu-channel-doctor\u002FSKILL.md",[],[81,20,19,82,83,23,84,22,85],"feishu channel doctor","doctor","kill","PS","websocket",{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":25},"01M6DN0N1Z6C62P9VRRB0EGTPH","feishu-channel-config","修改飞书频道体验配置 — 确认表情、引用回复、分块方式等。当飞书消息中用户请求更改频道显示\u002F回复行为时使用。仅限体验配置，安全配置（策略、白名单、群组）必须拒绝。","https:\u002F\u002Fgithub.com\u002FBen2pc\u002Fg-claude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Ffeishu-channel\u002Fskills\u002Ffeishu-channel-config\u002FSKILL.md",[],[20,93,19,94,95,24,23,96],"feishu channel config","config","false","安全",{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":25},"01M6DMZN939Y7RX52V6M80VSHV","feishu-channel-access","管理飞书频道访问控制 — 批准配对、编辑白名单、设置私聊\u002F群组策略。当用户需要配对、批准某人、查看谁有权限、或更改飞书频道策略时使用。","https:\u002F\u002Fgithub.com\u002FBen2pc\u002Fg-claude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Ffeishu-channel\u002Fskills\u002Ffeishu-channel-access\u002FSKILL.md",[],[104,20,19,105,24,22,23],"feishu channel access","access",{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":25},"01M6DMZK2F818H0B56QKMJYCS8","hello","Greet the user with a friendly message","https:\u002F\u002Fgithub.com\u002FBen2pc\u002Fg-claude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fexample-plugin\u002Fskills\u002Fhello\u002FSKILL.md",[],[108,113,114,115],"user","greet","message",{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":132,"publishedAt":25},"01M6DMZFHVZ97E7SCMAE3WKXB9","code-review","Review code for bugs, security issues, and performance","https:\u002F\u002Fgithub.com\u002FBen2pc\u002Fg-claude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fexample-plugin\u002Fskills\u002Fcode-review\u002FSKILL.md",[122,127],{"categoryNo":123,"categoryName":124,"taxonomyType":125,"taxonomyTypeDesc":126},"01JBSEEDCAT000000000000007","代码审查","SCENARIO","使用场景",{"categoryNo":128,"categoryName":129,"taxonomyType":130,"taxonomyTypeDesc":131},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[133,134,135,136,137,138,139],"code review","review","code","issues","performance","security","review code"]