Install
openclaw skills install feishu-agent-addUse this skill when users want to add a Feishu agent for OpenClaw, especially when they say things like “帮我增加一个名字叫xxx,用来做xxx的飞书agent”, want a guided prompt flow, or want a one-command way to generate the matching OpenClaw config.
openclaw skills install feishu-agent-addThis skill is the conversational front end for the local script scripts/add_feishu_agent.py.
This project is designed for OpenClaw users, but the skill name intentionally stays short: feishu-agent-add.
Use this skill when the user wants to:
openclaw.jsonDo not hand-edit openclaw.json unless the user explicitly asks for manual fallback.
Prefer running:
python3 scripts/add_feishu_agent.py ...
The script is the execution core. This skill should mainly:
Collect these fields before execution:
agent_namepurposeagent_id
app_idapp_secretThese can use defaults unless the user says otherwise:
workspace_path
~/.openclaw/workspace-{agent_id}model
enable_agent_to_agent
trueworkspace_mode
autoinit_templates
trueFor a request like:
帮我增加一个名字叫小红书运营,用来做内容选题和文案生成的飞书agent
extract:
agent_name = 小红书运营purpose = 内容选题和文案生成agent_id = xiaohongshu or another short slug candidateIf agent_id is missing, propose one instead of asking an open-ended question.
Only ask for the missing required fields. Prefer one compact message.
Typical follow-up:
agent_idApp IDApp SecretOnly ask about optional fields if the user indicates they care.
Before running the script, summarize:
Run from the skill directory:
python3 scripts/add_feishu_agent.py \
--agent-id <agent-id> \
--agent-name "<agent-name>" \
--purpose "<purpose>" \
--app-id <app-id> \
--app-secret <app-secret> \
--json-output \
--yes
Add optional flags only when needed:
--model <model>--workspace-path <path>--disable-agent-to-agent--workspace-mode cli|mkdir|auto--no-init-templates--dry-runIf the user prefers a single terminal command, give them a ready-to-run example instead of a manual JSON recipe.
Use this pattern:
python3 scripts/add_feishu_agent.py \
--agent-id trader \
--agent-name "交易小助手" \
--purpose "股票和 ETF 分析" \
--app-id cli_xxx \
--app-secret secret_xxx \
--yes
After execution, summarize:
SOUL.mdIf the script fails, report the concrete reason and do not improvise partial manual edits unless the user asks for that fallback.
--dry-run first when the user asks for a preview.README.md.