← Back to Skills Marketplace
vimself

快速配置新的agent

by Jory · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
106
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install quick-agent-setup
Description
交互式添加并绑定新的飞书机器人账户,支持账户级或群聊级路由,自动备份配置并重启服务生效。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install quick-agent-setup
  3. After installation, invoke the skill by name or use /quick-agent-setup
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug quick-agent-setup
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 快速配置新的agent?

交互式添加并绑定新的飞书机器人账户,支持账户级或群聊级路由,自动备份配置并重启服务生效。 It is an AI Agent Skill for Claude Code / OpenClaw, with 106 downloads so far.

How do I install 快速配置新的agent?

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

Is 快速配置新的agent free?

Yes, 快速配置新的agent is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 快速配置新的agent support?

快速配置新的agent is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 快速配置新的agent?

It is built and maintained by Jory (@vimself); the current version is v1.0.0.

💬 Comments