alicloud-platform-openclaw-setup by cinience/alicloud-skills
npx skills add https://github.com/cinience/alicloud-skills --skill alicloud-platform-openclaw-setup在 Linux 上部署 OpenClaw,启用钉钉、飞书、Discord 或其他已文档化的渠道,并验证网关健康状态。
按顺序运行以下步骤:
~/.openclaw/openclaw.json。AppKey、AppSecret),或飞书应用凭证(App ID、App Secret),或 Discord 机器人令牌。ssh root@<server>
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
apt-get install -y nodejs
node --version
npm --version
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
npm install -g openclaw@latest
openclaw --version
# 钉钉官方连接器
openclaw plugins install @dingtalk-real-ai/dingtalk-connector --pin
# 或从官方 GitHub 仓库安装
openclaw plugins install https://github.com/DingTalk-Real-AI/dingtalk-openclaw-connector.git
openclaw plugins list | grep dingtalk
# 飞书渠道
openclaw plugins install @openclaw/feishu
openclaw plugins list | grep feishu
# Discord 渠道(内置,无需额外插件)
# 在步骤 3 中配置令牌,在步骤 4 中启动网关
如果从旧的钉钉插件升级,请先卸载遗留的插件 ID,并确保 plugins.allow 中只保留官方连接器。
当用户请求当前设置之外的任何额外渠道时,首先执行此操作:
https://docs.openclaw.ai/channels/index。~/.openclaw/openclaw.json 中。使用 references/channel-discovery.md 中的确切工作流。
openclaw.json使用以下内容创建或更新 ~/.openclaw/openclaw.json:
models.providers.bailian 用于 DashScope 端点和模型。agents.defaults.model.primary 采用 provider/model 格式,默认为 bailian/glm-5。models.providers.bailian.models 按以下顺序排列:
qwen3-plusglm-5minimax-m2.5kimi-k2.5agents.defaults.model.fallbacks 按以下顺序排列:
bailian/qwen3-plusbailian/minimax-m2.5bailian/kimi-k2.5channels.dingtalk-connector、channels.feishu 或 channels.discord 的凭证和策略。plugins.allow 包含已安装的渠道插件。重要提示:
~/.openclaw/agents/main/agent/models.json 中的代理级别模型配置可以覆盖 ~/.openclaw/openclaw.json。api: openai-completions -> 使用 https://dashscope.aliyuncs.com/compatible-mode/v1api: openai-responses -> 使用 https://dashscope.aliyuncs.com/api/v2/apps/protocols/compatible-mode/v1使用 references/config.md 中的完整模板。使用 references/dingtalk-setup.md 中的钉钉字段映射。使用 references/feishu-setup.md 中的飞书设置和字段映射。使用 references/discord-setup.md 中的 Discord 设置和字段映射。使用 references/channel-discovery.md 中的渠道发现工作流。
openclaw gateway install
openclaw gateway start
openclaw gateway status
如果使用用户级别的 systemd 运行,请在配置更改后重新加载:
systemctl --user import-environment DASHSCOPE_API_KEY
systemctl --user daemon-reload
systemctl --user restart openclaw-gateway
openclaw doctor
openclaw gateway status
openclaw gateway logs -f
常见故障:
plugins.allow。agents.defaults.model.primary 格式(provider/model-id)。models.providers.bailian.apiKey 和 systemd 中导入的 DASHSCOPE_API_KEY。~/.openclaw/agents/main/agent/models.json。openai-completions 与 openai-responses),并在需要时清除过时的会话。openclaw logs --follow 并检查 gateway/channels/dingtalk-connector 行以查找流重新连接或凭证问题。mkdir -p output/alicloud-platform-openclaw-setup
echo "validation_placeholder" > output/alicloud-platform-openclaw-setup/validate.txt
通过标准:命令以 0 退出且生成 output/alicloud-platform-openclaw-setup/validate.txt 文件。
output/alicloud-platform-openclaw-setup/ 目录下。每周安装次数
82
仓库
GitHub 星标数
337
首次出现
8 天前
安全审计
安装于
opencode82
gemini-cli82
github-copilot82
amp82
cline82
codex82
Deploy OpenClaw on Linux, enable DingTalk, Feishu, Discord, or other documented channels, and verify gateway health.
Run this sequence in order:
~/.openclaw/openclaw.json.AppKey, AppSecret) for the official connector, or Feishu app credentials (App ID, App Secret), or Discord bot token.ssh root@<server>
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
apt-get install -y nodejs
node --version
npm --version
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.
When user asks for any extra channel beyond current setup, do this first:
https://docs.openclaw.ai/channels/index.~/.openclaw/openclaw.json.Use the exact workflow in references/channel-discovery.md.
openclaw.jsonCreate or update ~/.openclaw/openclaw.json with:
models.providers.bailian for DashScope endpoint and models.agents.defaults.model.primary in provider/model format, default to bailian/glm-5.models.providers.bailian.models ordered as:
qwen3-plusglm-5minimax-m2.5kimi-k2.5agents.defaults.model.fallbacks ordered as:
Important:
~/.openclaw/agents/main/agent/models.json can override ~/.openclaw/openclaw.json.api: openai-completions -> use https://dashscope.aliyuncs.com/compatible-mode/v1api: openai-responses -> use https://dashscope.aliyuncs.com/api/v2/apps/protocols/compatible-mode/v1Use 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.
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
openclaw doctor
openclaw gateway status
openclaw gateway logs -f
Common failures:
plugins.allow.agents.defaults.model.primary format (provider/model-id).models.providers.bailian.apiKey and DASHSCOPE_API_KEY imported in systemd.~/.openclaw/agents/main/agent/models.json.openai-completions vs openai-responses) and clear stale session if needed.openclaw logs --follow and check lines for stream reconnect or credential issues.mkdir -p output/alicloud-platform-openclaw-setup
echo "validation_placeholder" > output/alicloud-platform-openclaw-setup/validate.txt
Pass criteria: command exits 0 and output/alicloud-platform-openclaw-setup/validate.txt is generated.
output/alicloud-platform-openclaw-setup/.Weekly Installs
82
Repository
GitHub Stars
337
First Seen
8 days ago
Security Audits
Gen Agent Trust HubFailSocketPassSnykFail
Installed on
opencode82
gemini-cli82
github-copilot82
amp82
cline82
codex82
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
113,700 周安装
bailian/qwen3-plusbailian/minimax-m2.5bailian/kimi-k2.5channels.dingtalk-connector, channels.feishu, or channels.discord credentials and policy.plugins.allow including installed channel plugins.gateway/channels/dingtalk-connector