← Back to Skills Marketplace
cyecho-io

feishuAgentAdd

by cyecho-io · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
286
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install feishu-agent-add
Description
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...
README (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.
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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).
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install feishu-agent-add
  3. After installation, invoke the skill by name or use /feishu-agent-add
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug feishu-agent-add
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 286 downloads so far.

How do I install feishuAgentAdd?

Run "/install feishu-agent-add" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is feishuAgentAdd free?

Yes, feishuAgentAdd is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does feishuAgentAdd support?

feishuAgentAdd is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created feishuAgentAdd?

It is built and maintained by cyecho-io (@cyecho-io); the current version is v1.0.0.

💬 Comments