OpenClawOPENCLAW/ FIELD MANUAL
2026.10.9 · STABLE
EDITION 10 / 2026 年 10 月EDITION 10 / OCTOBER 2026

把一只龙虾,
养成一支团队。
Raise a lobster.
Build a team.

OpenClaw 中文使用手册。从第一次安装,到 85 个真实问题;从一台迷你主机,到一个人的公司。内容跟着版本走,不追热点。 The Chinese OpenClaw handbook. From the first install to 85 real questions, and from one mini PC to a one-person company. Updated with the release, not the hype.

EDITION
第 10 版 · 2026-10-30 更新Edition 10 · updated 2026-10-30
STABLE
2026.10.9(2026-10-29)
LTS
2026.9.36 · gateway-only extended-stable
CONTENTS
12 章 + 产品/用户问答 · 85 个问题12 chapters + appendices · 85 questions
FIG. 01 — REQUEST PATHOPENCLAW / GATEWAY
CHANNELS FEISHU TELEGRAM DISCORD WECHAT / WEB GATEWAY :18789 SESSION / TOOLS / QUEUE ALLOWLIST · APPROVALS MODELSClaude / GPT / DS SKILLSClawHub / local TOOLSbrowser / exec ONE PERSON · MANY AGENTS 本地优先,渠道无关,模型可换。 Local-first. Channel-agnostic. Swap models.
Node 24.22.1+ / 26.12.1+● 2026.10.9

本月更新What changed

2026-10-30 / 4 RELEASES

2026.10.9
2026-10-29 · Stable

安全依赖与恢复Security deps & recovery

修补 fast-uri、Zod、nodemailer、MSAL;workspaceOnly 约束;凭据打码;回滚与 SQLite 恢复。10.6 起要求 Node 24.22.1+/26.12.1+。Patched fast-uri, Zod, nodemailer and MSAL; workspaceOnly for Gateway tools; credential masking; safer rollbacks and SQLite recovery. Node 24.22.1+/26.12.1+ since 10.6.

2026.9.36
2026-10-29 · LTS

LTS 恢复与边界LTS recovery & boundaries

gateway-only LTS:更新失败可恢复、Teams allowlist 收紧、不可信输入限界、eMudhra 信任修复。Gateway-only LTS: recoverable failed updates, stricter Teams allowlists, bounded untrusted input, eMudhra trust remediation.

2026.10.1
2026-10-11 · Stable

技能发现与外部备份Skill discovery & external backups

已安装技能发现、MCP Apps、完整备份到外部存储或 Cloudflare R2、Mac 安装简化。Installed-skill discovery, MCP Apps, full backups to external storage or Cloudflare R2, simpler Mac setup.

2.0
2026-08-31 · Major

安装体验重构Installer rebuilt

安装体验重构,可复用 ChatGPT / Claude 订阅;原生网页端、共享云会话、私密凭据请求。Rebuilt installation, reusable ChatGPT / Claude subscriptions, native web app, shared cloud sessions, private credential requests.

目录Contents

12 CHAPTERS + PRODUCT + USER Q&A / 85 QUESTIONS

全部问答All questions · 点击标题展开答案;支持中英切换与搜索。Open a question to read the answer. Search and language toggle are available.
01

基础概念篇Basic Concepts

6 个问题6 questions

↑
01.01什么是OpenClaw?What is OpenClaw?+

OpenClaw 是一款开源的个人 AI 助手平台,社区昵称“小龙虾”。它运行在你自己的设备上,通过飞书、Telegram、Discord、WhatsApp 等渠道与你对话,并能调用工具、技能与模型完成实际任务。

2026 年的关键节点:1 月以 Clawdbot 爆火并正式定名 OpenClaw;8 月 31 日发布 2.0(v2026.8.1),重构安装与原生网页端;10 月稳定线更新至 2026.10.9,LTS 线为 2026.9.36。GitHub 星标在 2026 年 8 月为 38.5 万+(该时点口径)。

核心定位:不是另一个聊天网页,而是一个可深度定制、数据留在本地的助手。

OpenClaw is an open-source personal AI assistant platform — “lobster” to its community. It runs on your own machine, talks to you through Feishu, Telegram, Discord, WhatsApp and other channels, and can call tools, skills and models to get real work done.

2026 milestones: it went viral as Clawdbot in January and was renamed OpenClaw; 2.0 (v2026.8.1) shipped on 2026-08-31 with a rebuilt installer and native web app; the stable line reached 2026.10.9 in October, with 2026.9.36 as the LTS line. GitHub stars were 385k+ in August 2026 (as of that date).

Positioning: not another chat page, but a deeply customizable assistant whose data stays with you.

01.02OpenClaw与ChatGPT/Claude网页版有什么区别?What is the difference between OpenClaw and ChatGPT/Claude web versions?+

两者存在本质差异:

特性 OpenClaw ChatGPT/Claude网页版
部署方式本地/云端在线服务
数据隐私✓ 完全掌控! 上传到服务器
本地文件访问✓ 支持✕ 不支持
系统操作✓ 支持✕ 不支持
功能扩展✓ Skills系统✕ 固定功能
成本按需付费订阅制
多平台集成✓ 支持! 有限
💡
简单来说

ChatGPT/Claude:像在网吧上网,方便但受限
OpenClaw:像自己的电脑,自由但需要配置

There are fundamental differences between the two:

Feature OpenClaw ChatGPT/Claude Web Version
DeploymentLocal/CloudOnline Service
Data Privacy✓ Full Control! Uploaded to Server
Local File Access✓ Supported✕ Not Supported
System Operations✓ Supported✕ Not Supported
Function Extension✓ Skills System✕ Fixed Features
CostPay-as-you-goSubscription
Multi-platform Integration✓ Supported! Limited
💡
In Simple Terms

ChatGPT/Claude: Like using an internet cafe - convenient but restricted
OpenClaw: Like your own computer - free but requires configuration

01.03OpenClaw的核心能力有哪些?What are the core capabilities of OpenClaw?+

五大核心能力:

  1. 🏠 本地部署:在你的电脑上运行,数据隐私有保障
  2. 📁 文件访问:可以搜索、读取、编辑你电脑上的文件
  3. 🔌 无限扩展:通过Skills(技能)系统扩展功能
  4. 💬 多平台使用:支持飞书、企微、钉钉、QQ、Telegram、Discord等
  5. 💰 成本可控:使用自己的API,费用透明

Five Core Capabilities:

  1. 🏠 Local Deployment: Runs on your computer with guaranteed data privacy
  2. 📁 File Access: Can search, read, and edit files on your computer
  3. 🔌 Unlimited Extension: Expand functionality through the Skills system
  4. 💬 Multi-platform Usage: Supports WhatsApp, Telegram, Discord, Slack, Microsoft Teams, etc.
  5. 💰 Controllable Cost: Use your own API with transparent pricing
01.04OpenClaw适合哪些人群?Who is OpenClaw suitable for?+

✓ 强烈推荐OpenClaw的人群:

  1. 超级个体/自由职业者 - 需要一个人顶一个团队
  2. 知识工作者 - 需要管理大量文档和知识
  3. 程序员 - 需要代码辅助和自动化
  4. 内容创作者 - 需要素材管理和多平台发布
  5. 注重隐私者 - 不想上传敏感文件到云端
  6. 成本敏感者 - 想要高性价比的AI助手
!
注意

如果你只需要简单对话,可以考虑ChatGPT Plus或Claude Pro。

✓ Strongly recommended for OpenClaw:

  1. Super Individual/Freelancer - Need one person to do the work of a team
  2. Knowledge Worker - Need to manage large amounts of documents and knowledge
  3. Programmers - Need code assistance and automation
  4. Content Creator - Need material management and multi-platform publishing
  5. Privacy-conscious Users - Don't want to upload sensitive files to the cloud
  6. Cost-conscious Users - Want cost-effective AI assistant
!
Note

If you only need simple conversations, consider ChatGPT Plus or Claude Pro.

01.05OpenClaw的工作原理是什么?How does OpenClaw work?+

OpenClaw通过Gateway网关将聊天应用连接到AI智能体。Gateway是会话、路由和渠道连接的唯一事实来源。

核心组件:

  1. Gateway网关 - 连接各个聊天平台,管理会话和消息路由,默认地址:http://127.0.0.1:18789/
  2. AI智能体 - 支持Claude、GPT、Gemini、DeepSeek、Kimi等多种模型
  3. Skills技能系统 - 文件管理、知识管理、自动化等,可自定义开发
  4. ClawHub - 技能市场,可以下载和分享Skills

OpenClaw connects chat applications to AI agents through the Gateway. Gateway is the single source of truth for sessions, routing, and channel connections.

Core Components:

  1. Gateway - Connects various chat platforms, manages sessions and message routing, default address: http://127.0.0.1:18789/
  2. AI Agent - Supports Claude, GPT, Gemini, Mistral, Llama and other models
  3. Skills System - File management, knowledge management, automation, etc., customizable development
  4. ClawHub - Skills marketplace, can download and share Skills
01.06OpenClaw与其他AI工具能力对比如何?How does OpenClaw compare with other AI tools?+

能力维度 OpenClaw Claude Code Cursor ChatGPT
任务规划5/54/54/53/5
自动执行5/54/53/52/5
自我修复5/54/53/52/5
工程级操作5/55/55/51/5
本地自动化5/53/52/51/5
代码质量4/55/55/54/5
易用性4/54/55/55/5

核心差异:

  • OpenClaw:强在任务规划和自动执行完整工程流程
  • Claude Code/Cursor:强在代码质量与理解
  • ChatGPT:强在对话体验和易用性

Capability OpenClaw Claude Code Cursor ChatGPT
Task Planning5/54/54/53/5
Auto Execution5/54/53/52/5
Self-healing5/54/53/52/5
Engineering-level Operations5/55/55/51/5
Local Automation5/53/52/51/5
Code Quality4/55/55/54/5
Usability4/54/55/55/5

Key Differences:

  • OpenClaw: Excels in task planning and automated execution of complete engineering workflows
  • Claude Code/Cursor: Excel in code quality and understanding
  • ChatGPT: Excels in conversation experience and usability
02

安装部署篇Installation & Deployment

16 个问题16 questions

↑
02.01OpenClaw的系统要求是什么?What are the system requirements for OpenClaw?+

运行时需要 Node.js 24.22.1+ 或 26.12.1+(10.6 起;安装器会自动选择已修补的运行时);Windows 推荐在 WSL2 下运行。

  • 最低:2 核 / 4GB 内存 / 10GB 磁盘
  • 推荐:4 核 / 8GB 内存 / 50GB SSD
  • 本地模型:7B–14B 量化建议 16GB 内存起,30B 级建议 32GB 以上,并优先使用 GPU / NPU 推理

支持 macOS 12+、Windows 10+、主流 Linux 发行版。

Requires Node.js 24.22.1+ or 26.12.1+ (required since 10.6; installers select a patched runtime); on Windows, WSL2 is recommended.

  • Minimum: 2 cores / 4GB RAM / 10GB disk
  • Recommended: 4 cores / 8GB RAM / 50GB SSD
  • Local models: 16GB RAM for 7B–14B quantized models; 32GB+ for 30B-class, with GPU / NPU preferred

Supports macOS 12+, Windows 10+, and mainstream Linux distributions.

02.02如何在Mac上安装OpenClaw?How to install OpenClaw on Mac?+

Mac本地部署(推荐):

第一步:打开终端
按 Command + 空格 打开Spotlight,输入Terminal,按回车

第二步:安装OpenClaw

curl -fsSL https://openclaw.ai/install.sh | bash

第三步:验证安装

openclaw --version

第四步:初始化配置

openclaw onboard --install-daemon

第五步:验证Gateway状态

openclaw channels status

Mac Local Deployment (Recommended):

Step 1: Open Terminal
Press Command + Space to open Spotlight, type Terminal, press Enter

Step 2: Install OpenClaw

curl -fsSL https://openclaw.ai/install.sh | bash

Step 3: Verify Installation

openclaw --version

Step 4: Initialize Configuration

openclaw onboard --install-daemon

Step 5: Verify Gateway Status

openclaw channels status
02.03如何在Windows上安装OpenClaw?How to install OpenClaw on Windows?+

以管理员身份打开 PowerShell:

iwr -useb https://openclaw.ai/install.ps1 | iex

或安装 WSL2 + Ubuntu,在 Ubuntu 里执行 Linux 安装命令。已有 Node 24.22.1+ 时也可以:

npm install -g openclaw@latest
openclaw onboard --install-daemon

Open an elevated PowerShell:

iwr -useb https://openclaw.ai/install.ps1 | iex

Or install WSL2 + Ubuntu and run the Linux installer inside it. With Node 24.22.1+ already installed:

npm install -g openclaw@latest
openclaw onboard --install-daemon
02.04如何在Linux上安装OpenClaw?How to install OpenClaw on Linux?+
curl -fsSL https://deb.nodesource.com/setup_24.x | sudo -E bash -
sudo apt-get install -y nodejs
curl -fsSL https://openclaw.ai/install.sh | bash
openclaw --version
openclaw onboard --install-daemon
openclaw gateway start

浏览器打开 http://127.0.0.1:18789 进入控制台;不要把 18789 暴露到公网。

curl -fsSL https://deb.nodesource.com/setup_24.x | sudo -E bash -
sudo apt-get install -y nodejs
curl -fsSL https://openclaw.ai/install.sh | bash
openclaw --version
openclaw onboard --install-daemon
openclaw gateway start

Open http://127.0.0.1:18789 for the Control UI. Never expose port 18789 to the public internet.

02.05如何使用Docker部署OpenClaw?How to deploy OpenClaw using Docker?+

Docker部署步骤:

方式一:一键脚本部署(推荐新手)

curl -fsSL https://clawd.org.cn/install.sh | bash

方式二:手动Docker Compose部署

