← 返回 Skills 市场
cyecho-io

feishuAgentAdd

作者 cyecho-io · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
286
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install feishu-agent-add
功能描述
Use 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 f...
使用说明 (SKILL.md)

feishu-agent-add

This 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.

When To Use

Use this skill when the user wants to:

  • add a new Feishu-connected OpenClaw agent
  • avoid hand-editing openclaw.json
  • configure a new agent through a few follow-up questions
  • get a ready-to-run one-line command for advanced usage

Core Rule

Do 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:

  1. understand the user's request
  2. ask only for missing required fields
  3. preview the plan
  4. run the script
  5. summarize the result and next steps

Required Inputs

Collect these fields before execution:

  • agent_name
  • purpose
  • agent_id
    • if missing, propose one derived from the name
  • app_id
  • app_secret

These can use defaults unless the user says otherwise:

  • workspace_path
    • default: ~/.openclaw/workspace-{agent_id}
  • model
    • default: inherit from the current OpenClaw config
  • enable_agent_to_agent
    • default: true
  • workspace_mode
    • default: auto
  • init_templates
    • default: true

Conversational Flow

1. Parse what the user already gave

For a request like:

帮我增加一个名字叫小红书运营,用来做内容选题和文案生成的飞书agent

extract:

  • agent_name = 小红书运营
  • purpose = 内容选题和文案生成
  • agent_id = xiaohongshu or another short slug candidate

If agent_id is missing, propose one instead of asking an open-ended question.

2. Ask the minimum follow-up questions

Only ask for the missing required fields. Prefer one compact message.

Typical follow-up:

  • proposed agent_id
  • Feishu App ID
  • Feishu App Secret

Only ask about optional fields if the user indicates they care.

3. Preview before execution

Before running the script, summarize:

  • agent name
  • agent id
  • purpose
  • workspace path
  • whether agent-to-agent collaboration will be enabled

4. Run the script

Run from the skill directory:

python3 scripts/add_feishu_agent.py \
  --agent-id \x3Cagent-id> \
  --agent-name "\x3Cagent-name>" \
  --purpose "\x3Cpurpose>" \
  --app-id \x3Capp-id> \
  --app-secret \x3Capp-secret> \
  --json-output \
  --yes

Add optional flags only when needed:

  • --model \x3Cmodel>
  • --workspace-path \x3Cpath>
  • --disable-agent-to-agent
  • --workspace-mode cli|mkdir|auto
  • --no-init-templates
  • --dry-run

Advanced User Mode

If 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

Output Expectations

After execution, summarize:

  • whether config was written successfully
  • the workspace path
  • whether starter files were initialized
  • that OpenClaw should be restarted
  • where to refine the agent identity, usually SOUL.md

If the script fails, report the concrete reason and do not improvise partial manual edits unless the user asks for that fallback.

Notes

  • The script already handles validation, backup, and config updates.
  • Prefer --dry-run first when the user asks for a preview.
  • If the user asks how to install or use this project, point them to README.md.
安全使用建议
This skill appears to do what it claims: run a local Python script to add a Feishu agent by editing ~/.openclaw/openclaw.json and creating a workspace. Before installing/using it: (1) review the script contents yourself (it will write App Secret into your openclaw.json and create backups), (2) prefer --dry-run first to preview changes, (3) ensure you really want the skill to enable agent-to-agent collaboration (it defaults to enabling it and modifies global tools.agentToAgent settings), (4) keep Feishu App Secret values private and do not paste them into public logs or chat history, and (5) after a successful run, verify the created backup and inspect the resulting openclaw.json and workspace files. If you are unsure, run scripts/add_feishu_agent.py manually in a safe environment before allowing the agent to invoke it automatically.
功能分析
Type: OpenClaw Skill Name: feishu-agent-add Version: 1.0.0 The skill bundle is a legitimate utility designed to automate the configuration of Feishu (Lark) agents for the OpenClaw platform. The core logic in `scripts/add_feishu_agent.py` performs expected tasks such as modifying the `openclaw.json` configuration file, creating workspace directories, and initializing template files. It demonstrates good security practices by creating backups of configuration files before modification, providing a dry-run mode, and using safe subprocess execution (avoiding shell injection). No evidence of data exfiltration, malicious prompt injection, or unauthorized persistence was found.
能力评估
Purpose & Capability
The name/description (add a Feishu OpenClaw agent) matches the included files and the runtime instructions. The script and templates are exactly what this task requires (reading/writing ~/.openclaw/openclaw.json, adding agents/accounts/bindings, creating a workspace, writing SOUL/BOOTSTRAP templates). No unrelated credentials or external services are requested.
Instruction Scope
SKILL.md correctly restricts the agent's responsibilities to collecting required fields, previewing, and running the included script. However the script will read and write the user's OpenClaw configuration, create workspaces, write secret values (appSecret) into the config, and enable global agent-to-agent settings — these are within the stated purpose but are privileged actions that should only be performed with explicit user consent. The SKILL.md does recommend --dry-run and a preview step, which is good practice.
Install Mechanism
This is an instruction-only skill with a bundled Python script and templates; there is no network-based installer, no downloads from external URLs, and no package installs. That minimizes installer risk.
Credentials
The skill asks the user to provide Feishu App ID and App Secret (handled interactively or via CLI flags). Requesting those credentials is proportionate to the stated goal. The skill does not declare or require unrelated environment variables. One item to note: the default for enable_agent_to_agent is true, and the script sets global tools.agentToAgent.enabled and adds the agent to the allow list — this is a config-level permission change affecting other agents and should be highlighted to the user.
Persistence & Privilege
The skill is not always-enabled and does not alter other skills' configs, but it will modify the user's global OpenClaw configuration (openclaw.json) and can enable/extend agent-to-agent collaboration. Those are legitimate for this task but are persistent, privileged changes — the user should be aware and confirm them (the SKILL.md recommends confirmation and supports --dry-run).
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install feishu-agent-add
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /feishu-agent-add 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of feishu-agent-add - Introduces a conversational skill for adding Feishu agents to OpenClaw without manual config editing. - Guides users through necessary input collection (agent name, purpose, app id/secret) with minimal questions. - Presents a summary preview before executing the setup script. - Runs a script to generate and update agent configuration, then summarizes results and next steps. - Supports both guided flows and ready-to-run terminal commands for advanced users.
元数据
Slug feishu-agent-add
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

feishuAgentAdd 是什么?

Use 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 f... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 286 次。

如何安装 feishuAgentAdd?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install feishu-agent-add」即可一键安装,无需额外配置。

feishuAgentAdd 是免费的吗?

是的,feishuAgentAdd 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

feishuAgentAdd 支持哪些平台?

feishuAgentAdd 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 feishuAgentAdd?

由 cyecho-io(@cyecho-io)开发并维护,当前版本 v1.0.0。

💬 留言讨论