Install
openclaw skills install feishu-bot-creator飞书机器人创建器 — 自动化创建和配置飞书机器人,包括应用创建、权限配置、 webhook 设置等。| Feishu Bot Creator — Automate creation and configuration of Feishu bots, including app creation, permission setup, webhook configuration.
openclaw skills install feishu-bot-creator自动化创建和配置飞书机器人,省去手动在飞书开放平台操作的麻烦。
Automate creation and configuration of Feishu bots, eliminating the need for manual operations on Feishu Open Platform.
python3 scripts/feishu_bot_creator.py \
--name "我的机器人" \
--webhook-url "http://your-server/webhook"
python3 scripts/feishu_bot_creator.py \
--name "机器人名称" \
--description "机器人描述" \
--webhook-url "http://your-server/webhook" \
--permissions "im:message,im:chat"
--name(必填):机器人名称--description(可选):机器人描述--webhook-url(可选):接收消息的 webhook 地址--permissions(可选):需要的权限,逗号分隔--icon(可选):机器人图标 URL--output(可选):输出配置文件路径,默认 ~/.feishu/bots/<name>.jsonim:message - 发送消息
im:chat - 访问聊天信息
im:chat:read - 读取聊天记录
im:message:send_as_bot - 以机器人身份发送消息
contact:contact:readonly - 读取通讯录
calendar:calendar:readonly - 读取日历
drive:drive:readonly - 读取云文档
{
"app_id": "cli_a1b2c3d4e5f6",
"app_secret": "xxxxx",
"name": "我的机器人",
"webhook_url": "https://open.feishu.cn/open-apis/bot/v2/hook/xxxxx",
"permissions": ["im:message", "im:chat"]
}
FEISHU_APP_ID 和 FEISHU_APP_SECRET 环境变量export FEISHU_APP_ID="your_app_id"
export FEISHU_APP_SECRET="your_app_secret"
export FEISHU_API_BASE="https://open.feishu.cn" # 可选,默认
app_secret 请妥善保管.gitignorescripts/feishu_bot_creator.pypython3 scripts/feishu_bot_creator.py \
--name "项目通知" \
--description "发送项目更新通知" \
--permissions "im:message"
python3 scripts/feishu_bot_creator.py \
--name "AI 助手" \
--description "智能聊天助手" \
--webhook-url "http://localhost:8080/webhook" \
--permissions "im:message,im:chat,im:chat:read" \
--icon "https://example.com/icon.png"