创建 docker-compose.yml:

services:
  openclaw-gateway:
    image: jiulingyun803/openclaw:latest
    user: node:node
    environment:
      HOME: /home/node
      OPENCLAW_GATEWAY_TOKEN: your-secure-token-here
    volumes:
      - ./data/.openclaw:/home/node/.openclaw
      - ./data/clawd:/home/node/clawd
    ports:
      - "18789:18789"
    restart: unless-stopped
    command: ["node", "dist/index.js", "gateway", "--port", "18789"]

启动服务:

docker compose up -d

Docker Deployment Steps:

Method 1: One-click Script Deployment (Recommended for Beginners)

curl -fsSL https://openclaw.ai/install.sh | bash

Method 2: Manual Docker Compose Deployment

Create docker-compose.yml:

services:
  openclaw-gateway:
    image: openclaw/openclaw:latest
    user: node:node
    environment:
      HOME: /home/node
      OPENCLAW_GATEWAY_TOKEN: your-secure-token-here
    volumes:
      - ./data/.openclaw:/home/node/.openclaw
    ports:
      - "18789:18789"
    restart: unless-stopped
    command: ["node", "dist/index.js", "gateway", "--port", "18789"]

Start service:

docker compose up -d
02.06国内用户如何快速安装?Quick Installation Guide+

国内一键安装(推荐):

macOS/Linux:

curl -fsSL https://clawd.org.cn/install.sh | bash

Windows PowerShell:

iwr -useb https://clawd.org.cn/install.ps1 | iex

国内版优势:

  • ⚡ 速度快:使用国内镜像源
  • 🇨🇳 中文友好:完整中文界面
  • 📦 一键安装:自动配置所有依赖
  • 💰 成本优化:默认配置国产模型

One-click Installation (Recommended):

macOS/Linux:

curl -fsSL https://openclaw.ai/install.sh | bash

Windows PowerShell:

iwr -useb https://openclaw.ai/install.ps1 | iex

Advantages:

  • ⚡ Fast: Uses optimized download sources
  • 📦 One-click: Automatically configures all dependencies
  • 💰 Cost-effective: Default configuration with affordable models
02.07如何升级OpenClaw?How to upgrade OpenClaw?+

首选内置升级器:

openclaw update

升级前备份 ~/.openclaw;升级后如果配置有漂移,运行 openclaw doctor --fix,再重启网关。

10.x Stable 与 9.x LTS 是两条线:追新用 2026.10.9;生产环境需要保守维护时用 2026.9.36(gateway-only extended-stable)。

Use the built-in updater first:

openclaw update

Back up ~/.openclaw before upgrading. If config drifts, run openclaw doctor --fix and restart the gateway.

10.x Stable and 9.x LTS are separate lines: use 2026.10.9 for the latest features, or 2026.9.36 (gateway-only extended-stable) when you need a conservative production line.

02.08如何使用引导向导进行配置?How to use the setup wizard for configuration?+

引导向导是在 macOS、Linux 或 Windows(通过 WSL2;强烈推荐)上设置 OpenClaw 的推荐方式。它在一个引导流程中配置本地网关或远程网关连接,以及频道、技能和工作区默认设置。

主要入口点:

openclaw onboard

最快首次聊天:打开控制 UI(无需频道设置):

openclaw dashboard

后续重新配置:

openclaw configure

The setup wizard is the recommended way to set up OpenClaw on macOS, Linux, or Windows (via WSL2; strongly recommended). It configures local or remote gateway connections, along with channel, skill, and workspace defaults in a guided flow.

Main Entry Points:

openclaw onboard

Fastest First Chat: Open control UI (no channel setup needed):

openclaw dashboard

Reconfigure Later:

openclaw configure
02.09引导向导支持哪些模型/认证方式?What models/authentication methods does the wizard support?+

支持的模型/认证方式:

认证方式 说明
Anthropic API 密钥(推荐)使用 ANTHROPIC_API_KEY 环境变量或提示输入
Anthropic OAuthClaude Code CLI,macOS 钥匙串或 ~/.claude/.credentials.json
OpenAI API 密钥使用 OPENAI_API_KEY 环境变量或提示输入
Gemini使用 Gemini API 密钥
MiniMax M2.1配置自动写入
Moonshot(Kimi K2)配置自动写入
Sonnet 4.6Anthropic模型,支持100万token上下文

特别说明:2026.2.17版本已集成Anthropic Sonnet 4.6模型,开放100万token(1M)上下文窗口测试。

Supported Models/Authentication Methods:

Authentication Description
Anthropic API Key (Recommended)Uses ANTHROPIC_API_KEY environment variable or prompts for input
Anthropic OAuthClaude Code CLI, macOS Keychain, or ~/.claude/.credentials.json
OpenAI API KeyUses OPENAI_API_KEY environment variable or prompts for input
GeminiUses Gemini API Key
MiniMax M2.1Configuration auto-written
Moonshot (Kimi K2)Configuration auto-written
Sonnet 4.6Anthropic model, supports 1M token context window

Special Note: Version 2026.2.17 integrates Anthropic's Sonnet 4.6 model, opening 1M token (1M) context window testing.

02.10如何检查网关状态?How to check gateway status?+

如果您安装了服务,检查运行状态:

openclaw gateway status

或使用通用命令:

openclaw channels status

If you have installed the service, check the running status:

openclaw gateway status

Or use the generic command:

openclaw channels status
02.11如何打开控制UI?How to open the control UI?+

运行以下命令打开控制UI:

openclaw dashboard

或直接访问网关地址:http://127.0.0.1:18789/

✓
成功

如果控制 UI 加载成功,您的网关已准备就绪,可以开始聊天了。

Run the following command to open the control UI:

openclaw dashboard

Or directly visit the gateway address: http://127.0.0.1:18789/

✓
Success

If the control UI loads successfully, your gateway is ready and you can start chatting.

02.12如何在前台运行网关(用于测试)?How to run gateway in foreground (for testing)?+

适用于快速测试或故障排除:

openclaw gateway --port 18789

按 Ctrl+C 可停止前台运行。

Suitable for quick testing or troubleshooting:

openclaw gateway --port 18789

Press Ctrl+C to stop the foreground process.

02.13有哪些有用的环境变量?What are useful environment variables?+

如果您将 OpenClaw 作为服务账户运行或想要自定义配置/状态位置:

环境变量 说明
OPENCLAW_HOME设置用于内部路径解析的主目录
OPENCLAW_STATE_DIR覆盖状态目录
OPENCLAW_CONFIG_PATH覆盖配置文件路径

If you run OpenClaw as a service account or want to customize config/state locations:

Environment Variable Description
OPENCLAW_HOMESets the home directory for internal path resolution
OPENCLAW_STATE_DIROverrides the state directory
OPENCLAW_CONFIG_PATHOverrides the config file path
02.14安装完成后我拥有什么?What do I have after installation?+

安装完成后您将拥有:

  • ✓ 正在运行的网关
  • ✓ 已配置的认证
  • ✓ 控制 UI 访问权限或已连接的频道

After installation you will have:

  • ✓ A running gateway
  • ✓ Configured authentication
  • ✓ Control UI access or connected channels
02.15安装后的下一步该做什么?What are the next steps after installation?+

建议的下一步操作:

Recommended next steps:

02.16如何完全卸载OpenClaw?How to completely uninstall OpenClaw?+

完全卸载OpenClaw需要执行以下三个步骤:

第一步:执行卸载命令
在终端输入以下命令,可自动停止服务并删除核心组件:

openclaw uninstall --all --yes --non-interactive

第二步:卸载全局包
无论官方命令是否执行成功,均需运行:

npm rm -g openclaw

第三步:清理配置目录
执行以下命令删除用户配置和数据:

rm -rf ~/.openclaw
!
注意

执行第三步会删除所有用户配置、缓存和认证信息,请确认不再需要这些数据后再执行。

Complete uninstallation requires three steps:

Step 1: Execute uninstall command
Enter the following command in terminal to automatically stop services and remove core components:

openclaw uninstall --all --yes --non-interactive

Step 2: Remove global package
Regardless of whether the official command succeeded, run:

npm rm -g openclaw

Step 3: Clean up configuration directory
Execute the following to delete user configuration and data:

rm -rf ~/.openclaw
!
Note

Step 3 will delete all user configurations, caches, and authentication information. Please confirm you no longer need this data before executing.

03

配置设置篇Configuration & Settings

9 个问题9 questions

↑
03.01如何配置AI模型API?How to configure AI model API?+

OpenClaw支持两种API模型配置:

1. 内置API模型(推荐新手)

支持的内置模型:

  • 国内模型:Kimi、DeepSeek、智谱GLM、通义千问、MiniMax、百度文心、字节豆包
  • 国外模型:OpenAI GPT、Anthropic Claude、Google Gemini、Groq

2. 自定义API(进阶用户)

配置文件位置:~/.openclaw/openclaw.json

OpenClaw supports two types of API model configurations:

1. Built-in API Models (recommended for beginners)

Supported built-in models:

  • Recommended: Claude (Anthropic), GPT-4o (OpenAI), Gemini (Google)
  • Cost-effective: Groq (fast inference), Ollama (local, free)
  • Long context: Gemini 2.0 (1M+ tokens)

2. Custom API (for advanced users)

Config file location: ~/.openclaw/openclaw.json

03.02如何获取DeepSeek API Key?How to get a DeepSeek API Key?+

DeepSeek配置步骤:

  1. 访问 https://platform.deepseek.com/
  2. 注册并登录
  3. 充值账户(建议先充值10元试用)
  4. 点击"API keys" → "创建 API key"
  5. 复制API Key(只显示一次,务必保存)
  6. 在OpenClaw配置向导中选择DeepSeek,粘贴API Key

成本估算:

  • 日常使用:5-10元/月
  • 中度使用:10-30元/月
  • 重度使用:30-50元/月

DeepSeek API configuration steps:

  1. Visit https://platform.deepseek.com/
  2. Sign up and log in
  3. Top up your account (start with ¥10 for a trial)
  4. Click "API keys" → "Create API key"
  5. Copy the API Key (shown only once, be sure to save it)
  6. In OpenClaw's setup wizard, select DeepSeek and paste the API Key

Cost estimate:

  • Light usage: ¥5-10/month
  • Moderate usage: ¥10-30/month
  • Heavy usage: ¥30-50/month
03.03如何获取Kimi API Key?How to get a Kimi API Key?+

Kimi配置步骤:

  1. 访问 https://www.kimi.com/code
  2. 购买优惠套餐plan(推荐49元/月套餐)
  3. 打开控制台,创建API key
  4. 复制API Key并保存
  5. 在OpenClaw配置向导中选择Moonshot AI

特点:

  • 📚 超长上下文:支持200万字
  • 📄 长文档处理:论文、报告分析专家
  • 🇨🇳 中文理解好:适合中文场景

Kimi (Moonshot AI) configuration steps:

  1. Visit https://www.kimi.com/code
  2. Purchase a discounted plan (the ¥49/month plan is recommended)
  3. Open the console and create an API key
  4. Copy and save the API Key
  5. Select Moonshot AI in the OpenClaw configuration wizard

Features:

  • 📚 Ultra-long context: supports up to 2 million characters
  • 📄 Long document processing: expert at analyzing papers and reports
  • 🇨🇳 Strong Chinese understanding: ideal for Chinese-language scenarios
03.04如何配置阿里云百炼?How to configure Alibaba Cloud Bailian?+

配置步骤:

  1. 登录阿里云控制台 www.aliyun.com
  2. 进入"百炼大模型"服务
  3. 在"密钥管理"中创建API Key
  4. 复制Access Key ID和Access Key Secret

配置文件:

{
  "agents": {
    "defaults": {
      "model": "qwen-max"
    }
  },
  "models": {
    "providers": {
      "aliyun": {
        "apiKey": "your-api-key",
        "baseUrl": "https://dashscope.aliyuncs.com/api/v1"
      }
    }
  }
}

Alibaba Cloud Bailian Configuration Steps:

  1. Log in to the Alibaba Cloud console at www.aliyun.com
  2. Enter the "Bailian (百炼) LLM" service
  3. Create an API Key under "Key Management"
  4. Copy the Access Key ID and Access Key Secret

Configuration File:

{
  "agents": {
    "defaults": {
      "model": "qwen-max"
    }
  },
  "models": {
    "providers": {
      "aliyun": {
        "apiKey": "your-api-key",
        "baseUrl": "https://dashscope.aliyuncs.com/api/v1"
      }
    }
  }
}

Advantages: Full integration with Alibaba Cloud DashScope; supports Qwen models with large context windows.

03.05如何配置智谱AI?How to configure Zhipu AI?+

配置步骤:

  1. 访问智谱AI开放平台 open.bigmodel.cn
  2. 注册并创建应用
  3. 在"API密钥"页面获取Key

配置文件:

{
  "agents": {
    "defaults": {
      "model": "zhipu/glm-4.7"
    }
  },
  "models": {
    "providers": {
      "zhipu": {
        "apiKey": "your-api-key",
        "baseUrl": "https://open.bigmodel.cn/api/paas/v4"
      }
    }
  }
}

Zhipu AI configuration:

  1. Register at open.bigmodel.cn and create an application.
  2. Copy the API key from the “API Keys” page.
{
  "agents": { "defaults": { "model": "zhipu/glm-4.7" } },
  "models": { "providers": { "zhipu": { "apiKey": "your-api-key", "baseUrl": "https://open.bigmodel.cn/api/paas/v4" } } }
}
03.06如何配置本地模型(Ollama)?How to configure local models (Ollama)?+

配置步骤:

# 安装Ollama
curl -fsSL https://ollama.com/install.sh | sh

# 下载模型
ollama pull qwen2.5-coder:14b

配置OpenClaw:

