[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77FAREYM5FQNSMD8E1S4V31":3,"skill-same:01M77FAREYM5FQNSMD8E1S4V31":45},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":27,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M77FAREYM5FQNSMD8E1S4V31","feishu-axiang-send-image",null,"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\u002Fclawhub\u002Ff\u002Ffeishu-axiang-send-image\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"# feishu-axiang-send-image - 飞书图片发送技能\n\n## 技能说明\n\n飞书图片发送技能，使用自有飞书应用配置发送图片到飞书聊天（个人或群聊）。\n\n**特点：**\n- 🦞 专属配置 - 使用自有的飞书应用配置\n- ⚡ 开箱即用 - 无需配置环境变量\n- 🎯 简化调用 - 只需提供图片路径和目标用户\n\n## 核心配置\n\n**飞书应用信息（硬编码在脚本中）：**\n```json\n{\n  \"appId\": \"cli_XXX\",\n  \"appSecret\": \"XXX\",\n  \"accountId\": \"XXX\"\n}\n```\n\n**允许发送的用户：**\n- 在 `feishu-axiang-allowFrom.json` 中配置允许的用户列表\n\n## 触发词\n\n- 发送图片到飞书\n- 发图给我\n- axiang send image\n\n## 核心原理\n\n**两步法：**\n1. 调用 `im\u002Fv1\u002Fimages` API 上传图片到飞书 → 获取 `image_key`\n2. 调用 `im\u002Fv1\u002Fmessages` API 发送图片消息 → 获取 `message_id`\n\n## 使用方法\n\n### 方法 1：命令行调用\n\n```bash\n# 发送图片到个人（默认）\npython scripts\u002Fsend.py --file-path \"C:\\path\\to\\image.png\"\n\n# 发送到指定用户\npython scripts\u002Fsend.py --file-path \"C:\\path\\to\\image.png\" --target \"ou_xxxxx\"\n\n# 发送到群聊\npython scripts\u002Fsend.py --file-path \"C:\\path\\to\\image.png\" --target \"oc_xxxxx\" --target-type chat_id\n```\n\n### 方法 2：Python API 调用\n\n```python\nfrom scripts.send import send_image_to_feishu\n\n# 发送到默认用户\nresult = send_image_to_feishu(\"image.png\")\n\n# 发送到指定用户\nresult = send_image_to_feishu(\"image.png\", target=\"ou_xxxxx\", target_type=\"open_id\")\n```\n\n## 参数说明\n\n| 参数 | 必需 | 默认值 | 说明 |\n|------|------|--------|------|\n| `--file-path` | ✅ | - | 本地图片文件路径 |\n| `--target` | ❌ | 配置中的默认值 | 目标用户 open_id 或群聊 chat_id |\n| `--target-type` | ❌ | `open_id` | 目标类型（open_id\u002Fchat_id） |\n\n## 输出示例\n\n```\nImage Sender\n   File: C:\\Users\\your_username\\.openclaw\\workspace\\image.png\n   Target: ou_xxxxx (open_id)\n   App: cli_XXX (accountId)\n\nStep 1: Get tenant_access_token\n   OK Token obtained\n\nStep 2: Upload image to Feishu\n   OK Upload success, image_key: img_v3_xxx\n\nStep 3: Send image message\n   OK Send success, message_id: om_xxx\n\nImage sent successfully!\n```\n\n## 支持格式\n\n| 格式 | 支持 | 说明 |\n|------|------|------|\n| PNG | ✅ | 推荐格式 |\n| JPG\u002FJPEG | ✅ | 支持 |\n| GIF | ✅ | 支持（会自动转换） |\n| WEBP | ✅ | 支持 |\n\n## 限制\n\n- 单张图片最大 20MB\n- 仅支持配置允许的用户\n- 需要网络连接\n\n## 故障排查\n\n### 错误：open_id cross app\n\n**原因：** 目标用户不在允许列表中\n\n**解决：** \n1. 检查目标 open_id 是否正确\n2. 在 `feishu-axiang-allowFrom.json` 中添加用户\n\n### 错误：file not found\n\n**原因：** 图片路径不存在\n\n**解决：** 检查文件路径是否正确，使用绝对路径\n\n### 错误：tenant_access_token 获取失败\n\n**原因：** AppID 或 AppSecret 错误\n\n**解决：** 检查脚本中的配置是否正确\n\n## 相关文件\n\n- `scripts\u002Fsend.py` - 主发送脚本\n- `feishu-axiang-allowFrom.json` - 允许发送的用户列表（需自行配置）\n\n## 版本历史\n\n- **v1.0** - 初始版本，专属配置\n\n## 安装后配置\n\n1. 编辑 `scripts\u002Fsend.py`，填入你自己的飞书应用配置：\n   - `app_id`: 你的飞书应用 AppID\n   - `app_secret`: 你的飞书应用 AppSecret\n   - `default_target`: 默认发送目标用户\n\n2. 创建 `feishu-axiang-allowFrom.json` 文件，配置允许发送的用户列表\n\n## 注意事项\n\n⚠️ **安全提示：**\n- 不要将包含真实 AppID\u002FAppSecret 的脚本上传到公开仓库\n- 生产环境建议使用环境变量或配置文件管理敏感信息\n- 定期检查允许发送的用户列表\n",{},"master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Ff\u002Ffeishu-axiang-send-image",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":7,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill feishu-axiang-send-image",{"tool":37,"command":38},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill feishu-axiang-send-image",{"tool":40,"command":41},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill feishu-axiang-send-image","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Ff\u002Ffeishu-axiang-send-image\u002FSKILL.md",true,[],[46,53,60,67,74,81],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":18},"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":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":18},"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":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":18},"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":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"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":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":18},"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":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":18},"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",[],[]]