/install aliyun-openclaw-setup
OpenClaw Setup
Deploy OpenClaw on Linux, enable DingTalk, Feishu, Discord, or other documented channels, and verify gateway health.
Use This Workflow
Run this sequence in order:
- Prepare Linux runtime and install OpenClaw.
- Discover channels from official docs (required for new channel requests).
- Install and verify channel integrations.
- Create/merge
~/.openclaw/openclaw.json. - Configure and start gateway service.
- Run health checks and collect logs.
Prerequisites
- SSH access to target Linux host (Debian/Ubuntu preferred).
- DingTalk enterprise app credentials (
AppKey,AppSecret) for the official connector, or Feishu app credentials (App ID,App Secret), or Discord bot token. - DashScope API key.
Step 1: Prepare Runtime
ssh root@\x3Cserver>
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
apt-get install -y nodejs
node --version
npm --version
Step 2: Install OpenClaw and Channel Integrations
npm install -g openclaw@latest
openclaw --version
# DingTalk official connector
openclaw plugins install @dingtalk-real-ai/dingtalk-connector --pin
# or install from official GitHub repo
openclaw plugins install https://github.com/DingTalk-Real-AI/dingtalk-openclaw-connector.git
openclaw plugins list | grep dingtalk
# Feishu channel
openclaw plugins install @openclaw/feishu
openclaw plugins list | grep feishu
# Discord channel (built-in, no extra plugin needed)
# Configure token in Step 3 and start gateway in Step 4
If upgrading from old DingTalk plugins, uninstall legacy plugin IDs first and keep only the official connector in plugins.allow.
Step 3: Auto-Discover Additional Channels from Official Docs
When user asks for any extra channel beyond current setup, do this first:
- Open
https://docs.openclaw.ai/channels/index. - Identify requested channel pages from the "Supported channels" list.
- Open each channel page and extract:
- Whether it is built-in or plugin-based.
- Exact install command (do not guess package names).
- Required credentials/tokens and config keys.
- Apply installation/configuration on host.
- Record channel-specific notes into
~/.openclaw/openclaw.json.
Use the exact workflow in references/channel-discovery.md.
Step 4: Configure openclaw.json
Create or update ~/.openclaw/openclaw.json with:
models.providers.bailianfor DashScope endpoint and models.agents.defaults.model.primaryinprovider/modelformat, default tobailian/glm-5.models.providers.bailian.modelsordered as:qwen3-plusglm-5minimax-m2.5kimi-k2.5
agents.defaults.model.fallbacksordered as:bailian/qwen3-plusbailian/minimax-m2.5bailian/kimi-k2.5
channels.dingtalk-connector,channels.feishu, orchannels.discordcredentials and policy.plugins.allowincluding installed channel plugins.
Important:
- Agent-level model config at
~/.openclaw/agents/main/agent/models.jsoncan override~/.openclaw/openclaw.json. - Keep provider definitions aligned in both files when defaults appear not to take effect.
- Protocol must match endpoint:
api: openai-completions-> usehttps://dashscope.aliyuncs.com/compatible-mode/v1api: openai-responses-> usehttps://dashscope.aliyuncs.com/api/v2/apps/protocols/compatible-mode/v1
Use the full template in references/config.md. Use DingTalk field mapping in references/dingtalk-setup.md. Use Feishu setup and field mapping in references/feishu-setup.md. Use Discord setup and field mapping in references/discord-setup.md. Use channel discovery workflow in references/channel-discovery.md.
Step 5: Install and Start Gateway
openclaw gateway install
openclaw gateway start
openclaw gateway status
If running with user-level systemd, reload after config changes:
systemctl --user import-environment DASHSCOPE_API_KEY
systemctl --user daemon-reload
systemctl --user restart openclaw-gateway
Step 6: Verify and Troubleshoot
openclaw doctor
openclaw gateway status
openclaw gateway logs -f
Common failures:
- Plugin not loaded: re-run plugin install and check
plugins.allow. - Unknown model: check
agents.defaults.model.primaryformat (provider/model-id). - API key error: verify
models.providers.bailian.apiKeyandDASHSCOPE_API_KEYimported in systemd. - Config changed but runtime model unchanged: check and update
~/.openclaw/agents/main/agent/models.json. - Empty payload / unexpected fallback: verify protocol-endpoint pair (
openai-completionsvsopenai-responses) and clear stale session if needed. - DingTalk no response: use
openclaw logs --followand checkgateway/channels/dingtalk-connectorlines for stream reconnect or credential issues. - Official connector installed but old probes inconsistent: rely on runtime logs and real message send/receive as source of truth.
- Feishu no response: check event subscription mode is WebSocket and gateway is running.
- Discord no response: verify bot intents, token, and first-DM pairing approval.
Security Notes
- Do not hardcode real secrets in repository files.
- Keep production keys in server-local configs or secret managers.
- Redact logs before sharing in tickets or chat.
Validation
mkdir -p output/aliyun-openclaw-setup
echo "validation_placeholder" > output/aliyun-openclaw-setup/validate.txt
Pass criteria: command exits 0 and output/aliyun-openclaw-setup/validate.txt is generated.
Output And Evidence
- Save artifacts, command outputs, and API response summaries under
output/aliyun-openclaw-setup/. - Include key parameters (region/resource id/time range) in evidence files for reproducibility.
Workflow
- Confirm user intent, region, identifiers, and whether the operation is read-only or mutating.
- Run one minimal read-only query first to verify connectivity and permissions.
- Execute the target operation with explicit parameters and bounded scope.
- Verify results and save output/evidence files.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install aliyun-openclaw-setup - 安装完成后,直接呼叫该 Skill 的名称或使用
/aliyun-openclaw-setup触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Aliyun Openclaw Setup 是什么?
Use when installing or configuring OpenClaw with DingTalk, Feishu, Discord, and additional channels with Bailian/DashScope models on Linux hosts. Use when pr... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 83 次。
如何安装 Aliyun Openclaw Setup?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install aliyun-openclaw-setup」即可一键安装,无需额外配置。
Aliyun Openclaw Setup 是免费的吗?
是的,Aliyun Openclaw Setup 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Aliyun Openclaw Setup 支持哪些平台?
Aliyun Openclaw Setup 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Aliyun Openclaw Setup?
由 cinience(@cinience)开发并维护,当前版本 v1.0.0。