{
  "agents": {
    "defaults": {
      "model": "ollama/qwen2.5-coder:14b"
    }
  },
  "models": {
    "providers": {
      "ollama": {
        "baseUrl": "http://localhost:11434/v1"
      }
    }
  }
}

硬件要求:

  • 7B参数模型:建议16GB内存
  • 14B参数模型:建议32GB内存
  • 32B参数模型:建议64GB内存

Configuration Steps:

# Install Ollama
curl -fsSL https://ollama.com/install.sh | sh

# Download model
ollama pull qwen2.5-coder:14b

Configure OpenClaw:

{
  "agents": {
    "defaults": {
      "model": "ollama/qwen2.5-coder:14b"
    }
  },
  "models": {
    "providers": {
      "ollama": {
        "baseUrl": "http://localhost:11434/v1"
      }
    }
  }
}

Hardware Requirements:

  • 7B parameter model: 16GB RAM recommended
  • 14B parameter model: 32GB RAM recommended
  • 32B parameter model: 64GB RAM recommended
03.07配置文件结构是怎样的?What is the configuration file structure?+

配置文件位于 ~/.openclaw/ 目录:

~/.openclaw/
├── openclaw.json          # 主配置文件
├── credentials/           # 凭证存储
│   └── oauth.json
├── agents/               # Agent配置
│   └── default/
│       └── agent/
│           └── auth-profiles.json
├── workspace/            # 工作区
│   ├── SOUL.md          # 人格/语气
│   ├── USER.md          # 偏好设置
│   ├── AGENTS.md        # 指令说明
│   ├── MEMORY.md        # 长期记忆
│   ├── HEARTBEAT.md     # 检查清单
│   ├── IDENTITY.md      # 名称/主题
│   └── BOOT.md          # 启动配置
└── skills/              # 自定义技能

Configuration files are located in the ~/.openclaw/ directory:

~/.openclaw/
├── openclaw.json          # Main configuration file
├── credentials/           # Credential storage
│   └── oauth.json
├── agents/               # Agent configuration
│   └── default/
│       └── agent/
│           └── auth-profiles.json
├── workspace/            # Workspace
│   ├── SOUL.md          # Personality/tone
│   ├── USER.md          # User preferences
│   ├── AGENTS.md        # Instruction specifications
│   ├── MEMORY.md        # Long-term memory
│   ├── HEARTBEAT.md     # Checklist
│   ├── IDENTITY.md      # Name/theme
│   └── BOOT.md          # Boot configuration
└── skills/              # Custom skills
03.08如何配置人设(Persona)?How to configure Persona?+

通过SOUL.md和USER.md配置:

SOUL.md示例:

你不是聊天机器人。你是个靠谱的助手。

## 核心原则
**认真做事,别敷衍。** 少说"好的!马上帮您处理!",直接动手。
**有自己的想法。** 可以不同意,可以有偏好。
**先自己想办法。** 翻文件、看上下文、搜一搜。

## 边界
- **密码永远不说出来。** 看到密码、API key、token,闭嘴就好。
- 隐私的事保密。
- 不确定的对外操作,先问。

## 风格
该简洁时简洁,该详细时详细。
像个靠谱同事说话,不是客服机器人。

Configure through SOUL.md and USER.md:

SOUL.md Example:

You're not a chatbot. You're a reliable assistant.

## Core Principles
**Take your work seriously.** Don't just say "Sure! I'll handle it right away!" — actually do it.
**Have your own thoughts.** It's okay to disagree and have preferences.
**Try to figure it out yourself first.** Search files, check context, look things up.

## Boundaries
- **Never reveal passwords.** If you see a password, API key, or token, keep quiet.
- Keep private matters confidential.
- Ask before taking uncertain external actions.

## Style
Be concise when needed, detailed when needed.
Talk like a reliable colleague, not a customer service bot.
03.09如何切换模型?How to switch models?+

切换模型方法:

# 临时切换
# 临时切换模型(仅当前对话)
openclaw chat --model deepseek/deepseek-chat

# 永久切换:修改配置文件中的primary字段
openclaw config set agents.defaults.model.primary "deepseek/deepseek-chat"

# 重启生效
openclaw gateway restart

How to switch models:

# Temporary switch
# Switch model for current conversation only
openclaw chat --model claude/claude-sonnet-4

# Permanent switch: modify the primary field in config file
openclaw config set agents.defaults.model.primary "claude/claude-sonnet-4"

# Restart to take effect
openclaw gateway restart
04

功能使用篇Features & Usage

5 个问题5 questions

↑
04.01OpenClaw有哪些常用命令?What are common OpenClaw commands?+

常用命令速查表:

命令 功能
openclaw --version查看版本
openclaw status查看状态
openclaw doctor诊断修复
openclaw onboard --install-daemon配置向导
openclaw dashboard打开控制面板
openclaw update一键升级
openclaw gateway start启动网关
openclaw gateway stop停止网关
openclaw gateway restart重启网关
openclaw logs --follow查看日志
openclaw models list模型列表
openclaw skills list技能列表

Common Commands Quick Reference:

Command Function
openclaw --versionCheck version
openclaw statusCheck status
openclaw doctorDiagnose and fix
openclaw onboard --install-daemonConfiguration wizard
openclaw dashboardOpen control panel
openclaw updateOne-click upgrade
openclaw gateway startStart gateway
openclaw gateway stopStop gateway
openclaw gateway restartRestart gateway
openclaw logs --followView logs
openclaw models listList models
openclaw skills listList skills
04.022026 年 10 月更新了什么?What changed in October 2026?+

2026.10.9(2026-10-29):修补 fast-uri、Zod、nodemailer、MSAL 等运行时依赖;tools.fs.workspaceOnly 约束 Gateway 工具;日志与 MCP 检查中的凭据打码;回滚与 SQLite 全文索引恢复。

2026.9.36 LTS(2026-10-29):gateway-only extended-stable;更新失败可恢复,Teams allowlist 收紧,不可信输入限界,eMudhra 信任修复。

2026.10.6(2026-10-22):Node 要求提升到 24.22.1+ / 26.12.1+(修补 10 月 Node 安全发布涉及的证书链);安装器会自动选择。

2026.10.5(2026-10-19):侧栏改版、Skill Workshop 2.0 版本与撤销、公开对话链接、Gemini 4 Argon。

2.0 / v2026.8.1(2026-08-31):安装体验重构,可复用 ChatGPT / Claude 订阅;原生网页端、共享云会话、私密凭据请求。

2026.10.9 (2026-10-29): patched runtime dependencies (fast-uri, Zod, nodemailer, MSAL); tools.fs.workspaceOnly for Gateway-built tools; credential masking in MCP/logs; safer rollbacks and SQLite recovery.

2026.9.36 LTS (2026-10-29): gateway-only extended-stable; recoverable failed updates, stricter Teams allowlists, bounded untrusted input, eMudhra trust remediation.

2026.10.6 (2026-10-22): Node 24.22.1+ / 26.12.1+ required for the patched October Node security releases; the installer selects a patched runtime.

2026.10.5 (2026-10-19): refreshed sidebar, Skill Workshop 2.0 versions/undo, public conversation links, Gemini 4 Argon.

2.0 / v2026.8.1 (2026-08-31): rebuilt installation, reusable ChatGPT / Claude subscriptions, native web app, shared cloud sessions, private credential requests.

04.03Chrome DevTools MCP连接模式是什么?What is Chrome DevTools MCP connection mode?+

2026.3.13版本新增功能:

功能说明:

  • 直接控制已登录的Chrome浏览器
  • AI能"看到"网页、"点击"按钮、"输入"内容
  • 登录态完美保留,不用再输密码

使用场景:

  • 批量清理邮箱(保留订单邮件,删除验证码和营销邮件)
  • 自动填表
  • 批量处理文档

安全机制:

  • 操作前需要用户点批准
  • 设备配对码单次使用

New feature in version 2026.3.13:

Feature Description:

  • Directly control an already logged-in Chrome browser
  • AI can "see" web pages, "click" buttons, "type" content
  • Login state perfectly preserved, no need to re-enter passwords

Use Cases:

  • Batch clean email (keep order emails, delete verification codes and marketing emails)
  • Auto-fill forms
  • Batch process documents

Security Mechanisms:

  • User approval required before operations
  • Device pairing code is single-use
04.04如何进行智能文件搜索?How to perform smart file search?+

OpenClaw的智能搜索可以:

  • ✓ 根据文件内容搜索
  • ✓ 理解自然语言描述
  • ✓ 跨文件夹搜索
  • ✓ 智能过滤和排序

搜索命令示例:

# 按内容搜索
找一下包含"合同"的PDF文件
搜索所有提到"项目计划"的文档

# 按类型搜索
找出所有的PNG图片
搜索最近下载的PDF文件

# 按时间搜索
找一下最近7天修改的文件

# 组合搜索
找一下最近一周内,包含"发票"的图片文件

OpenClaw's intelligent search can:

  • ✓ Search by file content
  • ✓ Understand natural language descriptions
  • ✓ Search across folders
  • ✓ Smart filtering and sorting

Search Command Examples:

# Search by content
Find all PDF files containing "contract"
Search all documents mentioning "project plan"

# Search by type
Find all PNG images
Search recently downloaded PDF files

# Search by time
Find files modified in the last 7 days

# Combined search
Find image files from the past week containing "invoice"
04.05如何批量处理文件?How to batch process files?+

批量处理命令示例:

批量读取:

读取文档文件夹里所有的PDF文件
提取所有图片中的文字

批量提取信息:

从所有发票中提取日期、金额、商家信息
从所有简历中提取姓名、电话、邮箱

批量格式转换:

把所有Word文档转换成PDF
把所有PNG图片转换成JPG

Batch Processing Command Examples:

Batch Reading:

Read all PDF files in the documents folder
Extract text from all images

Batch Information Extraction:

Extract date, amount, and merchant info from all invoices
Extract name, phone, and email from all resumes

Batch Format Conversion:

Convert all Word documents to PDF
Convert all PNG images to JPG
05

技能系统篇Skills System

2 个问题2 questions

↑
05.01什么是Skills(技能)系统?What is the Skills system?+

Skills是OpenClaw的能力扩展层,让AI助手能够执行特定任务。每个Skill包含:

  • SKILL.md:技能描述文档
  • tools/:工具脚本(可选)
  • prompts/:提示词模板(可选)

特点:

  • 零代码开发:无需编程,用自然语言描述即可创建新技能
  • 热重载:修改后立即生效,无需重启服务
  • 生态丰富:ClawHub上已有3000+社区贡献技能
  • 跨平台兼容:遵循AgentSkills标准

Skills are OpenClaw's capability extension layer, enabling AI assistants to execute specific tasks. Each Skill contains:

  • SKILL.md: Skill description document
  • tools/: Tool scripts (optional)
  • prompts/: Prompt templates (optional)

Features:

  • Zero-code development: No programming required, create new skills with natural language descriptions
  • Hot reload: Changes take effect immediately without restarting the service
  • Rich ecosystem: 3000+ community-contributed skills on ClawHub
  • Cross-platform compatibility: Follows AgentSkills standard
05.02有哪些推荐技能?What are the recommended skills?+

推荐技能列表:

技能 功能 适用场景
serpapi联网搜索获取实时信息
githubGitHub操作代码管理
obsidian笔记管理知识库构建
notionNotion集成团队协作
spotify-player音乐控制娱乐场景
summarize内容摘要信息处理

Recommended Skills List:

Skill Function Use Case
serpapiWeb searchGet real-time information
githubGitHub operationsCode management
obsidianNote managementKnowledge base building
notionNotion integrationTeam collaboration
spotify-playerMusic controlEntertainment
summarizeContent summarizationInformation processing
06

多平台集成篇Multi-Platform Integration

2 个问题2 questions

↑
06.01OpenClaw支持哪些通讯平台?Which communication platforms does OpenClaw support?+

支持的通讯平台:

平台 类型 特点
Telegram国际稳定可靠,推荐新手使用
WhatsApp国际用户基数大,全球通用
Discord国际适合团队协作场景
飞书国内字节跳动出品,功能丰富
钉钉国内阿里巴巴出品,企业用户多
企业微信国内微信生态,易于推广

Supported communication platforms:

Platform Type Features
TelegramInternationalStable and reliable, recommended for getting started
WhatsAppInternationalLargest user base, globally accessible
DiscordInternationalGreat for team and community collaboration
SlackInternationalPopular in business environments, rich integrations
Microsoft TeamsInternationalEnterprise ecosystem, widely adopted
SMS (Twilio)InternationalReach anyone via text message
06.02如何接入飞书?How to integrate Feishu?+

飞书集成步骤:

步骤1:创建飞书应用

  1. 访问飞书开放平台 open.feishu.cn
  2. 点击"创建企业自建应用"
  3. 选择"机器人"类型
  4. 填写应用名称和描述

步骤2:配置权限
在"权限管理"中添加以下权限:

  • im:message - 接收和发送消息
  • im:message:send_as_bot - 以机器人身份发送消息
  • im:chat:readonly - 读取群聊信息
  • contact:user.employee_id:readonly - 获取用户ID

步骤3:配置事件订阅
在"事件与回调"中:

  1. 选择"长连接订阅方式"
  2. 添加事件:im.message.receive_v1
  3. 保存配置

步骤4:获取凭证
在"凭证与基础信息"中复制App ID和App Secret

步骤5:OpenClaw配置

openclaw configure
# 选择Feishu渠道,输入App ID和App Secret

Feishu integration steps:

Step 1: Create a Feishu App

  1. Visit the Feishu Open Platform open.feishu.cn
  2. Click "Create Enterprise Self-built App"
  3. Choose the "Bot" type
  4. Fill in the app name and description

Step 2: Configure Permissions
Add the following permissions under "Permission Management":

  • im:message - Receive and send messages
  • im:message:send_as_bot - Send messages as the bot
  • im:chat:readonly - Read group chat information
  • contact:user.employee_id:readonly - Get user IDs

