Poe Connector — USE BASH TOOL
You MUST use the bash or shell tool to run these commands. No other method works.
Commands
Chat with AI:
CODEBLOCK0
Generate image:
CODEBLOCK1
Generate video:
CODEBLOCK2
Generate audio:
CODEBLOCK3
List models:
CODEBLOCK4
Search models:
CODEBLOCK5
Sending generated media (images/video/audio) to the user
After generating an image/video/audio, the script prints a [MEDIA_SEND_HINT] line with the local file path.
You MUST use the message tool to deliver the file — do NOT just paste the URL or embed it in markdown.
Telegram cannot render markdown images (); it requires sendPhoto / sendDocument which the message tool handles automatically.
CODEBLOCK6
If message send is not available, you can also use the --to last flag or specify the channel explicitly.
Always include a short text caption so the user knows what the media is about.
DO NOT
- - Do NOT embed image/media URLs in markdown like
 — Telegram will NOT display them - Do NOT use
sessions_spawn — it will fail - Do NOT use browser to visit poe.com — it will fail
- Do NOT set poe as a model provider — it will fail
- Do NOT use any approach other than
bash tool — only bash works
Setup (required before first use)
This skill requires a Poe API key. Get one at https://poe.com/api/keys, then add to ~/.openclaw/openclaw.json:
CODEBLOCK7
Notes
- - All commands use sensible default models (configured in poeconfig.json)
- If you get a POEAPI_KEY error, tell the user to run the setup above
- File attachments (--files) are base64-encoded and sent to Poe — do not attach sensitive files unless the user intends to share them with Poe
Poe 连接器 — 使用 Bash 工具
你必须使用 bash 或 shell 工具来运行这些命令。其他方法均无效。
命令
与 AI 聊天:
bash
bash ~/.openclaw/workspace/skills/poe-connector/poe.sh chat 给我讲10个笑话
生成图片:
bash
bash ~/.openclaw/workspace/skills/poe-connector/poe.sh image 山间日落
生成视频:
bash
bash ~/.openclaw/workspace/skills/poe-connector/poe.sh video 一只猫在弹钢琴
生成音频:
bash
bash ~/.openclaw/workspace/skills/poe-connector/poe.sh audio 用欢快的声音说你好世界
列出模型:
bash
bash ~/.openclaw/workspace/skills/poe-connector/poe.sh models
搜索模型:
bash
bash ~/.openclaw/workspace/skills/poe-connector/poe.sh search claude
向用户发送生成的媒体文件(图片/视频/音频)
生成图片/视频/音频后,脚本会输出一行包含本地文件路径的 [MEDIASENDHINT] 信息。
你必须使用 message 工具来发送文件 — 不要仅粘贴 URL 或将其嵌入 Markdown 中。
Telegram 无法渲染 Markdown 图片(
);它需要 sendPhoto / sendDocument,而 message 工具会自动处理这些。
message send --media /path/to/poegeneratedimage.png
如果 message send 不可用,你也可以使用 --to last 参数或明确指定频道。
始终附带简短的文字说明,让用户了解媒体内容。
禁止事项
- - 不要以
形式将图片/媒体 URL 嵌入 Markdown — Telegram 将无法显示 - 不要使用 sessions_spawn — 会失败
- 不要使用浏览器访问 poe.com — 会失败
- 不要将 poe 设置为模型提供商 — 会失败
- 不要使用除 bash 工具以外的任何方法 — 只有 bash 有效
设置(首次使用前必须完成)
此技能需要 Poe API 密钥。请前往 https://poe.com/api/keys 获取,然后添加到 ~/.openclaw/openclaw.json:
json
{ skills: { entries: { poe-connector: { env: { POEAPIKEY: 你的密钥 } } } } }
备注
- - 所有命令均使用合理的默认模型(在 poeconfig.json 中配置)
- 如果遇到 POEAPI_KEY 错误,请告知用户运行上述设置
- 文件附件(--files)会经过 base64 编码后发送给 Poe — 除非用户有意与 Poe 共享,否则不要附加敏感文件