← 返回 Skills 市场
vimself

快速配置新的agent

作者 Jory · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
106
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install quick-agent-setup
功能描述
交互式添加并绑定新的飞书机器人账户,支持账户级或群聊级路由,自动备份配置并重启服务生效。
安全使用建议
Before installing or running this skill: 1) Review the included index.js and lib/validator.js yourself (they will read/write ~/.openclaw/openclaw.json and create backups). 2) Do not pass App Secret on the command line in production: CLI args can be recorded in shell history and visible to other processes; prefer an interactive prompt or a secure secret mechanism. The current implementation lacks interactive prompts, so secrets are likely being supplied as CLI args—update the script to prompt or accept secrets securely. 3) Be aware the skill writes App Secret plaintext into openclaw.json and creates backups in ~/.openclaw/backups — ensure those files have restrictive permissions and are stored securely. 4) The validator (lib/validator.js) appears to incorrectly require peer.id for all bindings and may reject valid account-level bindings; test in a staging environment first. 5) Test the workflow in a non-production environment, inspect the created backup file before restarting the Gateway, and ensure the openclaw CLI exists and you understand privilege implications of restarting the service. If you cannot audit or modify the code, avoid using it with real secrets or on production systems.
功能分析
Type: OpenClaw Skill Name: quick-agent-setup Version: 1.0.0 The skill manages Feishu bot configurations by directly modifying the global OpenClaw configuration file (~/.openclaw/openclaw.json) and executing shell commands via execSync to restart the system gateway. While these actions are consistent with the stated purpose in SKILL.md and index.js, the ability to perform system-level configuration changes and service restarts represents a high-risk capability. The skill also handles sensitive credentials (App Secret) and lacks robust input validation before writing to the configuration file, though no clear evidence of intentional malice or data exfiltration was found.
能力评估
Purpose & Capability
Name/description match the implementation: index.js reads and writes ~/.openclaw/openclaw.json, creates backups, updates channel accounts and bindings, sets session.dmScope, and restarts the Gateway via the openclaw CLI. The requested capabilities are consistent with configuring Feishu bot accounts and routing to Agents.
Instruction Scope
SKILL.md describes an interactive conversational flow (agent will ask App ID/Secret and other fields). The shipped code implements a non-interactive CLI quickMode that requires --app-id and --app-secret; there is no interactive prompt implementation. The mismatch could lead to accidental secret exposure or failed runs if users expect interactive prompts. The SKILL.md and CLI examples also instruct passing the App Secret as a command-line argument, which risks credential leakage (shell history and process list).
Install Mechanism
No install spec and no remote downloads; code is included in the skill bundle. Nothing writes arbitrary external code to disk beyond the provided files. This is lower-risk than fetching remote binaries.
Credentials
The skill requires access to the user's home openclaw.json and will write App Secret values into that config (plaintext). It also invokes the openclaw CLI to change config and restart the gateway. While these are necessary for the stated purpose, the practice of accepting secrets via CLI args and storing them in plaintext is disproportionate from a credential-protection perspective and can leak credentials via shell history or process listings. No environment variables are declared to provide secrets more safely.
Persistence & Privilege
The skill does not request always: true and is user-invocable. It legitimately edits the OpenClaw config and restarts the Gateway — actions that affect runtime behavior and require appropriate privileges. This level of access is expected for a config-management tool but is impactful, so users should only run it in a trusted context.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install quick-agent-setup
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /quick-agent-setup 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release with multi-account Feishu bot configuration and agent binding. - Add interactive flow to register new Feishu bot accounts and configure routing (account-level or group-level binding). - Support command-line setup for both account and group chat bindings. - Preserve and auto-backup existing Feishu config before updating. - Automatic session dmScope configuration and gateway restart after changes. - Includes restore instructions if issues occur.
元数据
Slug quick-agent-setup
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

快速配置新的agent 是什么?

交互式添加并绑定新的飞书机器人账户,支持账户级或群聊级路由,自动备份配置并重启服务生效。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 106 次。

如何安装 快速配置新的agent?

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

快速配置新的agent 是免费的吗?

是的,快速配置新的agent 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

快速配置新的agent 支持哪些平台?

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

谁开发了 快速配置新的agent?

由 Jory(@vimself)开发并维护,当前版本 v1.0.0。

💬 留言讨论