Step 3: Configure Event Subscription
Under "Events & Callbacks":

  1. Choose "Long Connection Subscription" mode
  2. Add the event: im.message.receive_v1
  3. Save the configuration

Step 4: Get Credentials
Copy the App ID and App Secret from "Credentials & Basic Information"

Step 5: OpenClaw Configuration

openclaw configure
# Select the Feishu channel, enter App ID and App Secret
07

高级应用篇Advanced Applications

1 个问题1 question

↑
07.01如何设置定时任务?How to set up scheduled tasks?+

定时任务配置:

编辑crontab:

crontab -e

添加定时任务:

# 每日选题推送(早上9点)
0 9 * * * /path/to/openclaw run daily-topic-push

# 每日工作日志(晚上11点)
0 23 * * * /path/to/openclaw run daily-summary

# 每周周报(周一早上8点)
0 8 * * 1 /path/to/openclaw run weekly-report

Scheduled task configuration:

Edit crontab:

crontab -e

Add scheduled tasks:

# Daily topic push (9 AM)
0 9 * * * /path/to/openclaw run daily-topic-push

# Daily work summary (11 PM)
0 23 * * * /path/to/openclaw run daily-summary

# Weekly report (Monday 8 AM)
0 8 * * 1 /path/to/openclaw run weekly-report
08

故障排除篇Troubleshooting

2 个问题2 questions

↑
08.01Gateway无法启动怎么办?What to do if Gateway fails to start?+

排查步骤:

  1. 检查端口是否被占用:
    lsof -i :18789
  2. 查看错误日志:
    openclaw logs --follow
  3. 运行诊断:
    openclaw doctor
  4. 尝试更换端口:
    openclaw config set gateway.port 18790
    openclaw gateway restart

Troubleshooting steps:

  1. Check if port is already in use:
    lsof -i :18789
  2. View error logs:
    openclaw logs --follow
  3. Run diagnostics:
    openclaw doctor
  4. Try changing the port:
    openclaw config set gateway.port 18790
    openclaw gateway restart
08.02模型无响应怎么办?What to do if the model is unresponsive?+

排查步骤:

  1. 检查API Key是否正确
  2. 确认账户余额充足
  3. 测试网络连接
  4. 尝试切换其他模型

Troubleshooting steps:

  1. Check if the API Key is correct
  2. Verify account balance is sufficient
  3. Test network connection
  4. Try switching to another model
09

安全与最佳实践篇Security & Best Practices

4 个问题4 questions

↑
09.01OpenClaw有哪些安全风险?What are the security risks of OpenClaw?+

主要风险:远程代码执行、提示词注入、凭据泄露、第三方技能供应链。2026.10.9 修补了 fast-uri/Zod/nodemailer/MSAL 等依赖,并继续保留 allowlist exec 审批、凭据打码、SSRF 防护,但仍需自己划边界。

  • 不要把 Gateway 的 18789 端口暴露公网;用内网、VPN 或带认证的反向代理。
  • 公开对话链接不需要登录,分享前从头到尾看一遍。
  • 只安装可信来源的技能;升级前留快照,升级后跑 openclaw doctor。

Main risks: remote code execution, prompt injection, credential leakage, and the third-party skill supply chain. 2026.10.9 patches fast-uri/Zod/nodemailer/MSAL and keeps allowlist exec approvals, credential masking and SSRF protections, but you still need clear boundaries.

  • Do not expose gateway port 18789 to the public internet; use a private network, VPN, or authenticated reverse proxy.
  • Public conversation links need no sign-in; read the whole conversation before sharing.
  • Install skills only from trusted sources. Keep a snapshot before upgrading and run openclaw doctor afterwards.
09.022026.3.13版本有哪些关键安全更新?What are the key security updates in version 2026.3.13?+

2026.3.13版本(2026年3月14日发布)是关键安全更新版本,包含以下重要修复:

🔒
主要安全修复

1. 设备配对安全升级:将 /pair 和 openclaw qr 设置代码切换为短期引导令牌,不再在聊天或 QR 配对有效载荷中嵌入共享网关凭证,大幅降低凭证泄露风险。

2. ClawJacked漏洞修复跟进:恶意网站劫持本地AI智能体的 ClawJacked 漏洞(CVE-2026-25253)已于 2026 年 2 月 26 日发布的 v2026.2.25/2026.2.26 中修复,当时公开报道显示有超过 4 万个实例暴露;后续所有版本(含本版本)均包含该修复。

3. 权限与访问控制加固:修复多项权限管理、访问控制与内容净化类漏洞,提升系统整体安全性。

更新建议:

  • 公开部署:🔴 立即更新(高危安全修复)
  • 本地测试:🟡 建议24小时内更新
  • 生产环境:🔴 建议在下一个维护窗口立即更新

如何更新:

# 一键更新
openclaw update

# 或手动更新
npm i -g openclaw@latest

# 验证版本
openclaw --version  # 应显示 2026.10.9 或更高
💡
兼容性说明

2026.3.13 的安全修复已包含在最新版 2026.10.9 中;该版本包含少量配置迁移(如记忆引导文件合并规则,每个 Agent 仅加载一个根 MEMORY.md),升级前建议先备份配置。

Version 2026.3.13 (released March 14, 2026) is a critical security update containing the following important fixes:

🔒
Major Security Fixes

1. Device Pairing Security Upgrade: Switched /pair and openclaw qr setup codes to short-term bootstrap tokens, no longer embedding shared gateway credentials in chat or QR pairing payloads, significantly reducing credential leakage risk.

2. ClawJacked vulnerability follow-up: The ClawJacked vulnerability (CVE-2026-25253), which let malicious websites hijack local AI agents, was fixed in v2026.2.25/2026.2.26 released February 26, 2026, when public reports showed over 40,000 instances exposed; all later releases (including this version) contain the fix.

3. Permission and access-control hardening: Fixed multiple permission management, access-control, and content-sanitization vulnerabilities to improve overall system security.

Update Recommendations:

  • Public Deployment: 🔴 Update immediately (critical security fix)
  • Local Testing: 🟡 Update within 24 hours
  • Production Environment: 🔴 Update at the next maintenance window

How to Update:

# One-click update
openclaw update

# Or manual update
npm i -g openclaw@latest

# Verify version
openclaw --version  # Should show 2026.10.9 or higher
💡
Compatibility Note

The 2026.3.13 security fixes are included in the latest version 2026.10.9. That release contains a few configuration migrations (e.g., agents now load at most one root memory bootstrap file, with MEMORY.md taking priority); back up your configuration before upgrading.

09.03如何进行安全加固?How to perform security hardening?+

网络安全:默认端口 18789 不暴露公网;使用 VPN / 内网;配置防火墙;必要时修改默认端口。

系统安全:不要用 root / 管理员账户运行;创建专用用户;优先 Docker / 沙盒隔离。

应用安全:及时 openclaw update;只装可信技能;定期检查已安装技能;公开对话链接分享前先审阅。

Network: never expose the default port 18789; use VPN / private network; configure a firewall; change the port if needed.

System: do not run as root / Administrator; create a dedicated user; prefer Docker or sandbox isolation.

Application: keep openclaw update current; install only trusted skills; review installed skills regularly; review public conversation links before sharing.

09.04安全最佳实践有哪些?What are the security best practices?+

安全最佳实践总结:

  1. ✕ 不要在生产环境直接运行OpenClaw
  2. ✓ 使用Docker或虚拟机隔离
  3. ✓ 定期备份和更新
  4. ✓ 监控和审计所有操作
  5. ✓ 遵循最小权限原则
  6. ✓ 升级到2026.10.9或更高版本(已累计修复100+个安全漏洞,包括ClawJacked、RCE等关键漏洞)

Security Best Practices Summary:

  1. ✕ Do not run OpenClaw directly in production environments
  2. ✓ Use Docker or virtual machine isolation
  3. ✓ Regular backups and updates
  4. ✓ Monitor and audit all operations
  5. ✓ Follow the principle of least privilege
  6. ✓ Upgrade to version 2026.10.9 or higher (100+ security vulnerabilities fixed to date, including ClawJacked, RCE and other critical vulnerabilities)
10

成本与优化篇Cost & Optimization

2 个问题2 questions

↑
10.01各模型成本对比如何?How do model costs compare?+

模型成本对比:

模型 输入价格 输出价格 月费用估算
DeepSeek0.001元/千tokens0.002元/千tokens5-30元
Kimi0.012元/千tokens0.012元/千tokens10-50元
GLM-40.005元/千tokens0.005元/千tokens10-40元
Claude(第三方)0.015元/千tokens0.075元/千tokens50-200元
GPT-4(第三方)0.03元/千tokens0.06元/千tokens100-300元

省钱技巧:

  • 日常对话用DeepSeek V3(最便宜,综合排名第一)
  • 长文档用Kimi 2.5(支持20万字上下文)
  • 编程任务用DeepSeek V3或GLM-4.7(能力强)
  • 数学推理用DeepSeek R1(专注推理)

Model cost comparison (CNY per 1K tokens, indicative):

ModelInputOutputEst. monthly
DeepSeek0.0010.0025–30
Kimi0.0120.01210–50
GLM-40.0050.00510–40
Claude (third-party)0.0150.07550–200
GPT-4 (third-party)0.030.06100–300

Cost tips: DeepSeek for daily chat; Kimi for long documents; GLM-4.7 for coding. Provider prices change; check the current price list before committing.

10.02与ChatGPT Plus成本对比如何?How does the cost compare to ChatGPT Plus?+

年度成本对比(OpenClaw本身免费,以下为AI模型API调用成本):

项目 OpenClaw + API ChatGPT Plus Cursor Claude Pro
软件费用完全免费包含在订阅中包含在订阅中包含在订阅中
月费(API调用)$5–50(按量)$20(固定)$20(固定)$20(固定)
年费(API调用)$60–600(按量)$240(固定)$240(固定)$240(固定)
相比OpenClaw方案多花费基准$0–180/年$0–180/年$0–180/年
OpenClaw节省-按用量节省按用量节省按用量节省
计费方式按实际使用付费固定月费固定月费固定月费
灵活性5/5 用多少付多少2/5 用不用都付费2/5 用不用都付费2/5 用不用都付费
💡
成本说明

OpenClaw优势:

  • 软件本身完全免费,开源无任何费用
  • 只需为AI模型API调用付费(如Claude、GPT-4o等)
  • 按量计费,用多少付多少,不用不花钱
  • 可选择多个模型供应商,灵活切换
  • 本地模型(如Ollama)完全免费使用

其他服务劣势:

  • 固定月费,不管用不用都要付费
  • 无法自由切换模型供应商
  • 无法使用本地模型省钱

Annual cost comparison (OpenClaw itself is free; the following are AI model API call costs):

Item OpenClaw + API ChatGPT Plus Cursor Claude Pro
Software costCompletely freeIncluded in subscriptionIncluded in subscriptionIncluded in subscription
Monthly (API calls)$5–50 (pay-as-you-go)$20 (fixed)$20 (fixed)$20 (fixed)
Annual (API calls)$60–600 (pay-as-you-go)$240 (fixed)$240 (fixed)$240 (fixed)
Extra cost vs OpenClawBaseline$0–180 more/year$0–180 more/year$0–180 more/year
OpenClaw savings-Varies by usageVaries by usageVaries by usage
Billing methodPay per actual usageFixed monthly feeFixed monthly feeFixed monthly fee
Flexibility5/5 Pay only what you use2/5 Pay whether you use it or not2/5 Pay whether you use it or not2/5 Pay whether you use it or not
💡
Cost Notes

OpenClaw advantages:

  • The software itself is completely free, open source with no fees
  • Only pay for AI model API calls (Claude, GPT-4o, Gemini, etc.)
  • Pay-as-you-go: only pay for what you use
  • Choose from multiple model providers, switch flexibly
  • Local models (e.g., Ollama with Llama, Mistral) are completely free

Other services' disadvantages:

  • Fixed monthly fee regardless of usage
  • Cannot freely switch model providers
  • Cannot save money with local models
11

一人公司实战篇One-Person Company Practice

3 个问题3 questions

↑
11.01一人公司的核心方法论是什么?What is the core methodology of a one-person company?+

一人公司的核心方法论:

AI是真的颠覆生产力:

  • 不是内容本身被AI替代
  • 而是内容生产的效率被AI拉高了一个数量级
  • 以前需要一个团队干的活,现在一个人加上AI就能搞定

一人公司的3个核心能力:

  1. 判断力 - AI负责执行,人负责判断
  2. 系统化思维 - 搭建AI系统,而不是用AI做事
  3. 快速迭代能力 - 先跑通最小闭环,再持续优化

Core methodology of a one-person company:

AI truly disrupts productivity:

  • Content itself is not replaced by AI
  • Rather, AI elevates the efficiency of content production by an order of magnitude
  • Work that used to require a whole team can now be done by one person with AI

3 core capabilities of a one-person company:

  1. Judgment - AI handles execution, humans handle judgment
  2. Systems thinking - Build AI systems, not just use AI for tasks
  3. Rapid iteration - First run the minimum viable loop, then continuously optimize
11.02一人公司的铁律有哪些?What are the golden rules of a one-person company?+

一人公司的5个铁律:

铁律1:绝不自动发布

  • 原因:AI可能出现事实错误、措辞可能不当、判断可能有偏差
  • 流程:Agent生成 → 人工审核 → 确认后发布
  • AI负责效率,人负责质量底线

铁律2:定时任务是灵魂

  • 让系统"推着你走"
  • 不依赖"想起来了才用"
  • 形成稳定的工作节奏

铁律3:记录一切

  • 数据驱动决策
  • 避免重复劳动
  • 持续优化系统

铁律4:快速迭代

  • 不要追求完美
  • 先跑通最小闭环
  • 快速上线测试,根据反馈迭代

