360 Secure SkillHub
360 安全技能中心

Poe Connector

该 Skill 通过 poe.sh 和 Python 脚本调用 Poe API,提供聊天、图像生成、视频生成、音频生成以及模型列表与搜索功能;生成媒体后在本地输出文件路径,需由宿主消息工具发送给用户;需配置 POE_API_KEY,并限定在 OpenClaw 环境中用 bash 工具执行。

dzwalker
dzwalker
热度 55.53
最近更新 2026-05-11 17:29:21
分类:创作依赖:代码执行 / 读写文件 / 第三方 API / 内部调用大模型应用场景:图像生成 / API 集成 / 自动化脚本

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add poe-connector
Metadata
name
poe-connector
version
1.1.0
author
dzwalker
description
Access Poe.com AI models by running bash commands. Use when user mentions Poe, wants to use Poe models, or generate media via Poe. IMPORTANT: This is a bash-tool skill. You MUST use the bash/shell tool to execute commands. Do NOT use sessions_spawn, do NOT use browser, do NOT try to use Poe as a model provider.
triggers
["poe","Poe","poe.com","ask poe","use poe","via poe","poe chat","poe image","poe video","poe audio","poe models"]
repository
https://github.com/dzwalker/poe-connector
license
MIT
dependencies
[]
tools
["poe_chat","poe_media","poe_models"]
metadata
{"clawdbot":{"emoji":"🤖","requires":{"anyBins":["python3","bash"],"config":["skills.entries.poe-connector.env.POE_API_KEY"]},"os":["linux","darwin","win32"]}}

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:

bash ~/.openclaw/workspace/skills/poe-connector/poe.sh chat Tell me 10 jokes

Generate image:

bash ~/.openclaw/workspace/skills/poe-connector/poe.sh image A sunset over mountains

Generate video:

bash ~/.openclaw/workspace/skills/poe-connector/poe.sh video A cat playing piano

Generate audio:

bash ~/.openclaw/workspace/skills/poe-connector/poe.sh audio Hello world in a cheerful voice

List models:

bash ~/.openclaw/workspace/skills/poe-connector/poe.sh models

Search models:

bash ~/.openclaw/workspace/skills/poe-connector/poe.sh search claude

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 (![alt](url)); it requires sendPhoto / sendDocument which the message tool handles automatically.

message send --media "/path/to/poe_generated_image.png"

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 ![image](url) — 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:

{ "skills": { "entries": { "poe-connector": { "env": { "POE_API_KEY": "your-key" } } } } }

Notes

  • All commands use sensible default models (configured in poe_config.json)
  • If you get a POE_API_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