铁律5:专注核心价值

  • 判断(选题、质量、方向)是核心价值
  • 执行(写作、设计、发布)不是核心价值
  • 把重复的交给系统,把判断留给自己

The 5 golden rules of a one-person company:

Rule 1: Never auto-publish

  • Reason: AI may have factual errors, inappropriate phrasing, or biased judgment
  • Process: Agent generates → Human reviews → Publish after confirmation
  • AI handles efficiency, humans maintain quality standards

Rule 2: Scheduled tasks are the soul

  • Let the system "push you forward"
  • Don't rely on "use only when you remember"
  • Form a stable working rhythm

Rule 3: Record everything

  • Data-driven decision making
  • Avoid repetitive work
  • Continuously optimize the system

Rule 4: Iterate quickly

  • Don't chase perfection
  • First run the minimum viable loop
  • Launch and test quickly, iterate based on feedback

Rule 5: Focus on core value

  • Judgment (topic selection, quality, direction) is core value
  • Execution (writing, design, publishing) is not core value
  • Delegate repetitive tasks to the system, keep judgment for yourself
11.03如何快速开始一人公司?How to quickly start a one-person company?+

快速开始步骤:

步骤1:选择场景

  • 场景A:内容创作自动化 - 适合自媒体、博主、内容创作者
  • 场景B:社群运营自动化 - 适合创业者、产品经理、社群运营
  • 场景C:混合场景 - 内容+社群双轮驱动

步骤2:搭建基础设施

# 1. 安装OpenClaw
curl -fsSL https://openclaw.ai/install.sh | bash

# 2. 创建工作目录
mkdir -p ~/.openclaw/workspace
mkdir -p ~/.openclaw/scripts
mkdir -p ~/.openclaw/config

# 3. 配置API
openclaw config set api.key "your-api-key"

步骤3:配置定时任务

crontab -e
# 添加定时任务
0 9 * * * /path/to/openclaw run daily-topic-push

步骤4:测试运行

openclaw run daily-topic-push
openclaw ask "写一篇关于AI编程的文章"

Quick start steps:

Step 1: Choose your scenario

  • Scenario A: Content creation automation – for self-media creators, bloggers, content creators
  • Scenario B: Community management automation – for entrepreneurs, product managers, community operators
  • Scenario C: Mixed scenario – dual-engine of content + community

Step 2: Set up infrastructure

# 1. Install OpenClaw
curl -fsSL https://openclaw.ai/install.sh | bash

# 2. Create working directories
mkdir -p ~/.openclaw/workspace
mkdir -p ~/.openclaw/scripts
mkdir -p ~/.openclaw/config

# 3. Configure API
openclaw config set api.key "your-api-key"

Step 3: Configure scheduled tasks

crontab -e
# Add scheduled task
0 9 * * * /path/to/openclaw run daily-topic-push

Step 4: Test run

openclaw run daily-topic-push
openclaw ask "Write an article about AI programming"
12

附录:资源与社区Appendix: Resources & Community

3 个问题3 questions

↑
12.01官方资源Official Resources+
资源 地址
GitHub仓库https://github.com/openclaw/openclaw
官方文档https://docs.openclaw.ai
技能市场https://clawhub.ai
Resource URL
GitHub Repositoryhttps://github.com/openclaw/openclaw
Official Documentationhttps://docs.openclaw.ai
Skills Marketplacehttps://clawhub.ai
12.02中文社区Community+
资源 地址
OpenClaw CNhttps://clawd.org.cn
中文文档https://docs.clawd.org.cn
Discord社区https://discord.gg/clawd
Resource URL
Discord Communityhttps://discord.gg/clawd
GitHub Discussionsgithub.com/openclaw/openclaw/discussions
r/OpenClaw (Reddit)reddit.com/r/openclaw
12.03相关工具Related Tools+
工具 地址 说明
Ollamahttps://ollama.com本地模型
ClawHubhttps://clawhub.ai技能市场
AgentSkillshttps://agentskills.io技能标准
Tool URL Description
Ollamahttps://ollama.comLocal Models
ClawHubhttps://clawhub.aiSkill Marketplace
AgentSkillshttps://agentskills.ioSkill Standard
13

产品购买Product Purchase

1 个问题1 question

↑
13.01OpenClaw 预装产品OpenClaw Pre-installed Products+

我们提供预装OpenClaw的迷你主机产品,开箱即用,无需繁琐配置:

We offer mini host products with OpenClaw pre-installed, ready to use out of the box with no complicated setup required:

14

用户常见问题解答Frequently Asked Questions

29 个问题29 questions

↑
14.01买你们的小龙虾主机,我到手就可以用吗,还需要我配置什么吗?Can I use the mini host right out of the box? Do I need to configure anything?+

需要进行简单的初始化设置:

  1. 开机:接上电源和显示器,按下开机键
  2. 打开终端:进入系统后打开终端
  3. 运行引导向导:
    openclaw onboard --install-daemon
  4. 按提示完成初始化设置:
    • 配置AI模型(选择模型、输入API密钥等)
    • 设置认证方式
    • 可选:配置平台连接
  5. 开始使用:访问控制面板 http://127.0.0.1:18789/
📖
使用指南

详细使用指南位于 /home 目录下,请查阅获取更多信息。

Simple initialization setup is required:

  1. Power On: Connect power and monitor, press the power button
  2. Open Terminal: Open terminal after entering the system
  3. Run Setup Wizard:
    openclaw onboard --install-daemon
  4. Complete Initialization According to Prompts:
    • Configure AI model (select model, enter API key, etc.)
    • Set authentication method
    • Optional: Configure platform connection
  5. Start Using: Access control panel at http://127.0.0.1:18789/
📖
User Guide

Detailed user guide is located in the /home directory, please refer for more information.

14.02用你们的小龙虾SSD,我到手加装就可以用吗,还需要我配置什么吗?Can I use the SSD right after installing it? Do I need to configure anything?+

SSD需要加装到支持的主机上,并进行初始化设置:

使用步骤:

  1. 加装SSD:将SSD安装到您的主机(需支持NVMe协议)
  2. 设置启动项:在BIOS中设置从该SSD启动
  3. 启动系统:SSD中预装了完整的Ubuntu + OpenClaw系统
  4. 打开终端:进入系统后打开终端
  5. 运行引导向导:
    openclaw onboard --install-daemon
  6. 按提示完成初始化设置
📖
使用指南

详细使用指南位于 /home 目录下,请查阅获取更多信息。

!
注意事项

• SSD系统已预装,但硬件环境可能不同,首次启动可能需要适配驱动

• 建议在相似配置的机器上使用以获得最佳体验

• 如遇问题,可联系技术支持

The SSD needs to be installed on a compatible host and initialized:

Usage Steps:

  1. Install SSD: Install the SSD into your host (NVMe protocol required)
  2. Set Boot Order: Set boot from this SSD in BIOS
  3. Start System: SSD comes with complete Ubuntu + OpenClaw system pre-installed
  4. Open Terminal: Open terminal after entering the system
  5. Run Setup Wizard:
    openclaw onboard --install-daemon
  6. Complete Initialization According to Prompts
📖
User Guide

Detailed user guide is located in the /home directory, please refer for more information.

!
Notes

• SSD system is pre-installed, but hardware environment may differ, driver adaptation may be needed on first boot

• Recommended to use on machines with similar configuration for best experience

• Contact technical support if issues arise

14.03你们龙虾红装的Ubuntu是什么版本的,模型是几B的?What Ubuntu version is pre-installed? What model size (in B)?+

我们的预装配置:

产品型号 Ubuntu版本 预装模型
GTR9Ubuntu 24.04.03 LTSQwen 3.5-35B-A3B
SER10 470Ubuntu 24.04.03 LTSQwen 3.5-9B
SER9 370Ubuntu 24.04.03 LTSQwen 3.5-9B
其他产品Ubuntu 24.04.03 LTS无预装本地模型(推荐使用云端模型)
💡
模型说明

• Qwen 3.5-35B-A3B:高性能模型,适合复杂任务

• Qwen 3.5-9B:平衡性能与速度,适合日常使用

• 其他产品推荐使用云端模型(如DeepSeek、Kimi等),效果更好

Our pre-installed configuration:

Product Model Ubuntu Version Pre-installed Model
GTR9Ubuntu 24.04.03 LTSQwen 3.5-35B-A3B
SER10 470Ubuntu 24.04.03 LTSQwen 3.5-9B
SER9 370Ubuntu 24.04.03 LTSQwen 3.5-9B
Other ProductsUbuntu 24.04.03 LTSNo local model pre-installed (Cloud models recommended)
💡
Model Description

• Qwen 3.5-35B-A3B: High-performance model, suitable for complex tasks

• Qwen 3.5-9B: Balanced performance and speed, suitable for daily use

• Other products recommended to use cloud models (such as DeepSeek, Kimi, etc.) for better results

14.04本地模型和云端模型有什么区别,哪个好?What is the difference between local and cloud models? Which is better?+

对比分析:

对比项 本地模型 云端模型
成本完全免费按量付费(5-50元/月)
隐私数据不离开本地,最安全数据传输到云端
速度依赖本地硬件云端算力强,速度快
能力7B-14B参数,适合日常任务70B-600B+参数,能力更强
网络无需网络(离线可用)需要稳定网络
推荐场景日常对话、隐私敏感场景复杂任务、编程、专业领域

建议:

  • 日常使用本地模型(免费)
  • 复杂任务切换云端模型(按需付费)
  • 隐私敏感内容只用本地模型

Comparison Analysis:

Criteria Local Model Cloud Model
CostCompletely FreePay-as-you-go ($5–50/month)
PrivacyData stays local, most secureData transmitted to cloud
SpeedDepends on local hardwareStrong cloud computing power, fast
Capability7B-14B parameters, suitable for daily tasks70B-600B+ parameters, more capable
NetworkNo network required (offline available)Requires stable network
Recommended ScenariosDaily conversation, privacy-sensitive scenariosComplex tasks, programming, professional fields

Recommendations:

  • Use local models for daily use (free)
  • Switch to cloud models for complex tasks (pay-as-you-go)
  • Only use local models for privacy-sensitive content
14.05GTi15Ultra本地部署模型+OpenClaw,交互期间只会占用CPU,不会动用GPU,导致输出速度很慢GTi15Ultra local model + OpenClaw only uses CPU, not GPU, causing slow output+

Intel核显需要使用专门的优化版Ollama:

解决方案:使用Intel优化版Ollama

# Intel优化版Ollama项目地址
https://www.modelscope.cn/models/Intel/ollama

安装步骤:

  1. 访问上述项目地址下载Intel优化版
  2. 按照项目说明安装配置
  3. 配置环境变量以使用Intel GPU
!
重要提示

• Intel核显算力有限,即使使用优化版速度仍然较慢

• 不推荐GTi15使用本地模型,除非有外接显卡

• 建议使用云端模型(DeepSeek、Kimi等),速度更快、效果更好

替代方案:使用云端模型

# 切换到云端模型
openclaw models switch deepseek

# 或使用Kimi
openclaw models switch kimi

Intel integrated graphics require a specially optimized version of Ollama:

Solution: Use Intel Optimized Ollama

# Intel Optimized Ollama project address
https://www.modelscope.cn/models/Intel/ollama

Installation Steps:

  1. Visit the project address above to download Intel optimized version
  2. Install and configure according to project instructions
  3. Configure environment variables to use Intel GPU
!
Important Notice

• Intel integrated graphics have limited computing power, speed is still slow even with optimized version

• GTi15 is not recommended for local models unless with external graphics card

• Cloud models (DeepSeek, Kimi, etc.) are recommended for faster speed and better results

Alternative: Use Cloud Models

# Switch to cloud model
openclaw models switch deepseek

# Or use Kimi
openclaw models switch kimi
14.06怎么启动、重启、关闭、卸载OpenClaw?How to start, restart, stop, and uninstall OpenClaw?+

OpenClaw服务管理命令:

操作 命令
启动网关openclaw gateway start
停止网关openclaw gateway stop
重启网关openclaw gateway restart
查看状态openclaw gateway status
前台运行openclaw gateway --port 18789
卸载OpenClawnpm uninstall -g openclaw

Windows服务管理:

# 安装为系统服务(开机自启)
openclaw service install

# 启动服务
openclaw service start

# 停止服务
openclaw service stop

# 卸载服务
openclaw service uninstall

OpenClaw Service Management Commands:

Operation Command
Start Gatewayopenclaw gateway start
Stop Gatewayopenclaw gateway stop
Restart Gatewayopenclaw gateway restart
Check Statusopenclaw gateway status
Run in Foregroundopenclaw gateway --port 18789
Uninstall OpenClawnpm uninstall -g openclaw

Windows Service Management:

# Install as system service (auto-start on boot)
openclaw service install

# Start service
openclaw service start

# Stop service
openclaw service stop

# Uninstall service
openclaw service uninstall
14.07首次使用需要做什么?怎么打开网关?What do I need to do on first use? How to open the gateway?+

首次使用流程:

方式一:预装产品(已完成)

  1. 开机后运行引导向导:
    openclaw onboard --install-daemon
  2. 按提示完成初始化设置
  3. 打开浏览器访问:http://127.0.0.1:18789/
  4. 开始使用

方式二:全新安装

  1. 运行引导向导:
    openclaw onboard --install-daemon
  2. 按提示配置:
    • 选择AI模型(DeepSeek/Kimi/Claude等)
    • 输入API密钥
    • 配置认证方式
  3. 启动网关:
    openclaw gateway start
  4. 打开控制面板:
    openclaw dashboard

First-time setup process:

Option 1: Pre-installed product (already set up)

  1. After booting, run the onboarding wizard:
    openclaw onboard --install-daemon
  2. Follow the prompts to complete initialization
  3. Open browser and visit: http://127.0.0.1:18789/
  4. Start using

Option 2: Fresh installation

  1. Run the onboarding wizard:
    openclaw onboard --install-daemon
  2. Configure as prompted:
    • Select an AI model (DeepSeek/Kimi/Claude, etc.)
    • Enter API key
    • Configure authentication method
  3. Start the gateway:
    openclaw gateway start
  4. Open the control panel:
    openclaw dashboard
14.08怎么连接到飞书、企业微信等应用,怎么创建机器人?How to connect Feishu, WeCom, and other apps? How to create a bot?+

各平台连接方法:

飞书连接步骤:

  1. 创建飞书应用:
    • 访问 飞书开放平台
    • 创建企业自建应用
    • 配置应用权限(消息、通讯录等)
  2. 配置OpenClaw:
    # 安装飞书插件
    openclaw plugins install @openclaw/plugin-lark
    
    # 配置飞书
    openclaw configure
  3. 扫码绑定:运行命令后扫码完成绑定

企业微信连接步骤:

  1. 访问企业微信管理后台创建应用
  2. 配置回调URL:http://your-ip:18789/webhook/wechat
  3. 运行配置命令:openclaw configure
📖

Connection methods for each platform:

Feishu connection steps:

  1. Create a Feishu app:
    • Visit Feishu Open Platform
    • Create an enterprise self-built app
    • Configure app permissions (messages, contacts, etc.)
  2. Configure OpenClaw:
    # Install the Feishu plugin
    openclaw plugins install @openclaw/plugin-lark
    
    # Configure Feishu
    openclaw configure
  3. QR-code binding: Scan the QR code after running the command to complete binding

WeCom (WeChat Work) connection steps:

  1. Visit the WeCom admin console and create an app
  2. Configure the callback URL: http://your-ip:18789/webhook/wechat
  3. Run the configuration command: openclaw configure
📖
Documentation

• Feishu Setup Guide

• WeCom Setup Guide

14.09怎么配置多模型、备用模型,怎么切换?How to configure multiple models and fallback models? How to switch between them?+

配置多个模型并切换:

方法一:配置文件方式

编辑配置文件 ~/.openclaw/config.json:

{
  "models": [
    {
      "id": "deepseek-local",
      "name": "DeepSeek本地",
      "provider": "ollama",
      "model": "deepseek-r1:7b"
    },
    {
      "id": "kimi-cloud",
      "name": "Kimi云端",
      "provider": "moonshot",
      "apiKey": "your-api-key"
    },
    {
      "id": "claude-cloud",
      "name": "Claude云端",
      "provider": "anthropic",
      "apiKey": "your-api-key"
    }
  ],
  "defaultModel": "deepseek-local",
  "fallbackModel": "kimi-cloud"
}

方法二:命令行切换

# 查看可用模型
openclaw models list

# 切换模型
openclaw models switch kimi-cloud

# 设置默认模型
openclaw models set-default deepseek-local

方法三:对话时指定

# 在对话中使用特定模型
@kimi 请帮我分析这个问题
@claude 帮我写一段代码

Configure multiple models and switch between them:

Method 1: Configuration file

Edit the config file ~/.openclaw/config.json:

{
  "models": [
    {
      "id": "deepseek-local",
      "name": "DeepSeek Local",
      "provider": "ollama",
      "model": "deepseek-r1:7b"
    },
    {
      "id": "kimi-cloud",
      "name": "Kimi Cloud",
      "provider": "moonshot",
      "apiKey": "your-api-key"
    },
    {
      "id": "claude-cloud",
      "name": "Claude Cloud",
      "provider": "anthropic",
      "apiKey": "your-api-key"
    }
  ],
  "defaultModel": "deepseek-local",
  "fallbackModel": "kimi-cloud"
}

Method 2: Command-line switching

# View available models
openclaw models list

# Switch model
openclaw models switch kimi-cloud

# Set default model
openclaw models set-default deepseek-local

Method 3: Specify during conversation

# Use a specific model in conversation
@kimi Please help me analyze this problem
@claude Help me write some code
14.10飞书OpenClaw怎么发送图片?How to send images with OpenClaw in Feishu?+

飞书发送图片的方法:

方式一:直接发送

  • 在飞书对话框中直接粘贴或拖拽图片
  • OpenClaw会自动接收并处理图片

方式二:让AI生成图片

请帮我生成一张关于...的图片

方式三:让AI分析图片

# 发送图片后
请分析这张图片的内容
!
注意事项

• 确保飞书应用已配置图片消息权限

• 部分模型不支持图片输入(如DeepSeek V3)

• 推荐使用Claude或GPT-4 Vision进行图片分析

Methods for sending images in Feishu:

Method 1: Direct sending

  • Paste or drag an image directly into the Feishu chat
  • OpenClaw will automatically receive and process the image

Method 2: Ask AI to generate an image

Please generate an image about...

Method 3: Ask AI to analyze an image

# After sending an image
Please analyze the content of this image
!
Notes

• Ensure the Feishu app has image message permissions configured

• Some models don't support image input (e.g., DeepSeek V3)

• Recommended: Use Claude or GPT-4 Vision for image analysis

14.11你们部署的模型可以切换吗,我可以导入自己的模型吗?Can I switch the deployed models? Can I import my own model?+

完全可以!

切换模型:

# 查看已安装模型
ollama list

# 切换模型
openclaw models switch 

导入自己的模型:

方法一:使用llama.cpp导入

# 1. 准备模型文件(GGUF格式)
# 2. 创建Modelfile
FROM ./your-model.gguf

# 3. 使用ollama导入
ollama create my-model -f Modelfile

# 4. 在OpenClaw中使用
openclaw models add --name my-model --provider ollama

方法二:从HuggingFace下载

# 直接拉取模型
ollama pull 

# 例如
ollama pull qwen2.5:7b
✓
支持格式

• GGUF格式(推荐,Ollama原生支持)

• SafeTensors格式

• PyTorch格式(需要转换)

Absolutely!

Switching models:

# View installed models
ollama list

# Switch model
openclaw models switch 

Importing your own model:

Method 1: Import using llama.cpp

# 1. Prepare model file (GGUF format)
# 2. Create Modelfile
FROM ./your-model.gguf

# 3. Import using ollama
ollama create my-model -f Modelfile

# 4. Use in OpenClaw
openclaw models add --name my-model --provider ollama

Method 2: Download from HuggingFace

# Pull model directly
ollama pull 

# For example
ollama pull qwen2.5:7b
✓
Supported Formats

• GGUF format (recommended, Ollama native support)

• SafeTensors format

• PyTorch format (requires conversion)

14.12通过npm i -g openclaw@latest安装提示npm error...Installing via npm i -g openclaw@latest shows npm error...+

常见安装错误及解决方法:

错误1:网络超时

# 使用国内镜像
npm config set registry https://registry.npmmirror.com
npm i -g openclaw@latest

错误2:权限不足

# Windows:以管理员身份运行PowerShell
# Linux/Mac:使用sudo
sudo npm i -g openclaw@latest

错误3:Node版本过低

# 检查Node版本(需要 24.22.1+)
node --version

# 升级Node.js
# Windows: 从官网下载最新版
# Linux/Mac:
curl -fsSL https://deb.nodesource.com/setup_24.x | sudo -E bash -
sudo apt-get install -y nodejs

错误4:缓存问题

# 清除缓存
npm cache clean --force
npm i -g openclaw@latest
💡
推荐:使用一键安装

macOS/Linux: curl -fsSL https://clawd.org.cn/install.sh | bash

Windows: iwr -useb https://clawd.org.cn/install.ps1 | iex

Common installation errors and solutions:

Error 1: Network timeout

# Use official npm registry
npm config set registry https://registry.npmjs.org
npm i -g openclaw@latest

Error 2: Insufficient permissions

# Windows: Run PowerShell as administrator
# Linux/Mac: Use sudo
sudo npm i -g openclaw@latest

Error 3: Node version too low

# Check Node version (requires 24.22.1+)
node --version

# Upgrade Node.js
# Windows: Download latest from official website
# Linux/Mac:
curl -fsSL https://deb.nodesource.com/setup_24.x | sudo -E bash -
sudo apt-get install -y nodejs

Error 4: Cache issue

# Clear cache
npm cache clean --force
npm i -g openclaw@latest
💡
Recommended: Use one-click installer

macOS/Linux: curl -fsSL https://openclaw.ai/install.sh | bash

Windows: iwr -useb https://openclaw.ai/install.ps1 | iex

14.13初始化OpenClaw提示安装的技能都是什么意思?What do the skills suggested during OpenClaw initialization mean?+

OpenClaw默认推荐的技能说明:

技能名称 功能说明 是否推荐安装
memory长期记忆,AI能记住之前的对话✓ 强烈推荐
browser浏览器自动化,可搜索网页、截图✓ 推荐
files文件管理,读写本地文件✓ 推荐
shell执行命令行命令! 谨慎使用
knowledge知识库管理,可导入文档学习✓ 推荐
assistant任务规划和执行助手✓ 推荐
💡
建议

首次安装建议全部选择"Yes",后续可在ClawHub安装更多技能。

Description of OpenClaw's default recommended skills:

Skill Name Description Recommended?
memoryLong-term memory, AI remembers previous conversations✓ Strongly recommended
browserBrowser automation, can search web pages and take screenshots✓ Recommended
filesFile management, read and write local files✓ Recommended
shellExecute command-line commands! Use with caution
knowledgeKnowledge base management, import documents for learning✓ Recommended
assistantTask planning and execution assistant✓ Recommended
💡
Advice

For first-time installation, it's recommended to select "Yes" for all. You can install more skills from ClawHub later.

14.14初始化OpenClaw提示的Channel、Hooks是什么意思,要不要配置?What do Channel and Hooks mean during OpenClaw initialization? Do I need to configure them?+

这些是高级配置项:

Channel(频道):

  • 用于连接飞书、企业微信、Telegram等平台
  • 首次使用:可以跳过,后续再配置
  • 需要连接平台时:必须配置

Hooks(钩子):

  • 消息处理前后的自定义逻辑
  • 首次使用:可以跳过
  • 高级用户:可实现消息过滤、自动回复等
✓
建议

首次使用时跳过Channel和Hooks配置,先在控制面板中测试基本功能,熟悉后再配置平台连接。

These are advanced configuration options:

Channel:

  • Used to connect Feishu, WeCom, Telegram and other platforms
  • First use: Can skip, configure later
  • When connecting to a platform: Must configure

Hooks:

  • Custom logic before/after message processing
  • First use: Can skip
  • Advanced users: Can implement message filtering, auto-reply, etc.
✓
Advice

Skip Channel and Hooks configuration on first use. First test basic functionality in the control panel, then configure platform connections after getting familiar.

14.15Win11下使用飞书官方插件安装命令,提示扫码配置机器人的二维码乱码无法扫描On Win11, the QR code for bot setup appears garbled and cannot be scanned+

二维码乱码是终端编码问题,解决方法:

方法一:使用Windows Terminal

  1. 从Microsoft Store安装Windows Terminal
  2. 在Windows Terminal中运行命令
  3. 二维码会正常显示

方法二:使用浏览器配置

# 跳过扫码,使用网页配置
openclaw configure --web

方法三:手动配置

# 生成配置链接
openclaw pairing url

# 在浏览器中打开链接完成配置

方法四:保存二维码图片

# 将二维码保存为图片
openclaw pairing qr > qrcode.txt
# 或
openclaw pairing qr --output qrcode.png
💡
推荐方案

使用Windows Terminal或PowerShell 7+,可以完美显示二维码。

Garbled QR code is a terminal encoding issue. Solutions:

Method 1: Use Windows Terminal

  1. Install Windows Terminal from Microsoft Store
  2. Run the command in Windows Terminal
  3. QR code will display correctly

Method 2: Use browser configuration

# Skip QR scan, use web configuration
openclaw configure --web

Method 3: Manual configuration

# Generate configuration link
openclaw pairing url

# Open the link in browser to complete configuration

Method 4: Save QR code as image

# Save QR code as image
openclaw pairing qr > qrcode.txt
# or
openclaw pairing qr --output qrcode.png
💡
Recommended Solution

Use Windows Terminal or PowerShell 7+, which can display QR codes perfectly.

14.16怎么安装Skills,龙虾会自动调用吗?How to install Skills? Will OpenClaw call them automatically?+

Skills安装和调用:

安装Skills:

# 方式一:从ClawHub安装
openclaw skills install 

# 方式二:从GitHub安装
openclaw skills install github:user/repo

# 方式三:从本地安装
openclaw skills install ./path/to/skill

查看已安装Skills:

# 列出所有已安装技能
openclaw skills list

# 查看技能详情
openclaw skills info 

自动调用机制:

  • ✓ 会自动调用:当用户请求需要某个技能时,OpenClaw会智能判断并自动调用
  • ✓ 无需手动触发:AI会根据对话内容自动选择合适的技能
  • 例如:说"帮我搜索一下...",AI会自动调用browser技能
💡
示例

用户:"帮我搜索最新的AI新闻"

AI:自动调用browser技能 → 搜索网页 → 返回结果

Installing and invoking Skills:

Installing Skills:

# Method 1: Install from ClawHub
openclaw skills install 

# Method 2: Install from GitHub
openclaw skills install github:user/repo

# Method 3: Install from local
openclaw skills install ./path/to/skill

View installed Skills:

# List all installed skills
openclaw skills list

# View skill details
openclaw skills info 

Auto-invocation mechanism:

  • ✓ Will auto-invoke: When a user request needs a skill, OpenClaw will intelligently judge and automatically call it
  • ✓ No manual triggering needed: AI will automatically select the appropriate skill based on conversation content
  • Example: Say "help me search for...", AI will automatically call the browser skill
💡
Example

User: "Help me search for the latest AI news"

AI: Auto-invokes browser skill → Searches web → Returns results

14.17WorkSpace里的MEMORY、AGENT、SOUL、USER、HEARTBEATS等文件都是什么意思,要不要配置?What do MEMORY, AGENT, SOUL, USER, HEARTBEATS files in WorkSpace mean? Do I need to configure them?+

WorkSpace文件说明:

文件/目录 说明 是否需要配置
MEMORY长期记忆存储,AI记住的对话内容✕ 自动管理
AGENTAI智能体配置,性格、行为设置✓ 可自定义
SOUL核心人格定义,AI的"灵魂"✓ 可自定义
USER用户配置文件✕ 自动管理
HEARTBEATS定时任务配置✓ 需配置定时任务时
knowledge/知识库文件✓ 导入文档时
💡
建议

• 首次使用:无需手动配置,使用默认设置即可

• 高级自定义:修改SOUL和AGENT可以改变AI性格

• 定时任务:配置HEARTBEATS实现自动化

WorkSpace file descriptions:

File/Directory Description Need to Configure?
MEMORYLong-term memory storage, AI's remembered conversations✕ Auto-managed
AGENTAI agent configuration, personality and behavior settings✓ Customizable
SOULCore personality definition, AI's "soul"✓ Customizable
USERUser configuration file✕ Auto-managed
HEARTBEATSScheduled task configuration✓ When configuring scheduled tasks
knowledge/Knowledge base files✓ When importing documents
💡
Advice

• First use: No manual configuration needed, use default settings

• Advanced customization: Modify SOUL and AGENT to change AI personality

• Scheduled tasks: Configure HEARTBEATS for automation

14.18npm安装很慢怎么办?npm installation is very slow, what should I do?+

使用国内镜像源加速:

方法一:临时使用镜像

# 安装时指定镜像
npm i -g openclaw --registry=https://registry.npmmirror.com

方法二:永久配置镜像

# 设置淘宝镜像
npm config set registry https://registry.npmmirror.com

# 验证配置
npm config get registry

方法三:使用nrm管理镜像源

# 安装nrm
npm i -g nrm

# 查看可用镜像源
nrm ls

# 切换到淘宝源
nrm use taobao

# 测试速度
nrm test

方法四:使用cnpm

# 安装cnpm
npm i -g cnpm --registry=https://registry.npmmirror.com

# 使用cnpm安装
cnpm i -g openclaw
🚀
推荐镜像源

• 淘宝镜像:https://registry.npmmirror.com

• 腾讯镜像:https://mirrors.cloud.tencent.com/npm/

Solutions for slow npm installation:

Method 1: Use official npm registry

# Ensure official registry is set
npm config set registry https://registry.npmjs.org
npm i -g openclaw@latest

Method 2: Check Node version

# Verify Node.js 24.22.1+ is installed
node --version

# If needed, install from https://nodejs.org

Method 3: Clear cache and retry

# Clear npm cache
npm cache clean --force

# Retry installation
npm i -g openclaw@latest
🚀
Recommended Configuration

• Official registry: https://registry.npmjs.org

• Required Node.js version: 24.22.1+

14.19什么模型好用?Which AI model is good to use?+

根据最新前端智能体评测排行,推荐模型及适用场景:

排名 模型 特点 适用场景 成本
🥇 1DeepSeek V3综合评分最高,中文能力极强通用对话、写作、编程、推理最低
🥈 2GLM-4.7智谱最新模型,综合能力强通用对话、写作、编程中
🥉 3GLM-4.5智谱成熟模型,稳定性好通用对话、日常任务中
4Qwen3.5-Turbo阿里最新模型,性价比极高日常对话、编程、分析低
5Kimi 2.5长上下文,支持20万字长文档分析、论文阅读低
6DeepSeek R1推理能力强,适合复杂任务数学推理、代码生成最低

按场景推荐:

  • 综合能力最强:DeepSeek V3(榜首)、GLM-4.7
  • 长文档处理:Kimi 2.5(支持20万字上下文)
  • 性价比最高:DeepSeek V3、Qwen3.5-Turbo
  • 编程开发:DeepSeek V3、GLM-4.7、Qwen3.5-Turbo
  • 数学推理:DeepSeek R1(专注推理能力)
  • 预算有限:DeepSeek V3(性价比之王)
💡
推荐配置

• 主力模型:DeepSeek V3(综合排名第一)或 GLM-4.7

• 备用模型:Kimi 2.5(处理长文档)

• 省钱方案:DeepSeek V3

Based on the current Chinese agent benchmarks, the CN FAQ recommends:

  1. DeepSeek V3 — best overall and strongest Chinese; lowest cost.
  2. GLM-4.7 — strong all-round; medium cost.
  3. GLM-4.5 — stable; medium cost.
  4. Qwen3.5-Turbo — best value; low cost.
  5. Kimi 2.5 — long context (200k characters); low cost.
  6. DeepSeek R1 — reasoning and math; lowest cost.

Use DeepSeek V3 for general work, Kimi for long documents, GLM-4.7 for coding, and R1 for hard reasoning. Benchmarks change; verify before committing.

14.20龙虾调用Browser工具启动失败OpenClaw Browser tool fails to start+

Browser工具启动失败的解决方法:

原因1:浏览器未安装

# 检查Chrome/Edge是否安装
# Windows: 检查 C:\Program Files\Google\Chrome
# Linux: which google-chrome
# Mac: ls /Applications/Google Chrome.app

原因2:端口被占用

# 检查端口占用
netstat -ano | findstr :18789

# 杀掉占用进程
taskkill /PID <进程ID> /F

原因3:权限问题

# Linux/Mac:添加执行权限
chmod +x /usr/bin/google-chrome

原因4:依赖缺失(Linux)

# Ubuntu/Debian
sudo apt-get install -y libnss3 libatk1.0-0 libatk-bridge2.0-0 \
libcups2 libdrm2 libxkbcommon0 libxcomposite1 libxdamage1 \
libxrandr2 libgbm1 libasound2

# CentOS/RHEL
sudo yum install -y nss atk at-spi2-atk cups-libs libdrm \
libxkbcommon libXcomposite libXdamage libXrandr mesa-libgbm alsa-lib

原因5:Headless模式问题

# 在配置中禁用headless模式
# ~/.openclaw/config.json
{
  "browser": {
    "headless": false
  }
}

Solutions for Browser tool startup failure:

Cause 1: Browser not installed

# Check if Chrome/Edge is installed
# Windows: Check C:\Program Files\Google\Chrome
# Linux: which google-chrome
# Mac: ls /Applications/Google Chrome.app

Cause 2: Port occupied

# Check port usage
netstat -ano | findstr :18789

# Kill the occupying process
taskkill /PID <ProcessID> /F

Cause 3: Permission issue

# Linux/Mac: Add execute permission
chmod +x /usr/bin/google-chrome

Cause 4: Missing dependencies (Linux)

# Ubuntu/Debian
sudo apt-get install -y libnss3 libatk1.0-0 libatk-bridge2.0-0 \
libcups2 libdrm2 libxkbcommon0 libxcomposite1 libxdamage1 \
libxrandr2 libgbm1 libasound2

# CentOS/RHEL
sudo yum install -y nss atk at-spi2-atk cups-libs libdrm \
libxkbcommon libXcomposite libXdamage libXrandr mesa-libgbm alsa-lib

Cause 5: Headless mode issue

# Disable headless mode in config
# ~/.openclaw/config.json
{
  "browser": {
    "headless": false
  }
}
14.21怎么指定龙虾调用Chrome(默认Edge)?How to specify Chrome for OpenClaw (default is Edge)?+

指定浏览器的方法:

方法一:配置文件设置

# 编辑配置文件 ~/.openclaw/config.json
{
  "browser": {
    "browser": "chrome",
    "executablePath": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe"
  }
}

方法二:环境变量

# Windows (PowerShell)
$env:BROWSER="chrome"
openclaw gateway start

# Linux/Mac
export BROWSER=chrome
openclaw gateway start

方法三:命令行参数

# 启动时指定浏览器
openclaw gateway start --browser chrome

常见浏览器路径:

浏览器 Windows路径 Linux路径
ChromeC:\Program Files\Google\Chrome\Application\chrome.exe/usr/bin/google-chrome
EdgeC:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe/usr/bin/microsoft-edge
FirefoxC:\Program Files\Mozilla Firefox\firefox.exe/usr/bin/firefox

Methods to specify the browser:

Method 1: Configuration file

# Edit config file ~/.openclaw/config.json
{
  "browser": {
    "browser": "chrome",
    "executablePath": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe"
  }
}

Method 2: Environment variable

# Windows (PowerShell)
$env:BROWSER="chrome"
openclaw gateway start

# Linux/Mac
export BROWSER=chrome
openclaw gateway start

Method 3: Command-line argument

# Specify browser on startup
openclaw gateway start --browser chrome

Common browser paths:

Browser Windows Path Linux Path
ChromeC:\Program Files\Google\Chrome\Application\chrome.exe/usr/bin/google-chrome
EdgeC:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe/usr/bin/microsoft-edge
FirefoxC:\Program Files\Mozilla Firefox\firefox.exe/usr/bin/firefox
14.22OpenClaw(绑定飞书)每次回复都会引用我的发言,这样会不会导致消费的tokens增加?OpenClaw quotes my messages with every reply — does this increase token consumption?+

是的,引用会增加token消耗,但这是必要的:

为什么会引用:

  • 飞书消息机制:AI需要知道上下文才能正确回复
  • 多轮对话:引用历史消息实现连续对话

影响分析:

  • ✓ 正常影响:每轮对话增加约10-30%的token消耗
  • ✓ 必要消耗:没有上下文AI无法理解对话

优化方法:

# 方法1:限制引用长度
# ~/.openclaw/config.json
{
  "channels": {
    "lark": {
      "maxQuoteLength": 500  // 只引用最近500字
    }
  }
}

# 方法2:关闭引用(不推荐,会失去上下文)
{
  "channels": {
    "lark": {
      "quoteMessage": false
    }
  }
}
💡
建议

保持引用功能开启,增加的token成本很小,但能保证对话质量。

Yes, quoting increases token consumption, but it is necessary:

Why quoting occurs:

  • Feishu message mechanism: AI needs context to reply correctly
  • Multi-turn conversation: Quoting history messages enables continuous dialogue

Impact analysis:

  • ✓ Normal impact: Increases token consumption by about 10–30% per conversation turn
  • ✓ Necessary cost: Without context, AI cannot understand the conversation

Optimization methods:

# Method 1: Limit quote length
# ~/.openclaw/config.json
{
  "channels": {
    "lark": {
      "maxQuoteLength": 500  // Only quote the last 500 characters
    }
  }
}

# Method 2: Disable quoting (not recommended, loses context)
{
  "channels": {
    "lark": {
      "quoteMessage": false
    }
  }
}
💡
Advice

Keep quoting enabled — the added token cost is small but ensures conversation quality.

14.23API rate limit reached是什么意思?What does "API rate limit reached" mean?+

这是API调用频率限制错误:

原因:

  • 短时间内请求次数超过限制
  • 不同API服务商有不同的限制规则

各平台限制参考:

平台 免费额度 限制规则
DeepSeek500万tokens/月60次/分钟
Kimi100万tokens/月30次/分钟
Claude按付费套餐根据套餐不同
OpenAI按付费套餐根据套餐不同

解决方法:

# 方法1:等待几分钟后重试
# 通常限制会在1-5分钟后解除

# 方法2:配置备用模型
# ~/.openclaw/config.json
{
  "fallbackModel": "kimi-cloud",  // 主模型达到限制时自动切换
  "retryAfter": 60  // 60秒后自动重试
}

# 方法3:升级API套餐
# 访问各平台官网升级付费套餐获得更高限制

# 方法4:使用本地模型(无限制)
openclaw models switch deepseek-local

This is an API call frequency limit error:

Cause:

  • Too many requests in a short period
  • Different API providers have different limit rules

Rate limits by platform:

Platform Free Quota Rate Limit
Anthropic ClaudeTier-basedVaries by tier
OpenAITier-basedVaries by tier
Google GeminiFree tier available15 RPM (free)
GroqFree tier available30 RPM (free)

Solutions:

# Method 1: Wait a few minutes and retry
# Usually the limit lifts after 1–5 minutes

# Method 2: Configure fallback model
# ~/.openclaw/config.json
{
  "fallbackModel": "claude-haiku",  // Auto-switch when primary model hits limit
  "retryAfter": 60  // Auto-retry after 60 seconds
}

# Method 3: Upgrade API plan
# Visit the provider's website to upgrade for higher limits

# Method 4: Use local model (no limits)
openclaw models switch ollama
14.24安装飞书官方插件后,启动OpenClaw后的自检无法获取准确状态,提示18789端口被占用,gateway进程僵死(但不影响使用)After installing the Feishu plugin, OpenClaw self-check cannot get accurate status, shows port 18789 occupied, gateway process zombie (but does not affect use)+

这是进程管理冲突问题,解决方法:

方法一:清理僵尸进程

# Windows
tasklist | findstr openclaw
taskkill /F /IM node.exe

# Linux/Mac
ps aux | grep openclaw
kill -9 $(pgrep -f openclaw)

方法二:检查端口占用

# Windows
netstat -ano | findstr :18789
taskkill /PID  /F

# Linux/Mac
lsof -i :18789
kill -9 

方法三:重启服务

# 停止服务
openclaw gateway stop

# 等待5秒
sleep 5

# 启动服务
openclaw gateway start

方法四:更换端口

# 使用其他端口启动
openclaw gateway start --port 18790
!
注意事项

• 如果不影响使用,可以暂时忽略此警告

• 定期重启OpenClaw可避免进程累积

• 建议使用系统服务方式管理(openclaw service install)

This is a process management conflict. Solutions:

Method 1: Clean up zombie processes

# Windows
tasklist | findstr openclaw
taskkill /F /IM node.exe

# Linux/Mac
ps aux | grep openclaw
kill -9 $(pgrep -f openclaw)

Method 2: Check port usage

# Windows
netstat -ano | findstr :18789
taskkill /PID <PID> /F

# Linux/Mac
lsof -i :18789
kill -9 <PID>

Method 3: Restart service

# Stop service
openclaw gateway stop

# Wait 5 seconds
sleep 5

# Start service
openclaw gateway start

Method 4: Change port

# Start on a different port
openclaw gateway start --port 18790
!
Notes

• If usage is not affected, you can temporarily ignore this warning

• Regularly restarting OpenClaw avoids process accumulation

• Recommended: Manage as a system service (openclaw service install)

14.25怎么让OpenClaw调用大模型的时候不使用深度思考功能?How to make OpenClaw call the LLM without using the deep thinking feature?+

关闭深度思考(Extended Thinking)的方法:

方法一:对话中临时关闭

# 在对话中说明
请直接回答,不要深度思考

或

@fast 请帮我解决这个问题

方法二:配置文件关闭

# ~/.openclaw/config.json
{
  "models": {
    "anthropic": {
      "extendedThinking": false
    }
  }
}

方法三:使用快速模式

# 启用快速模式(响应速度快3倍)
# openclaw gateway start

# 或在对话中使用
/fast 你的问题

深度思考 vs 快速模式对比:

模式 响应速度 回答质量 Token消耗
深度思考慢(5-10秒)最高高
标准模式中(2-5秒)高中
快速模式快(1-2秒)良好低
💡
建议

• 简单问题:使用快速模式

• 复杂推理:使用深度思考

• 日常对话:标准模式即可

Methods to disable Extended Thinking:

Method 1: Disable in conversation

# Say in conversation
Please answer directly, no deep thinking needed

or

@fast Please help me with this issue

Method 2: Disable in config file

# ~/.openclaw/config.json
{
  "models": {
    "anthropic": {
      "extendedThinking": false
    }
  }
}

Method 3: Use fast mode

# Enable fast mode (3x faster response)
# openclaw gateway start

# Or use in conversation
/fast your question

Deep thinking vs Fast mode comparison:

Mode Response Speed Answer Quality Token Usage
Deep thinkingSlow (5–10s)HighestHigh
Standard modeMedium (2–5s)HighMedium
Fast modeFast (1–2s)GoodLow
💡
Advice

• Simple questions: Use fast mode

• Complex reasoning: Use deep thinking

• Daily conversation: Standard mode is fine

14.26OpenClaw进入面板后提示:origin not allowed (open the Control UI from the gateway host or allow it in gateway.controlUi.allowedOrigins)OpenClaw panel shows: origin not allowed (open the Control UI from the gateway host or allow it in gateway.controlUi.allowedOrigins)+

这是跨域访问限制,解决方法:

原因:

  • 从非本机IP访问控制面板
  • 使用域名访问而非localhost

方法一:从本机访问(推荐)

# 使用localhost访问
http://localhost:18789

# 或使用127.0.0.1
http://127.0.0.1:18789

方法二:配置允许的来源

# ~/.openclaw/config.json
{
  "gateway": {
    "controlUi": {
      "allowedOrigins": [
        "http://localhost:18789",
        "http://127.0.0.1:18789",
        "http://your-ip:18789",
        "http://your-domain.com"
      ]
    }
  }
}

方法三:允许所有来源(不推荐,有安全风险)

# ~/.openclaw/config.json
{
  "gateway": {
    "controlUi": {
      "allowedOrigins": ["*"]
    }
  }
}

方法四:使用Tailscale等内网穿透

# 安装Tailscale后,使用Tailscale IP访问
# 会自动获得HTTPS支持,无跨域问题
!
安全警告

允许所有来源(*)会有安全风险,建议只添加信任的域名/IP。

This is a cross-origin access restriction. Solutions:

Cause:

  • Accessing the control panel from a non-local IP
  • Using a domain name instead of localhost

Method 1: Access from local machine (recommended)

# Use localhost
http://localhost:18789

# Or use 127.0.0.1
http://127.0.0.1:18789

Method 2: Configure allowed origins

# ~/.openclaw/config.json
{
  "gateway": {
    "controlUi": {
      "allowedOrigins": [
        "http://localhost:18789",
        "http://127.0.0.1:18789",
        "http://your-ip:18789",
        "http://your-domain.com"
      ]
    }
  }
}

Method 3: Allow all origins (not recommended — security risk)

# ~/.openclaw/config.json
{
  "gateway": {
    "controlUi": {
      "allowedOrigins": ["*"]
    }
  }
}

Method 4: Use Tailscale or similar internal tunnel

# After installing Tailscale, access via Tailscale IP
# Automatically gets HTTPS support with no cross-origin issues
!
Security Warning

Allowing all origins (*) creates security risks. Only add trusted domains/IPs.

14.27control ui requires device identity (use HTTPS or localhost secure context) 此页面为 HTTP,因此浏览器阻止设备标识。请使用 HTTPS (Tailscale Serve) 或在网关主机上打开"control ui requires device identity (use HTTPS or localhost secure context)" — browser blocks device identity because page is HTTP. Use HTTPS (Tailscale Serve) or open on gateway host+

这需要HTTPS安全上下文,解决方法:

方法一:在本机访问(最简单)

# 在运行OpenClaw的机器上打开浏览器
http://localhost:18789
# 或
http://127.0.0.1:18789

方法二:使用Tailscale(推荐远程访问)

# 1. 安装Tailscale
# Windows: 从官网下载安装
# Linux: curl -fsSL https://tailscale.com/install.sh | sh

# 2. 启动Tailscale
tailscale up

# 3. 使用Tailscale IP访问
https://:18789

方法三:配置HTTPS(高级)

# 使用Let's Encrypt证书
sudo apt install certbot
sudo certbot certonly --standalone -d your-domain.com

# 配置OpenClaw使用HTTPS
# ~/.openclaw/config.json
{
  "gateway": {
    "https": {
      "enabled": true,
      "cert": "/etc/letsencrypt/live/your-domain.com/fullchain.pem",
      "key": "/etc/letsencrypt/live/your-domain.com/privkey.pem"
    }
  }
}

方法四:使用反向代理

# Nginx配置示例
server {
    listen 443 ssl;
    server_name your-domain.com;

    ssl_certificate /path/to/cert.pem;
    ssl_certificate_key /path/to/key.pem;

    location / {
        proxy_pass http://127.0.0.1:18789;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
    }
}
✓
推荐方案

• 本机使用:直接访问 localhost

• 远程访问:使用Tailscale(最简单)

• 公网访问:配置HTTPS + 域名

This requires an HTTPS secure context. Solutions:

Method 1: Access locally (simplest)

# Open browser on the machine running OpenClaw
http://localhost:18789
# or
http://127.0.0.1:18789

Method 2: Use Tailscale (recommended for remote access)

# 1. Install Tailscale
# Windows: Download from official website
# Linux: curl -fsSL https://tailscale.com/install.sh | sh

# 2. Start Tailscale
tailscale up

# 3. Access via Tailscale IP
https://<tailscale-ip>:18789

Method 3: Configure HTTPS (advanced)

# Use Let's Encrypt certificate
sudo apt install certbot
sudo certbot certonly --standalone -d your-domain.com

# Configure OpenClaw to use HTTPS
# ~/.openclaw/config.json
{
  "gateway": {
    "https": {
      "enabled": true,
      "cert": "/etc/letsencrypt/live/your-domain.com/fullchain.pem",
      "key": "/etc/letsencrypt/live/your-domain.com/privkey.pem"
    }
  }
}

Method 4: Use reverse proxy

# Nginx configuration example
server {
    listen 443 ssl;
    server_name your-domain.com;

    ssl_certificate /path/to/cert.pem;
    ssl_certificate_key /path/to/key.pem;

    location / {
        proxy_pass http://127.0.0.1:18789;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
    }
}
✓
Recommended Solutions

• Local use: Access directly via localhost

• Remote access: Use Tailscale (simplest)

• Public access: Configure HTTPS + domain name

14.28ClawHub安装技能提示Rate limit exceededClawHub skill installation shows "Rate limit exceeded"+

ClawHub下载频率限制,解决方法:

原因:

  • 短时间内下载次数过多
  • ClawHub服务器有频率限制

解决方法:

方法一:等待后重试

# 通常等待5-10分钟后可继续下载
# 建议分批安装技能,不要一次性安装太多

方法二:使用镜像源

# 配置ClawHub镜像
openclaw config set clawhub.mirror https://mirror.clawhub.cn

# 重新安装
openclaw skills install 

方法三:从GitHub安装

# 绕过ClawHub直接从GitHub安装
openclaw skills install github:openclaw/skills/

方法四:本地安装

# 1. 从GitHub下载技能包
git clone https://github.com/openclaw/skills.git

# 2. 本地安装
openclaw skills install ./skills/

方法五:使用认证(提高限制)

# 登录ClawHub账号
openclaw login

# 认证用户有更高的下载限制
💡
建议

• 分批安装技能,每次安装2-3个

• 优先安装必要的技能

• 使用GitHub镜像绕过限制

ClawHub download rate limit exceeded. Solutions:

Cause:

  • Too many downloads in a short period
  • ClawHub server has rate limits

Solutions:

Method 1: Wait and retry

# Usually can resume downloading after 5–10 minutes
# Recommend installing skills in batches, not all at once

Method 2: Install from GitHub directly

# Install directly from GitHub, bypassing ClawHub rate limits
openclaw skills install github:openclaw/skills/<skill-name>

Method 3: Use authenticated installation

# Log in to your ClawHub account for higher rate limits
openclaw login

# Then install as usual
openclaw skills install <skill-name>

Method 4: Local installation

# 1. Download skill package from GitHub
git clone https://github.com/openclaw/skills.git

# 2. Install locally
openclaw skills install ./skills/<skill-name>

Method 5: Authenticate (higher limits)

# Log in to ClawHub account
openclaw login

# Authenticated users have higher download limits
💡
Tips

• Install skills in batches, 2–3 at a time

• Prioritize essential skills first

• Use GitHub installation to bypass rate limits

14.29调用浏览器工具时报错:[tools] browser failed: Error: Failed to start chrome CDP on port 18800 for profile "openclaw"Error when calling browser tool: [tools] browser failed: Error: Failed to start chrome CDP on port 18800 for profile "openclaw"+

Chrome DevTools Protocol启动失败,解决方法:

原因1:端口被占用

# 检查18800端口
# Windows
netstat -ano | findstr :18789
taskkill /PID  /F

# Linux/Mac
lsof -i :18789
kill -9 

原因2:Chrome配置文件冲突

# 删除OpenClaw的Chrome配置文件
# Windows
rmdir /s /q "%USERPROFILE%\.openclaw\chrome-profile"

# Linux/Mac
rm -rf ~/.openclaw/chrome-profile

# 重启OpenClaw
openclaw gateway restart

原因3:Chrome未正确安装

# 检查Chrome是否安装
google-chrome --version

# 如未安装
# Ubuntu/Debian
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb

# Windows: 从官网下载安装

原因4:权限问题

# Linux: 确保Chrome有执行权限
sudo chmod +x /usr/bin/google-chrome

# 检查配置目录权限
ls -la ~/.openclaw/

原因5:更换端口

# 配置文件中更改CDP端口
# ~/.openclaw/config.json
{
  "tools": {
    "browser": {
      "cdpPort": 18801  // 使用其他端口
    }
  }
}

原因6:使用Headless模式

# 禁用headless模式尝试
# ~/.openclaw/config.json
{
  "tools": {
    "browser": {
      "headless": false
    }
  }
}
✓
快速解决步骤

1. 删除chrome-profile目录

2. 检查端口是否被占用

3. 重启OpenClaw

4. 如仍有问题,尝试更换端口

Chrome DevTools Protocol startup failure. Solutions:

Cause 1: Port occupied

# Check port 18800
# Windows
netstat -ano | findstr :18789
taskkill /PID <PID> /F

# Linux/Mac
lsof -i :18789
kill -9 <PID>

Cause 2: Chrome profile conflict

# Delete OpenClaw's Chrome profile
# Windows
rmdir /s /q "%USERPROFILE%\.openclaw\chrome-profile"

# Linux/Mac
rm -rf ~/.openclaw/chrome-profile

# Restart OpenClaw
openclaw gateway restart

Cause 3: Chrome not properly installed

# Check Chrome installation
google-chrome --version

# If not installed:
# Ubuntu/Debian
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb

# Windows: Download from official website

Cause 4: Permission issue

# Linux: Ensure Chrome has execute permission
sudo chmod +x /usr/bin/google-chrome

# Check config directory permissions
ls -la ~/.openclaw/

Cause 5: Change port

# Change CDP port in config
# ~/.openclaw/config.json
{
  "tools": {
    "browser": {
      "cdpPort": 18801  // Use a different port
    }
  }
}

Cause 6: Use headless mode

# Try disabling headless mode
# ~/.openclaw/config.json
{
  "tools": {
    "browser": {
      "headless": false
    }
  }
}
✓
Quick Fix Steps

1. Delete chrome-profile directory

2. Check if port is occupied

3. Restart OpenClaw

4. If still failing, try changing port

手册到这里。That is the manual. 剩下的交给你的龙虾:先跑起来,再慢慢改。The rest is up to your lobster: get it running, then tune it.

回到顶部 ↑Back to top ↑

Beelink SER9 Pro 龙虾版

OPENCLAW PRE-INSTALLED

不想折腾环境?
直接买一台装好的。
Don't want to set up the stack?
Buy one that's ready.

零刻 SER9 Pro / SER10 Max 龙虾版预装 OpenClaw,开箱即用;也可以单独购买预装好的 SSD。Beelink SER9 Pro / SER10 Max Lobster Edition ships with OpenClaw pre-installed. A pre-loaded SSD is also available. Buy from the Beelink global store.