最常见问题 TOP 9Most Common Questions TOP 9
一、基础概念篇1. Basic Concepts
A: OpenClaw(曾用名 Clawdbot、Moltbot,社区昵称"小龙虾")是一款开源的个人AI助手平台,于2026年初在GitHub上迅速走红,截至2026年8月最新稳定版2026.7.1-2发布时已获得38.5万+星标(385k Stars),超越React、Linux内核,成为历史增速最快的开源项目之一。官方宣称全球部署超300万+(未经独立验证)。它能够在用户自己的设备上本地运行,通过WhatsApp、Telegram、Discord、飞书、钉钉等多种通讯平台与用户交互,实现从简单的对话问答到复杂的自动化任务执行。
核心定位:OpenClaw的定位是"Your own personal AI assistant"——一个真正属于用户的、可深度定制的AI助手,而非依赖云服务的第三方产品。
发展历程:
- 2026年1月:以Clawdbot名称爆火开发者社区
- 2026年1月27日:因商标顾虑更名为Moltbot(过渡名)
- 2026年1月30日:正式定名OpenClaw
- 2026年3月3日:以25.1万颗星(250,829)登顶GitHub软件星标历史第一
- 2026年3月:GitHub星标突破30万(3月底约32万),全球部署超300万+(官方口径)
- 2026年6月:发布2026.6.11,重点提升多平台消息投递与模型可靠性
- 2026年7月:发布2026.7.1,Control UI全面改版,支持GPT-5.6、腾讯Hy3、Meta Muse Spark 1.1等新模型
- 2026年8月:GitHub星标突破38.5万(385k Stars),最新稳定版2026.7.1-2
A: OpenClaw (formerly known as Clawdbot and Moltbot) is an open-source personal AI assistant platform that gained rapid popularity on GitHub in early 2026. As of August 2026 when version 2026.7.1-2 was released, it had achieved 385k+ Stars, surpassing React and the Linux kernel to become one of the fastest-growing open-source projects in history. Officially claimed to have over 3 million global deployments (not independently verified), it runs locally on your own device and communicates through platforms like WhatsApp, Telegram, Discord, Feishu, DingTalk, and Slack, enabling everything from simple Q&A to complex automated task execution.
Core Positioning: OpenClaw's positioning is "Your own personal AI assistant" — a truly personal, deeply customizable AI assistant, rather than a third-party cloud-dependent product.
Development History:
- January 2026: Gained explosive popularity in the developer community as Clawdbot
- January 27, 2026: Renamed to Moltbot (interim name) due to trademark concerns
- January 30, 2026: Officially named OpenClaw
- March 3, 2026: Reached #1 in GitHub software stars history with 250,829 stars
- March 2026: GitHub stars surpassed 300k (about 320k by end of March), with over 3 million global deployments (official figure)
- June 2026: Released 2026.6.11, improving multi-platform message delivery and model reliability
- July 2026: Released 2026.7.1 with a Control UI overhaul and new models including GPT-5.6, Tencent Hy3, and Meta Muse Spark 1.1
- August 2026: GitHub stars exceeded 385k; latest stable version 2026.7.1-2
A: 两者存在本质差异:
| 特性 | OpenClaw | ChatGPT/Claude网页版 |
|---|---|---|
| 部署方式 | 本地/云端 | 在线服务 |
| 数据隐私 | ✅ 完全掌控 | ⚠ 上传到服务器 |
| 本地文件访问 | ✅ 支持 | ❌ 不支持 |
| 系统操作 | ✅ 支持 | ❌ 不支持 |
| 功能扩展 | ✅ Skills系统 | ❌ 固定功能 |
| 成本 | 按需付费 | 订阅制 |
| 多平台集成 | ✅ 支持 | ⚠ 有限 |
ChatGPT/Claude:像在网吧上网,方便但受限
OpenClaw:像自己的电脑,自由但需要配置
A: There are fundamental differences between the two:
| Feature | OpenClaw | ChatGPT/Claude Web Version |
|---|---|---|
| Deployment | Local/Cloud | Online 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 |
| Cost | Pay-as-you-go | Subscription |
| Multi-platform Integration | ✅ Supported | ⚠ Limited |
ChatGPT/Claude: Like using an internet cafe - convenient but restricted
OpenClaw: Like your own computer - free but requires configuration
A: 五大核心能力:
- 🏠 本地部署:在你的电脑上运行,数据隐私有保障
- 📁 文件访问:可以搜索、读取、编辑你电脑上的文件
- 🔌 无限扩展:通过Skills(技能)系统扩展功能
- 💬 多平台使用:支持飞书、企微、钉钉、QQ、Telegram、Discord等
- 💰 成本可控:使用自己的API,费用透明
A: Five Core Capabilities:
- 🏠 Local Deployment: Runs on your computer with guaranteed data privacy
- 📁 File Access: Can search, read, and edit files on your computer
- 🔌 Unlimited Extension: Expand functionality through the Skills system
- 💬 Multi-platform Usage: Supports WhatsApp, Telegram, Discord, Slack, Microsoft Teams, etc.
- 💰 Controllable Cost: Use your own API with transparent pricing
A: ✅ 强烈推荐OpenClaw的人群:
- 超级个体/自由职业者 - 需要一个人顶一个团队
- 知识工作者 - 需要管理大量文档和知识
- 程序员 - 需要代码辅助和自动化
- 内容创作者 - 需要素材管理和多平台发布
- 注重隐私者 - 不想上传敏感文件到云端
- 成本敏感者 - 想要高性价比的AI助手
如果你只需要简单对话,可以考虑ChatGPT Plus或Claude Pro。
A: ✅ Strongly recommended for OpenClaw:
- Super Individual/Freelancer - Need one person to do the work of a team
- Knowledge Worker - Need to manage large amounts of documents and knowledge
- Programmers - Need code assistance and automation
- Content Creator - Need material management and multi-platform publishing
- Privacy-conscious Users - Don't want to upload sensitive files to the cloud
- Cost-conscious Users - Want cost-effective AI assistant
If you only need simple conversations, consider ChatGPT Plus or Claude Pro.
A: OpenClaw通过Gateway网关将聊天应用连接到AI智能体。Gateway是会话、路由和渠道连接的唯一事实来源。
核心组件:
- Gateway网关 - 连接各个聊天平台,管理会话和消息路由,默认地址:http://127.0.0.1:18789/
- AI智能体 - 支持Claude、GPT、Gemini、DeepSeek、Kimi等多种模型
- Skills技能系统 - 文件管理、知识管理、自动化等,可自定义开发
- ClawHub - 技能市场,可以下载和分享Skills
A: 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:
- Gateway - Connects various chat platforms, manages sessions and message routing, default address: http://127.0.0.1:18789/
- AI Agent - Supports Claude, GPT, Gemini, Mistral, Llama and other models
- Skills System - File management, knowledge management, automation, etc., customizable development
- ClawHub - Skills marketplace, can download and share Skills
A:
| 能力维度 | OpenClaw | Claude Code | Cursor | ChatGPT |
|---|---|---|---|---|
| 任务规划 | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐ | ⭐⭐⭐⭐ | ⭐⭐⭐ |
| 自动执行 | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐ | ⭐⭐⭐ | ⭐⭐ |
| 自我修复 | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐ | ⭐⭐⭐ | ⭐⭐ |
| 工程级操作 | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐⭐ | ⭐ |
| 本地自动化 | ⭐⭐⭐⭐⭐ | ⭐⭐⭐ | ⭐⭐ | ⭐ |
| 代码质量 | ⭐⭐⭐⭐ | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐ |
| 易用性 | ⭐⭐⭐⭐ | ⭐⭐⭐⭐ | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐⭐ |
核心差异:
- OpenClaw:强在任务规划和自动执行完整工程流程
- Claude Code/Cursor:强在代码质量与理解
- ChatGPT:强在对话体验和易用性
A:
| Capability | OpenClaw | Claude Code | Cursor | ChatGPT |
|---|---|---|---|---|
| Task Planning | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐ | ⭐⭐⭐⭐ | ⭐⭐⭐ |
| Auto Execution | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐ | ⭐⭐⭐ | ⭐⭐ |
| Self-healing | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐ | ⭐⭐⭐ | ⭐⭐ |
| Engineering-level Operations | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐⭐ | ⭐ |
| Local Automation | ⭐⭐⭐⭐⭐ | ⭐⭐⭐ | ⭐⭐ | ⭐ |
| Code Quality | ⭐⭐⭐⭐ | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐ |
| Usability | ⭐⭐⭐⭐ | ⭐⭐⭐⭐ | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐⭐ |
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
二、安装部署篇2. Installation & Deployment
A:
硬件要求:
| 配置项 | 最低要求 | 推荐配置 | 高性能配置 |
|---|---|---|---|
| CPU | 2核 | 4核 | 8核+ |
| 内存 | 4GB | 8GB | 16GB+ |
| 存储 | 10GB | 50GB SSD | 100GB+ SSD |
| 网络 | 1Mbps | 10Mbps | 100Mbps+ |
软件依赖:
- Node.js:版本22或更高
- npm:Node.js包管理器
- Git:版本控制工具(可选)
- Docker:容器化部署(可选)
系统支持:
- Windows 10及以上版本
- macOS 12及以上版本
- 主流Linux发行版
A:
Hardware Requirements:
| Component | Minimum | Recommended | High Performance |
|---|---|---|---|
| CPU | 2 cores | 4 cores | 8+ cores |
| Memory | 4GB | 8GB | 16GB+ |
| Storage | 10GB | 50GB SSD | 100GB+ SSD |
| Network | 1Mbps | 10Mbps | 100Mbps+ |
Software Dependencies:
- Node.js: Version 22 or higher
- npm: Node.js package manager
- Git: Version control tool (optional)
- Docker: Containerized deployment (optional)
Supported Systems:
- Windows 10 and above
- macOS 12 and above
- Major Linux distributions
A: Mac本地部署(推荐):
第一步:打开终端
按 Command + 空格 打开Spotlight,输入Terminal,按回车
第二步:安装OpenClaw
curl -fsSL https://openclaw.ai/install.sh | bash
第三步:验证安装
openclaw --version
第四步:初始化配置
openclaw onboard --install-daemon
第五步:验证Gateway状态
openclaw channels status
A: 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
A: Windows有多种部署方式:
方式一:一键安装(推荐,90%人选这个)
- 左下角搜索 PowerShell,右键以管理员身份运行
- 复制粘贴下面命令,回车:
iwr -useb https://openclaw.ai/install.ps1 | iex
方式二:WSL2 + Ubuntu部署
# 启用WSL功能
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
# 设置WSL 2为默认版本
wsl --set-default-version 2
# 重启计算机后,从Microsoft Store安装Ubuntu 22.04 LTS
# 在Ubuntu终端中执行
curl -fsSL https://openclaw.ai/install.sh | bash
方式三:PowerShell原生部署
# 以管理员身份运行PowerShell
# 方法1: 使用npm安装
npm install -g openclaw@latest
# 方法2: 使用pnpm安装(推荐)
pnpm add -g openclaw@latest
pnpm approve-builds -g # 批准构建脚本
# 方法3: 安装openclaw
npm install -g openclaw@latest
A: Windows has multiple deployment options:
Method 1: One-click Installation (Recommended, 90% choose this)
- Search for PowerShell in the lower left corner, right-click and run as administrator
- Copy and paste the command below, press Enter:
iwr -useb https://openclaw.ai/install.ps1 | iex
Method 2: WSL2 + Ubuntu Deployment
# Enable WSL feature
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
# Set WSL 2 as default version
wsl --set-default-version 2
# After restarting, install Ubuntu 22.04 LTS from Microsoft Store
# Execute in Ubuntu terminal
curl -fsSL https://openclaw.ai/install.sh | bash
Method 3: PowerShell Native Deployment
# Run PowerShell as administrator
# Method 1: Install using npm
npm install -g openclaw@latest
# Method 2: Install using pnpm (Recommended)
pnpm add -g openclaw@latest
pnpm approve-builds -g # Approve build scripts
# Method 3: Install openclaw
npm install -g openclaw@latest
A: Linux部署步骤:
# Ubuntu/Debian安装Node.js
curl -fsSL https://deb.nodesource.com/setup_24.x | sudo -E bash -
sudo apt-get install -y nodejs
# 安装OpenClaw
curl -fsSL https://openclaw.ai/install.sh | bash
# 验证安装
openclaw --version
# 初始化配置
openclaw onboard --install-daemon
A: Linux Deployment Steps:
# Ubuntu/Debian: Install Node.js
curl -fsSL https://deb.nodesource.com/setup_24.x | sudo -E bash -
sudo apt-get install -y nodejs
# Install OpenClaw
curl -fsSL https://openclaw.ai/install.sh | bash
# Verify Installation
openclaw --version
# Initialize Configuration
openclaw onboard --install-daemon
A: 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
A: Docker Deployment Steps:
Method 1: One-click Script Deployment (Recommended for Beginners)
curl -fsSL https://install.openclaw.ai | 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
A: 国内一键安装(推荐):
macOS/Linux:
curl -fsSL https://clawd.org.cn/install.sh | bash
Windows PowerShell:
iwr -useb https://clawd.org.cn/install.ps1 | iex
国内版优势:
- ⚡ 速度快:使用国内镜像源
- 🇨🇳 中文友好:完整中文界面
- 📦 一键安装:自动配置所有依赖
- 💰 成本优化:默认配置国产模型
A: One-click Installation (Recommended):
macOS/Linux:
curl -fsSL https://install.openclaw.ai | bash
Windows PowerShell:
iwr -useb https://install.openclaw.ai/install.ps1 | iex
Advantages:
- ⚡ Fast: Uses optimized download sources
- 📦 One-click: Automatically configures all dependencies
- 💰 Cost-effective: Default configuration with affordable models
A: 升级方式:
方式一:一键升级(推荐)
openclaw update
方式二:npm直接升级
# 备份配置
cp -r ~/.openclaw ~/.openclaw.backup-$(date +%Y%m%d)
# 停止Gateway
openclaw gateway stop
# 卸载旧版本
npm uninstall -g openclaw
# 安装新版本
npm i -g openclaw@latest
# 修复配置
openclaw doctor --fix
# 重启Gateway
openclaw gateway restart
建议升级到2026.7.1-2或更高版本,已累计修复100+个安全漏洞,包括ClawJacked、RCE、路径遍历等关键漏洞。
A: Upgrade Methods:
Method 1: One-click Upgrade (Recommended)
openclaw update
Method 2: Direct npm Upgrade
# Backup configuration
cp -r ~/.openclaw ~/.openclaw.backup-$(date +%Y%m%d)
# Stop Gateway
openclaw gateway stop
# Uninstall old version
npm uninstall -g openclaw
# Install new version
npm i -g openclaw@latest
# Fix configuration
openclaw doctor --fix
# Restart Gateway
openclaw gateway restart
It is recommended to upgrade to version 2026.7.1-2 or higher, which has fixed 100+ security vulnerabilities including ClawJacked, RCE, path traversal and other critical issues.
A: 引导向导是在 macOS、Linux 或 Windows(通过 WSL2;强烈推荐)上设置 OpenClaw 的推荐方式。它在一个引导流程中配置本地网关或远程网关连接,以及频道、技能和工作区默认设置。
主要入口点:
openclaw onboard
最快首次聊天:打开控制 UI(无需频道设置):
openclaw dashboard
后续重新配置:
openclaw configure
A: 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
A: 支持的模型/认证方式:
| 认证方式 | 说明 |
|---|---|
| Anthropic API 密钥(推荐) | 使用 ANTHROPIC_API_KEY 环境变量或提示输入 |
| Anthropic OAuth | Claude Code CLI,macOS 钥匙串或 ~/.claude/.credentials.json |
| OpenAI API 密钥 | 使用 OPENAI_API_KEY 环境变量或提示输入 |
| Gemini | 使用 Gemini API 密钥 |
| MiniMax M2.1 | 配置自动写入 |
| Moonshot(Kimi K2) | 配置自动写入 |
| Sonnet 4.6 | Anthropic模型,支持100万token上下文 |
特别说明:2026.2.17版本已集成Anthropic Sonnet 4.6模型,开放100万token(1M)上下文窗口测试。
A: Supported Models/Authentication Methods:
| Authentication | Description |
|---|---|
| Anthropic API Key (Recommended) | Uses ANTHROPIC_API_KEY environment variable or prompts for input |
| Anthropic OAuth | Claude Code CLI, macOS Keychain, or ~/.claude/.credentials.json |
| OpenAI API Key | Uses OPENAI_API_KEY environment variable or prompts for input |
| Gemini | Uses Gemini API Key |
| MiniMax M2.1 | Configuration auto-written |
| Moonshot (Kimi K2) | Configuration auto-written |
| Sonnet 4.6 | Anthropic 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.
A: 如果您安装了服务,检查运行状态:
openclaw gateway status
或使用通用命令:
openclaw channels status
A: If you have installed the service, check the running status:
openclaw gateway status
Or use the generic command:
openclaw channels status
A: 运行以下命令打开控制UI:
openclaw dashboard
或直接访问网关地址:http://127.0.0.1:18789/
如果控制 UI 加载成功,您的网关已准备就绪,可以开始聊天了。
A: Run the following command to open the control UI:
openclaw dashboard
Or directly visit the gateway address: http://127.0.0.1:18789/
If the control UI loads successfully, your gateway is ready and you can start chatting.
A: 适用于快速测试或故障排除:
openclaw gateway --port 18789
按 Ctrl+C 可停止前台运行。
A: Suitable for quick testing or troubleshooting:
openclaw gateway --port 18789
Press Ctrl+C to stop the foreground process.
A: 如果您将 OpenClaw 作为服务账户运行或想要自定义配置/状态位置:
| 环境变量 | 说明 |
|---|---|
OPENCLAW_HOME | 设置用于内部路径解析的主目录 |
OPENCLAW_STATE_DIR | 覆盖状态目录 |
OPENCLAW_CONFIG_PATH | 覆盖配置文件路径 |
A: If you run OpenClaw as a service account or want to customize config/state locations:
| Environment Variable | Description |
|---|---|
OPENCLAW_HOME | Sets the home directory for internal path resolution |
OPENCLAW_STATE_DIR | Overrides the state directory |
OPENCLAW_CONFIG_PATH | Overrides the config file path |
A: 安装完成后您将拥有:
- ✅ 正在运行的网关
- ✅ 已配置的认证
- ✅ 控制 UI 访问权限或已连接的频道
A: After installation you will have:
- ✅ A running gateway
- ✅ Configured authentication
- ✅ Control UI access or connected channels
A: 建议的下一步操作:
A: Recommended next steps:
- Private message security and approval: Pairing Documentation
- Connect more channels: Channel Documentation
- Advanced workflows and source installation: Setup Documentation
A: 完全卸载OpenClaw需要执行以下三个步骤:
第一步:执行卸载命令
在终端输入以下命令,可自动停止服务并删除核心组件:
openclaw uninstall --all --yes --non-interactive
第二步:卸载全局包
无论官方命令是否执行成功,均需运行:
npm rm -g openclaw
第三步:清理配置目录
执行以下命令删除用户配置和数据:
rm -rf ~/.openclaw
执行第三步会删除所有用户配置、缓存和认证信息,请确认不再需要这些数据后再执行。
A: 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
Step 3 will delete all user configurations, caches, and authentication information. Please confirm you no longer need this data before executing.
三、配置设置篇3. Configuration & Settings
A: OpenClaw支持两种API模型配置:
1. 内置API模型(推荐新手)
支持的内置模型:
- 国内模型:Kimi、DeepSeek、智谱GLM、通义千问、MiniMax、百度文心、字节豆包
- 国外模型:OpenAI GPT、Anthropic Claude、Google Gemini、Groq
2. 自定义API(进阶用户)
配置文件位置:~/.openclaw/openclaw.json
A: 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
A: DeepSeek配置步骤:
- 访问 https://platform.deepseek.com/
- 注册并登录
- 充值账户(建议先充值10元试用)
- 点击"API keys" → "创建 API key"
- 复制API Key(只显示一次,务必保存)
- 在OpenClaw配置向导中选择DeepSeek,粘贴API Key
成本估算:
- 日常使用:5-10元/月
- 中度使用:10-30元/月
- 重度使用:30-50元/月
A: DeepSeek API configuration steps:
- Visit https://platform.deepseek.com/
- Sign up and log in
- Top up your account (start with ¥10 for a trial)
- Click "API keys" → "Create API key"
- Copy the API Key (shown only once, be sure to save it)
- 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
A: Kimi配置步骤:
- 访问 https://www.kimi.com/code
- 购买优惠套餐plan(推荐49元/月套餐)
- 打开控制台,创建API key
- 复制API Key并保存
- 在OpenClaw配置向导中选择Moonshot AI
特点:
- 📚 超长上下文:支持200万字
- 📄 长文档处理:论文、报告分析专家
- 🇨🇳 中文理解好:适合中文场景
A: Kimi (Moonshot AI) configuration steps:
- Visit https://www.kimi.com/code
- Purchase a discounted plan (the ¥49/month plan is recommended)
- Open the console and create an API key
- Copy and save the API Key
- 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
A: 配置步骤:
- 登录阿里云控制台 www.aliyun.com
- 进入"百炼大模型"服务
- 在"密钥管理"中创建API Key
- 复制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"
}
}
}
}
A: Alibaba Cloud Bailian Configuration Steps:
- Log in to the Alibaba Cloud console at www.aliyun.com
- Enter the "Bailian (百炼) LLM" service
- Create an API Key under "Key Management"
- 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.
A: 配置步骤:
- 访问智谱AI开放平台 open.bigmodel.cn
- 注册并创建应用
- 在"API密钥"页面获取Key
配置文件:
{
"agents": {
"defaults": {
"model": "zhipu/glm-4.7"
}
},
"models": {
"providers": {
"zhipu": {
"apiKey": "your-api-key",
"baseUrl": "https://open.bigmodel.cn/api/paas/v4"
}
}
}
}
A: Ollama Local Model Configuration:
- Install Ollama from ollama.com
- Download models:
ollama pull llama3.3orollama pull codellama - Configure OpenClaw to use Ollama
Configuration File:
{
"agents": {
"defaults": {
"model": "ollama/llama3.3"
}
},
"models": {
"providers": {
"ollama": {
"baseUrl": "http://localhost:11434/v1"
}
}
}
}
Ollama Advantages: Completely free, runs locally, maximum privacy
A: 配置步骤:
# 安装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内存
A: 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
A: 配置文件位于 ~/.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/ # 自定义技能
A: 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
A: 通过SOUL.md和USER.md配置:
SOUL.md示例:
你不是聊天机器人。你是个靠谱的助手。
## 核心原则
**认真做事,别敷衍。** 少说"好的!马上帮您处理!",直接动手。
**有自己的想法。** 可以不同意,可以有偏好。
**先自己想办法。** 翻文件、看上下文、搜一搜。
## 边界
- **密码永远不说出来。** 看到密码、API key、token,闭嘴就好。
- 隐私的事保密。
- 不确定的对外操作,先问。
## 风格
该简洁时简洁,该详细时详细。
像个靠谱同事说话,不是客服机器人。
A: 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.
A: 切换模型方法:
# 临时切换
# 临时切换模型(仅当前对话)
openclaw chat --model deepseek/deepseek-chat
# 永久切换:修改配置文件中的primary字段
openclaw config set agents.defaults.model.primary "deepseek/deepseek-chat"
# 重启生效
openclaw gateway restart
A: 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
四、功能使用篇4. Features & Usage
A: 常用命令速查表:
| 命令 | 功能 |
|---|---|
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 | 技能列表 |
A: Common Commands Quick Reference:
| Command | Function |
|---|---|
openclaw --version | Check version |
openclaw status | Check status |
openclaw doctor | Diagnose and fix |
openclaw onboard --install-daemon | Configuration wizard |
openclaw dashboard | Open control panel |
openclaw update | One-click upgrade |
openclaw gateway start | Start gateway |
openclaw gateway stop | Stop gateway |
openclaw gateway restart | Restart gateway |
openclaw logs --follow | View logs |
openclaw models list | List models |
openclaw skills list | List skills |
A: 截至2026年8月,最新稳定版为 2026.7.1(2026年7月13日发布),并有补丁版 2026.7.1-2(2026年8月4日发布)。以下是近期版本的重要更新:
2026.7.1 版本主要更新(2026年7月13日发布)
- Control UI 全面改版:聊天、会话、工作区与用量页面大幅重做,支持多会话分栏、拖放布局与实时任务视图,可随时查看上下文压力、token 用量与预估费用。
- 新手引导更轻松:全新安装直接进入引导式设置,macOS / iOS / Android 均有完整的配对、权限、恢复流程。
- 官方应用大更新:iOS、Android、macOS 应用支持会话缓存、断线续聊、语音、Apple Watch、定时工作与 Gateway 恢复。
- 新模型与提供商支持:兼容 GPT-5.6,新增腾讯 Hy3、Meta Muse Spark 1.1、Featherless、Claude Sonnet 5、Mythos 5、ClawRouter 等。
- Codex 与编码智能体工作流增强:互联编码智能体协作能力更强。
- 渠道体验提升:Telegram、Slack、Discord、Apple Messages 大量更新;Gateway 崩溃循环、定时工作、远程浏览器控制、工作区终端等均有改进。
2026.6.11 版本主要更新(2026年6月30日发布)
- 修复回复错位、发送卡住、重新连接、模型设置失败等可靠性问题。
- Telegram、WhatsApp、Matrix、Google Chat、iMessage、飞书、Mattermost 等渠道投递更稳定。
- 采用更安全的管理员默认设置,并修复 DOMPurify(GHSA-cmwh-pvxp-8882)等组件漏洞。
2026.7.2 预览(开发中,预计近期发布)
- Session Rewind 与分支:可从任意消息“回退重放”或“分叉”出新的会话分支。
- llama.cpp 本地推理:原生支持 llama.cpp 推理后端。
- 会议插件:Microsoft Teams、Zoom、Google Meet 插件与持久化会议记录。
- 状态安全与恢复:隔离存储、崩溃可恢复的 SQLite 快照、升级数据丢失保护等。
历史版本:2026.3.12 / 2026.3.13(2026年3月)曾带来以下重要更新(其中 Chrome DevTools MCP 与配对安全更新在 2026.3.13 引入):
关键安全修复:设备配对安全升级(短期引导令牌)等;累计截至最新版2026.7.1-2已修复100+个安全漏洞(含ClawJacked、RCE等),强烈建议所有用户升级到最新版本!
主要功能更新:
1. 安全性大幅提升
- 设备配对安全升级:使用短期引导令牌,不再嵌入共享凭证
- 修复ClawJacked漏洞:防止恶意网站劫持AI智能体
- 修复多个远程代码执行(RCE)漏洞
2. 全新控制面板(Dashboard v2)
- 重新设计的界面,更直观
- 一眼看到AI助手正在干什么
- 显示资源使用情况
- 显示连接的工具
3. 快速模式(Fast Mode)
- 新增
/fast指令 - 响应速度提升3倍(3秒→1秒)
- 适合批量处理文件、连续查资料
4. 插件系统大升级
- 支持Ollama、SGLang、vLLM等本地AI框架
- 数据不离开电脑,更安全
- 不用花钱买云端算力,更省钱
更新命令:
# 一键更新到最新版本
openclaw update
# 验证版本
openclaw --version # 应显示 2026.7.1-2
A: As of August 2026, the latest stable version is 2026.7.1 (released July 13, 2026), with patch release 2026.7.1-2 (released August 4, 2026). Here are the important updates from recent versions:
Version 2026.7.1 Highlights (released July 13, 2026)
- Control UI overhaul: Chat, sessions, workspaces and usage pages were redesigned with multi-session split panes, drag-and-drop layout, and a live Tasks view, making context pressure, token usage and estimated costs easier to see.
- Easier onboarding: Fresh installs now enter a guided setup, with full pairing, permission, and recovery flows on macOS, iOS, and Android.
- Major app updates: The official iOS, Android and macOS apps gained session caching, offline continuation, voice, Apple Watch, scheduled jobs, and Gateway recovery.
- Expanded models & providers: GPT-5.6 compatibility, plus Tencent Hy3, Meta Muse Spark 1.1, Featherless, Claude Sonnet 5, Mythos 5, and ClawRouter.
- Stronger Codex workflows: Improved connected coding-agent collaboration.
- Channel improvements: Substantial updates to Telegram, Slack, Discord, and Apple Messages; Gateway crash loops, scheduled work, remote browser control, workspace terminals and more were improved.
Version 2026.6.11 Highlights (released June 30, 2026)
- Fixed misplaced replies, stuck sends, reconnects, model setup failures, and other reliability issues.
- More stable delivery across Telegram, WhatsApp, Matrix, Google Chat, iMessage, Feishu, and Mattermost.
- Safer admin defaults and fixes for component vulnerabilities such as DOMPurify (GHSA-cmwh-pvxp-8882).
Version 2026.7.2 Preview (in development)
- Session Rewind & Branching: Rewind to any message or fork a new session branch.
- llama.cpp inference: Native support for the llama.cpp inference backend.
- Meeting plugins: Microsoft Teams, Zoom, and Google Meet plugins with durable transcripts.
- State safety & recovery: Quarantine store, crash-recoverable SQLite snapshots, and schema-upgrade data-loss protection.
Historical versions: 2026.3.12 / 2026.3.13 (March 2026) brought the following important updates (Chrome DevTools MCP and pairing security updates arrived in 2026.3.13):
Critical Security Fixes: Device pairing security upgrades (short-term bootstrap tokens) and more; 100+ security vulnerabilities fixed cumulatively as of the latest version 2026.7.1-2 (including ClawJacked, RCE). All users are strongly advised to upgrade to the latest version!
Major Feature Updates:
1. Significantly Improved Security
- Device pairing security upgrade: Uses short-term bootstrap tokens instead of embedding shared credentials
- Fixed ClawJacked vulnerability: Prevents malicious websites from hijacking AI agents
- Fixed multiple Remote Code Execution (RCE) vulnerabilities
2. Brand New Dashboard (Dashboard v2)
- Redesigned interface, more intuitive
- See at a glance what your AI assistant is doing
- Display resource usage
- Show connected tools
3. Fast Mode
- New
/fastcommand - Response speed improved 3x (3 seconds to 1 second)
- Perfect for batch file processing and continuous research
4. Major Plugin System Upgrade
- Support for local AI frameworks like Ollama, SGLang, vLLM
- Data stays on your computer, more secure
- No need to pay for cloud computing, more cost-effective
Update Commands:
# Update to the latest version
openclaw update
# Verify version
openclaw --version # Should display 2026.7.1-2
A: 2026.3.13版本新增功能:
功能说明:
- 直接控制已登录的Chrome浏览器
- AI能"看到"网页、"点击"按钮、"输入"内容
- 登录态完美保留,不用再输密码
使用场景:
- 批量清理邮箱(保留订单邮件,删除验证码和营销邮件)
- 自动填表
- 批量处理文档
安全机制:
- 操作前需要用户点批准
- 设备配对码单次使用
A: 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
A: OpenClaw的智能搜索可以:
- ✅ 根据文件内容搜索
- ✅ 理解自然语言描述
- ✅ 跨文件夹搜索
- ✅ 智能过滤和排序
搜索命令示例:
# 按内容搜索
找一下包含"合同"的PDF文件
搜索所有提到"项目计划"的文档
# 按类型搜索
找出所有的PNG图片
搜索最近下载的PDF文件
# 按时间搜索
找一下最近7天修改的文件
# 组合搜索
找一下最近一周内,包含"发票"的图片文件
A: 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"
A: 批量处理命令示例:
批量读取:
读取文档文件夹里所有的PDF文件
提取所有图片中的文字
批量提取信息:
从所有发票中提取日期、金额、商家信息
从所有简历中提取姓名、电话、邮箱
批量格式转换:
把所有Word文档转换成PDF
把所有PNG图片转换成JPG
A: 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
五、技能系统篇5. Skills System
A: Skills是OpenClaw的能力扩展层,让AI助手能够执行特定任务。每个Skill包含:
- SKILL.md:技能描述文档
- tools/:工具脚本(可选)
- prompts/:提示词模板(可选)
特点:
- 零代码开发:无需编程,用自然语言描述即可创建新技能
- 热重载:修改后立即生效,无需重启服务
- 生态丰富:ClawHub上已有3000+社区贡献技能
- 跨平台兼容:遵循AgentSkills标准
A: 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
A: 推荐技能列表:
| 技能 | 功能 | 适用场景 |
|---|---|---|
| serpapi | 联网搜索 | 获取实时信息 |
| github | GitHub操作 | 代码管理 |
| obsidian | 笔记管理 | 知识库构建 |
| notion | Notion集成 | 团队协作 |
| spotify-player | 音乐控制 | 娱乐场景 |
| summarize | 内容摘要 | 信息处理 |
A: Recommended Skills List:
| Skill | Function | Use Case |
|---|---|---|
| serpapi | Web search | Get real-time information |
| github | GitHub operations | Code management |
| obsidian | Note management | Knowledge base building |
| notion | Notion integration | Team collaboration |
| spotify-player | Music control | Entertainment |
| summarize | Content summarization | Information processing |
六、多平台集成篇6. Multi-Platform Integration
A: 支持的通讯平台:
| 平台 | 类型 | 特点 |
|---|---|---|
| Telegram | 国际 | 稳定可靠,推荐新手使用 |
| 国际 | 用户基数大,全球通用 | |
| Discord | 国际 | 适合团队协作场景 |
| 飞书 | 国内 | 字节跳动出品,功能丰富 |
| 钉钉 | 国内 | 阿里巴巴出品,企业用户多 |
| 企业微信 | 国内 | 微信生态,易于推广 |
A: Supported communication platforms:
| Platform | Type | Features |
|---|---|---|
| Telegram | International | Stable and reliable, recommended for getting started |
| International | Largest user base, globally accessible | |
| Discord | International | Great for team and community collaboration |
| Slack | International | Popular in business environments, rich integrations |
| Microsoft Teams | International | Enterprise ecosystem, widely adopted |
| SMS (Twilio) | International | Reach anyone via text message |
A: 飞书集成步骤:
步骤1:创建飞书应用
- 访问飞书开放平台 open.feishu.cn
- 点击"创建企业自建应用"
- 选择"机器人"类型
- 填写应用名称和描述
步骤2:配置权限
在"权限管理"中添加以下权限:
- im:message - 接收和发送消息
- im:message:send_as_bot - 以机器人身份发送消息
- im:chat:readonly - 读取群聊信息
- contact:user.employee_id:readonly - 获取用户ID
步骤3:配置事件订阅
在"事件与回调"中:
- 选择"长连接订阅方式"
- 添加事件:im.message.receive_v1
- 保存配置
步骤4:获取凭证
在"凭证与基础信息"中复制App ID和App Secret
步骤5:OpenClaw配置
openclaw configure
# 选择Feishu渠道,输入App ID和App Secret
A: Feishu integration steps:
Step 1: Create a Feishu App
- Visit the Feishu Open Platform open.feishu.cn
- Click "Create Enterprise Self-built App"
- Choose the "Bot" type
- 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":
- Choose "Long Connection Subscription" mode
- Add the event: im.message.receive_v1
- 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
七、高级应用篇7. Advanced Applications
A: 定时任务配置:
编辑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
A: 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
八、故障排除篇8. Troubleshooting
A: 排查步骤:
- 检查端口是否被占用:
lsof -i :18789 - 查看错误日志:
openclaw logs --follow - 运行诊断:
openclaw doctor - 尝试更换端口:
openclaw config set gateway.port 18790 openclaw gateway restart
A: Troubleshooting steps:
- Check if port is already in use:
lsof -i :18789 - View error logs:
openclaw logs --follow - Run diagnostics:
openclaw doctor - Try changing the port:
openclaw config set gateway.port 18790 openclaw gateway restart
A: 排查步骤:
- 检查API Key是否正确
- 确认账户余额充足
- 测试网络连接
- 尝试切换其他模型
A: Troubleshooting steps:
- Check if the API Key is correct
- Verify account balance is sufficient
- Test network connection
- Try switching to another model
九、安全与最佳实践篇9. Security & Best Practices
A: 安全风险矩阵:
| 风险类型 | 风险等级 | 描述 |
|---|---|---|
| 远程代码执行 | 高 | 暴露的实例可能被攻击者利用执行恶意代码 |
| 提示词注入 | 高 | 恶意指令可能诱导AI执行危险操作 |
| 凭证泄露 | 高 | API Key、Token等敏感信息可能被盗取 |
| 供应链攻击 | 中 | 第三方技能可能包含恶意代码 |
国家信息安全漏洞库(CNNVD)数据显示,自2026年1月至2026年3月9日,共记录到82个与OpenClaw相关的漏洞(超危12、高危21、中危47、低危2);2026年6月15日至7月6日又新增27个(高危11个、中危10个、低危6个),累计已披露100+个相关漏洞。截至最新版本2026.7.1-2,大部分关键漏洞已修复,建议立即更新到最新版本。
ClawJacked漏洞(CVE-2026-25253,2026年2月25日由 Oasis Security 披露,2026年2月26日发布的 v2026.2.25/2026.2.26 已修复):恶意网站可劫持本地AI智能体,当时有超过4万个实例暴露在攻击之下(CGTN 报道)。该漏洞已在后续所有版本中修复,强烈建议升级到最新版本。
2026年5-7月新修复:MS Teams safeFetch DNS 重绑定竞态(2026.5.28 修复)、镜像同步符号链接(2026.6.9 修复)、DOMPurify 净化器漏洞 GHSA-cmwh-pvxp-8882(2026.6.11 修复)等中高危问题,已分别随对应版本修复。
A: Security Risk Matrix:
| Risk Type | Risk Level | Description |
|---|---|---|
| Remote Code Execution | High | Exposed instances may be exploited by attackers to execute malicious code |
| Prompt Injection | High | Malicious instructions may induce AI to perform dangerous operations |
| Credential Leakage | High | Sensitive information like API Keys and Tokens may be stolen |
| Supply Chain Attack | Medium | Third-party skills may contain malicious code |
According to CNNVD (China National Vulnerability Database), from January to March 9, 2026, 82 OpenClaw-related vulnerabilities were recorded (12 Critical, 21 High, 47 Medium, 2 Low); from June 15 to July 6, 2026, another 27 were disclosed (11 High, 10 Medium, 6 Low), bringing the cumulative total to 100+. As of the latest version 2026.7.1-2, most critical vulnerabilities have been fixed. Update to the latest version is strongly recommended.
ClawJacked Vulnerability (CVE-2026-25253, disclosed by Oasis Security on February 25, 2026, fixed in v2026.2.25/2026.2.26 released February 26, 2026): Malicious websites could hijack local AI agents, with over 40,000 instances exposed at the time (per CGTN). Fixed in all later versions; upgrading to the latest version is strongly recommended.
Additional fixes in May-July 2026: MS Teams safeFetch DNS rebinding race condition (fixed in 2026.5.28), mirror-sync symlink issue (fixed in 2026.6.9), and DOMPurify sanitizer vulnerability GHSA-cmwh-pvxp-8882 (fixed in 2026.6.11) have each been resolved in their corresponding releases.
A: 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.7.1-2 或更高
2026.3.13 的安全修复已包含在最新版 2026.7.1-2 中;该版本包含少量配置迁移(如记忆引导文件合并规则,每个 Agent 仅加载一个根 MEMORY.md),升级前建议先备份配置。
A: Version 2026.3.13 (released March 14, 2026) is a critical security update containing the following important 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.7.1-2 or higher
The 2026.3.13 security fixes are included in the latest version 2026.7.1-2. 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.
A: 安全加固措施:
网络安全:
- 默认端口18789不应暴露在公网
- 使用VPN或内网访问
- 配置防火墙规则
- 修改默认端口
系统安全:
- 切勿使用root或管理员账户运行OpenClaw
- 创建专用用户
使用Docker隔离:
docker run --user 1000:1000 ...
应用安全:
- 及时更新:
openclaw update - 审查技能:只安装可信来源的技能
- 定期检查已安装技能的更新
A: Security Hardening Measures:
Network Security:
- Default port 18789 should not be exposed to the public internet
- Use VPN or internal network access
- Configure firewall rules
- Change default port
System Security:
- Never run OpenClaw with root or administrator accounts
- Create a dedicated user
Using Docker Isolation:
docker run --user 1000:1000 ...
Application Security:
- Update promptly:
openclaw update - Review skills: Only install skills from trusted sources
- Regularly check for updates to installed skills
A: 安全最佳实践总结:
- ❌ 不要在生产环境直接运行OpenClaw
- ✅ 使用Docker或虚拟机隔离
- ✅ 定期备份和更新
- ✅ 监控和审计所有操作
- ✅ 遵循最小权限原则
- ✅ 升级到2026.7.1-2或更高版本(已累计修复100+个安全漏洞,包括ClawJacked、RCE等关键漏洞)
A: Security Best Practices Summary:
- ❌ Do not run OpenClaw directly in production environments
- ✅ Use Docker or virtual machine isolation
- ✅ Regular backups and updates
- ✅ Monitor and audit all operations
- ✅ Follow the principle of least privilege
- ✅ Upgrade to version 2026.7.1-2 or higher (100+ security vulnerabilities fixed to date, including ClawJacked, RCE and other critical vulnerabilities)
十、成本与优化篇10. Cost & Optimization
A: 模型成本对比:
| 模型 | 输入价格 | 输出价格 | 月费用估算 |
|---|---|---|---|
| DeepSeek | 0.001元/千tokens | 0.002元/千tokens | 5-30元 |
| Kimi | 0.012元/千tokens | 0.012元/千tokens | 10-50元 |
| GLM-4 | 0.005元/千tokens | 0.005元/千tokens | 10-40元 |
| Claude(第三方) | 0.015元/千tokens | 0.075元/千tokens | 50-200元 |
| GPT-4(第三方) | 0.03元/千tokens | 0.06元/千tokens | 100-300元 |
省钱技巧:
- 日常对话用DeepSeek V3(最便宜,综合排名第一)
- 长文档用Kimi 2.5(支持20万字上下文)
- 编程任务用DeepSeek V3或GLM-4.7(能力强)
- 数学推理用DeepSeek R1(专注推理)
A: Model cost comparison:
| Model | Input Price | Output Price | Est. Monthly Cost |
|---|---|---|---|
| Claude Sonnet | $3/MTok | $15/MTok | $5–30 |
| GPT-4o | $2.50/MTok | $10/MTok | $5–40 |
| Gemini Pro | $1.25/MTok | $5/MTok | $3–20 |
| Groq (Llama) | $0.05/MTok | $0.08/MTok | $1–5 |
| Local (Ollama) | Free | Free | $0 |
Cost-saving tips:
- Use Claude Sonnet for daily tasks (best balance of quality and cost)
- Use Gemini Pro for long-context tasks (1M+ token window)
- Use GPT-4o for coding tasks (strong code understanding)
- Use Ollama for privacy-sensitive tasks (completely free, runs locally)
A: 年度成本对比(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节省 | - | 按用量节省 | 按用量节省 | 按用量节省 |
| 计费方式 | 按实际使用付费 | 固定月费 | 固定月费 | 固定月费 |
| 灵活性 | ⭐⭐⭐⭐⭐ 用多少付多少 | ⭐⭐ 用不用都付费 | ⭐⭐ 用不用都付费 | ⭐⭐ 用不用都付费 |
OpenClaw优势:
- 软件本身完全免费,开源无任何费用
- 只需为AI模型API调用付费(如Claude、GPT-4o等)
- 按量计费,用多少付多少,不用不花钱
- 可选择多个模型供应商,灵活切换
- 本地模型(如Ollama)完全免费使用
其他服务劣势:
- 固定月费,不管用不用都要付费
- 无法自由切换模型供应商
- 无法使用本地模型省钱
A: Annual cost comparison (OpenClaw itself is free; the following are AI model API call costs):
| Item | OpenClaw + API | ChatGPT Plus | Cursor | Claude Pro |
|---|---|---|---|---|
| Software cost | Completely free | Included in subscription | Included in subscription | Included 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 OpenClaw | Baseline | $0–180 more/year | $0–180 more/year | $0–180 more/year |
| OpenClaw savings | - | Varies by usage | Varies by usage | Varies by usage |
| Billing method | Pay per actual usage | Fixed monthly fee | Fixed monthly fee | Fixed monthly fee |
| Flexibility | ⭐⭐⭐⭐⭐ Pay only what you use | ⭐⭐ Pay whether you use it or not | ⭐⭐ Pay whether you use it or not | ⭐⭐ Pay whether you use it or not |
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
A: 一人公司的核心方法论:
AI是真的颠覆生产力:
- 不是内容本身被AI替代
- 而是内容生产的效率被AI拉高了一个数量级
- 以前需要一个团队干的活,现在一个人加上AI就能搞定
一人公司的3个核心能力:
- 判断力 - AI负责执行,人负责判断
- 系统化思维 - 搭建AI系统,而不是用AI做事
- 快速迭代能力 - 先跑通最小闭环,再持续优化
A: 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:
- Judgment - AI handles execution, humans handle judgment
- Systems thinking - Build AI systems, not just use AI for tasks
- Rapid iteration - First run the minimum viable loop, then continuously optimize
A: 一人公司的5个铁律:
铁律1:绝不自动发布
- 原因:AI可能出现事实错误、措辞可能不当、判断可能有偏差
- 流程:Agent生成 → 人工审核 → 确认后发布
- AI负责效率,人负责质量底线
铁律2:定时任务是灵魂
- 让系统"推着你走"
- 不依赖"想起来了才用"
- 形成稳定的工作节奏
铁律3:记录一切
- 数据驱动决策
- 避免重复劳动
- 持续优化系统
铁律4:快速迭代
- 不要追求完美
- 先跑通最小闭环
- 快速上线测试,根据反馈迭代
铁律5:专注核心价值
- 判断(选题、质量、方向)是核心价值
- 执行(写作、设计、发布)不是核心价值
- 把重复的交给系统,把判断留给自己
A: 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
A: 快速开始步骤:
步骤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编程的文章"
A: 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"
产品购买Product Purchase
A: 我们提供预装OpenClaw的迷你主机产品,开箱即用,无需繁琐配置:
A: We offer mini host products with OpenClaw pre-installed, ready to use out of the box with no complicated setup required:
✅ 开箱即用 - 预装OpenClaw,无需手动安装配置✅ Ready to Use - OpenClaw pre-installed, no manual setup required
✅ 性能强劲 - AMD最新处理器,流畅运行AI助手✅ Powerful Performance - Latest AMD processor, smooth AI assistant operation
✅ 独立SSD - 可选购预装OpenClaw的独立SSD硬盘✅ Independent SSD - Optional standalone SSD with OpenClaw pre-installed
✅ 官方支持 - 提供完整的技术支持和售后服务✅ Official Support - Complete technical support and after-sales service
📦 迷你主机产品📦 Mini Host Products
| 产品型号Product Model | 处理器Processor | 购买平台Purchase Platform | 链接Link |
|---|---|---|---|
| SER9 Pro H255 (龙虾版)SER9 Pro H255 (Lobster Edition) | AMD Ryzen AI 9 H255 | 天猫Tmall | 立即购买 🛒Buy Now 🛒 |
| SER9 Pro HX370 (龙虾版)SER9 Pro HX370 (Lobster Edition) | AMD Ryzen AI 9 HX370 | 天猫Tmall | 立即购买 🛒Buy Now 🛒 |
| SER10 Max HX470 (龙虾版)SER10 Max HX470 (Lobster Edition) | AMD Ryzen AI 9 HX470 | 天猫Tmall | 立即购买 🛒Buy Now 🛒 |
💾 预装OpenClaw 独立SSD💾 OpenClaw Pre-installed Standalone SSD
| 产品Product | 说明Description | 购买链接Purchase Link |
|---|---|---|
| 预装OpenClaw SSD硬盘OpenClaw Pre-installed SSD | 可独立使用的固态硬盘,预装完整OpenClaw系统Standalone SSD with full OpenClaw system pre-installed | 天猫购买 🛒Buy on Tmall 🛒 |
H255 vs HX370 选择建议:H255 vs HX370 Selection Guide:
- H255:适合个人用户、轻度使用,性价比高Suitable for individual users, light usage, high cost-performance
- HX370:适合重度用户、多人使用,性能更强Suitable for heavy users, multi-user scenarios, more powerful performance
独立SSD优势:Standalone SSD Advantages:
- 可在不同电脑间迁移使用Can be migrated between different computers
- 不占用主机硬盘空间Does not occupy host hard drive space
- 便于备份和恢复Easy to backup and restore
用户常见问题解答Frequently Asked Questions
以下是购买我们预装OpenClaw产品的用户反馈的实际问题及解答,希望能帮助您快速上手使用。Below are actual questions and answers from users who purchased our pre-installed OpenClaw products. We hope this helps you get started quickly.
A: 需要进行简单的初始化设置:
- 开机:接上电源和显示器,按下开机键
- 打开终端:进入系统后打开终端
- 运行引导向导:
openclaw onboard --install-daemon - 按提示完成初始化设置:
- 配置AI模型(选择模型、输入API密钥等)
- 设置认证方式
- 可选:配置平台连接
- 开始使用:访问控制面板
http://127.0.0.1:18789/
详细使用指南位于 /home 目录下,请查阅获取更多信息。
A: Simple initialization setup is required:
- Power On: Connect power and monitor, press the power button
- Open Terminal: Open terminal after entering the system
- Run Setup Wizard:
openclaw onboard --install-daemon - Complete Initialization According to Prompts:
- Configure AI model (select model, enter API key, etc.)
- Set authentication method
- Optional: Configure platform connection
- Start Using: Access control panel at
http://127.0.0.1:18789/
Detailed user guide is located in the /home directory, please refer for more information.
A: SSD需要加装到支持的主机上,并进行初始化设置:
使用步骤:
- 加装SSD:将SSD安装到您的主机(需支持NVMe协议)
- 设置启动项:在BIOS中设置从该SSD启动
- 启动系统:SSD中预装了完整的Ubuntu + OpenClaw系统
- 打开终端:进入系统后打开终端
- 运行引导向导:
openclaw onboard --install-daemon - 按提示完成初始化设置
详细使用指南位于 /home 目录下,请查阅获取更多信息。
• SSD系统已预装,但硬件环境可能不同,首次启动可能需要适配驱动
• 建议在相似配置的机器上使用以获得最佳体验
• 如遇问题,可联系技术支持
A: The SSD needs to be installed on a compatible host and initialized:
Usage Steps:
- Install SSD: Install the SSD into your host (NVMe protocol required)
- Set Boot Order: Set boot from this SSD in BIOS
- Start System: SSD comes with complete Ubuntu + OpenClaw system pre-installed
- Open Terminal: Open terminal after entering the system
- Run Setup Wizard:
openclaw onboard --install-daemon - Complete Initialization According to Prompts
Detailed user guide is located in the /home directory, please refer for more information.
• 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
A: 我们的预装配置:
| 产品型号 | Ubuntu版本 | 预装模型 |
|---|---|---|
| GTR9 | Ubuntu 24.04.03 LTS | Qwen 3.5-35B-A3B |
| SER10 470 | Ubuntu 24.04.03 LTS | Qwen 3.5-9B |
| SER9 370 | Ubuntu 24.04.03 LTS | Qwen 3.5-9B |
| 其他产品 | Ubuntu 24.04.03 LTS | 无预装本地模型(推荐使用云端模型) |
• Qwen 3.5-35B-A3B:高性能模型,适合复杂任务
• Qwen 3.5-9B:平衡性能与速度,适合日常使用
• 其他产品推荐使用云端模型(如DeepSeek、Kimi等),效果更好
A: Our pre-installed configuration:
| Product Model | Ubuntu Version | Pre-installed Model |
|---|---|---|
| GTR9 | Ubuntu 24.04.03 LTS | Qwen 3.5-35B-A3B |
| SER10 470 | Ubuntu 24.04.03 LTS | Qwen 3.5-9B |
| SER9 370 | Ubuntu 24.04.03 LTS | Qwen 3.5-9B |
| Other Products | Ubuntu 24.04.03 LTS | No local model pre-installed (Cloud models recommended) |
• 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
A: 对比分析:
| 对比项 | 本地模型 | 云端模型 |
|---|---|---|
| 成本 | 完全免费 | 按量付费(5-50元/月) |
| 隐私 | 数据不离开本地,最安全 | 数据传输到云端 |
| 速度 | 依赖本地硬件 | 云端算力强,速度快 |
| 能力 | 7B-14B参数,适合日常任务 | 70B-600B+参数,能力更强 |
| 网络 | 无需网络(离线可用) | 需要稳定网络 |
| 推荐场景 | 日常对话、隐私敏感场景 | 复杂任务、编程、专业领域 |
建议:
- 日常使用本地模型(免费)
- 复杂任务切换云端模型(按需付费)
- 隐私敏感内容只用本地模型
A: Comparison Analysis:
| Criteria | Local Model | Cloud Model |
|---|---|---|
| Cost | Completely Free | Pay-as-you-go ($5–50/month) |
| Privacy | Data stays local, most secure | Data transmitted to cloud |
| Speed | Depends on local hardware | Strong cloud computing power, fast |
| Capability | 7B-14B parameters, suitable for daily tasks | 70B-600B+ parameters, more capable |
| Network | No network required (offline available) | Requires stable network |
| Recommended Scenarios | Daily conversation, privacy-sensitive scenarios | Complex 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
A: Intel核显需要使用专门的优化版Ollama:
解决方案:使用Intel优化版Ollama
# Intel优化版Ollama项目地址
https://www.modelscope.cn/models/Intel/ollama
安装步骤:
- 访问上述项目地址下载Intel优化版
- 按照项目说明安装配置
- 配置环境变量以使用Intel GPU
• Intel核显算力有限,即使使用优化版速度仍然较慢
• 不推荐GTi15使用本地模型,除非有外接显卡
• 建议使用云端模型(DeepSeek、Kimi等),速度更快、效果更好
替代方案:使用云端模型
# 切换到云端模型
openclaw models switch deepseek
# 或使用Kimi
openclaw models switch kimi
A: 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:
- Visit the project address above to download Intel optimized version
- Install and configure according to project instructions
- Configure environment variables to use Intel GPU
• 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
A: OpenClaw服务管理命令:
| 操作 | 命令 |
|---|---|
| 启动网关 | openclaw gateway start |
| 停止网关 | openclaw gateway stop |
| 重启网关 | openclaw gateway restart |
| 查看状态 | openclaw gateway status |
| 前台运行 | openclaw gateway --port 18789 |
| 卸载OpenClaw | npm uninstall -g openclaw |
Windows服务管理:
# 安装为系统服务(开机自启)
openclaw service install
# 启动服务
openclaw service start
# 停止服务
openclaw service stop
# 卸载服务
openclaw service uninstall
A: OpenClaw Service Management Commands:
| Operation | Command |
|---|---|
| Start Gateway | openclaw gateway start |
| Stop Gateway | openclaw gateway stop |
| Restart Gateway | openclaw gateway restart |
| Check Status | openclaw gateway status |
| Run in Foreground | openclaw gateway --port 18789 |
| Uninstall OpenClaw | npm 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
A: 首次使用流程:
方式一:预装产品(已完成)
- 开机后运行引导向导:
openclaw onboard --install-daemon --install-daemon - 按提示完成初始化设置
- 打开浏览器访问:
http://127.0.0.1:18789/ - 开始使用
方式二:全新安装
- 运行引导向导:
openclaw onboard --install-daemon --install-daemon - 按提示配置:
- 选择AI模型(DeepSeek/Kimi/Claude等)
- 输入API密钥
- 配置认证方式
- 启动网关:
openclaw gateway start - 打开控制面板:
openclaw dashboard
A: First-time setup process:
Option 1: Pre-installed product (already set up)
- After booting, run the onboarding wizard:
openclaw onboard --install-daemon --install-daemon - Follow the prompts to complete initialization
- Open browser and visit:
http://127.0.0.1:18789/ - Start using
Option 2: Fresh installation
- Run the onboarding wizard:
openclaw onboard --install-daemon --install-daemon - Configure as prompted:
- Select an AI model (DeepSeek/Kimi/Claude, etc.)
- Enter API key
- Configure authentication method
- Start the gateway:
openclaw gateway start - Open the control panel:
openclaw dashboard
A: 各平台连接方法:
飞书连接步骤:
- 创建飞书应用:
- 访问 飞书开放平台
- 创建企业自建应用
- 配置应用权限(消息、通讯录等)
- 配置OpenClaw:
# 安装飞书插件 openclaw plugins install @openclaw/plugin-lark # 配置飞书 openclaw configure - 扫码绑定:运行命令后扫码完成绑定
企业微信连接步骤:
- 访问企业微信管理后台创建应用
- 配置回调URL:
http://your-ip:18789/webhook/wechat - 运行配置命令:
openclaw configure
A: Connection methods for each platform:
Feishu connection steps:
- Create a Feishu app:
- Visit Feishu Open Platform
- Create an enterprise self-built app
- Configure app permissions (messages, contacts, etc.)
- Configure OpenClaw:
# Install the Feishu plugin openclaw plugins install @openclaw/plugin-lark # Configure Feishu openclaw configure - QR-code binding: Scan the QR code after running the command to complete binding
WeCom (WeChat Work) connection steps:
- Visit the WeCom admin console and create an app
- Configure the callback URL:
http://your-ip:18789/webhook/wechat - Run the configuration command:
openclaw configure
A: 配置多个模型并切换:
方法一:配置文件方式
编辑配置文件 ~/.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 帮我写一段代码
A: 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
A: 飞书发送图片的方法:
方式一:直接发送
- 在飞书对话框中直接粘贴或拖拽图片
- OpenClaw会自动接收并处理图片
方式二:让AI生成图片
请帮我生成一张关于...的图片
方式三:让AI分析图片
# 发送图片后
请分析这张图片的内容
• 确保飞书应用已配置图片消息权限
• 部分模型不支持图片输入(如DeepSeek V3)
• 推荐使用Claude或GPT-4 Vision进行图片分析
A: 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
• 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
A: 完全可以!
切换模型:
# 查看已安装模型
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格式(需要转换)
A: 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
• GGUF format (recommended, Ollama native support)
• SafeTensors format
• PyTorch format (requires conversion)
A: 常见安装错误及解决方法:
错误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版本(需要22+)
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
A: 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 22+)
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
macOS/Linux: curl -fsSL https://install.openclaw.ai | bash
Windows: iwr -useb https://install.openclaw.ai/install.ps1 | iex
A: OpenClaw默认推荐的技能说明:
| 技能名称 | 功能说明 | 是否推荐安装 |
|---|---|---|
| memory | 长期记忆,AI能记住之前的对话 | ✅ 强烈推荐 |
| browser | 浏览器自动化,可搜索网页、截图 | ✅ 推荐 |
| files | 文件管理,读写本地文件 | ✅ 推荐 |
| shell | 执行命令行命令 | ⚠️ 谨慎使用 |
| knowledge | 知识库管理,可导入文档学习 | ✅ 推荐 |
| assistant | 任务规划和执行助手 | ✅ 推荐 |
首次安装建议全部选择"Yes",后续可在ClawHub安装更多技能。
A: Description of OpenClaw's default recommended skills:
| Skill Name | Description | Recommended? |
|---|---|---|
| memory | Long-term memory, AI remembers previous conversations | ✅ Strongly recommended |
| browser | Browser automation, can search web pages and take screenshots | ✅ Recommended |
| files | File management, read and write local files | ✅ Recommended |
| shell | Execute command-line commands | ⚠️ Use with caution |
| knowledge | Knowledge base management, import documents for learning | ✅ Recommended |
| assistant | Task planning and execution assistant | ✅ Recommended |
For first-time installation, it's recommended to select "Yes" for all. You can install more skills from ClawHub later.
A: 这些是高级配置项:
Channel(频道):
- 用于连接飞书、企业微信、Telegram等平台
- 首次使用:可以跳过,后续再配置
- 需要连接平台时:必须配置
Hooks(钩子):
- 消息处理前后的自定义逻辑
- 首次使用:可以跳过
- 高级用户:可实现消息过滤、自动回复等
首次使用时跳过Channel和Hooks配置,先在控制面板中测试基本功能,熟悉后再配置平台连接。
A: 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.
Skip Channel and Hooks configuration on first use. First test basic functionality in the control panel, then configure platform connections after getting familiar.
A: 二维码乱码是终端编码问题,解决方法:
方法一:使用Windows Terminal
- 从Microsoft Store安装Windows Terminal
- 在Windows Terminal中运行命令
- 二维码会正常显示
方法二:使用浏览器配置
# 跳过扫码,使用网页配置
openclaw configure --web
方法三:手动配置
# 生成配置链接
openclaw pairing url
# 在浏览器中打开链接完成配置
方法四:保存二维码图片
# 将二维码保存为图片
openclaw pairing qr > qrcode.txt
# 或
openclaw pairing qr --output qrcode.png
使用Windows Terminal或PowerShell 7+,可以完美显示二维码。
A: Garbled QR code is a terminal encoding issue. Solutions:
Method 1: Use Windows Terminal
- Install Windows Terminal from Microsoft Store
- Run the command in Windows Terminal
- 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
Use Windows Terminal or PowerShell 7+, which can display QR codes perfectly.
A: 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技能 → 搜索网页 → 返回结果
A: 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
User: "Help me search for the latest AI news"
AI: Auto-invokes browser skill → Searches web → Returns results
A: WorkSpace文件说明:
| 文件/目录 | 说明 | 是否需要配置 |
|---|---|---|
| MEMORY | 长期记忆存储,AI记住的对话内容 | ❌ 自动管理 |
| AGENT | AI智能体配置,性格、行为设置 | ✅ 可自定义 |
| SOUL | 核心人格定义,AI的"灵魂" | ✅ 可自定义 |
| USER | 用户配置文件 | ❌ 自动管理 |
| HEARTBEATS | 定时任务配置 | ✅ 需配置定时任务时 |
| knowledge/ | 知识库文件 | ✅ 导入文档时 |
• 首次使用:无需手动配置,使用默认设置即可
• 高级自定义:修改SOUL和AGENT可以改变AI性格
• 定时任务:配置HEARTBEATS实现自动化
A: WorkSpace file descriptions:
| File/Directory | Description | Need to Configure? |
|---|---|---|
| MEMORY | Long-term memory storage, AI's remembered conversations | ❌ Auto-managed |
| AGENT | AI agent configuration, personality and behavior settings | ✅ Customizable |
| SOUL | Core personality definition, AI's "soul" | ✅ Customizable |
| USER | User configuration file | ❌ Auto-managed |
| HEARTBEATS | Scheduled task configuration | ✅ When configuring scheduled tasks |
| knowledge/ | Knowledge base files | ✅ When importing documents |
• 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
A: 使用国内镜像源加速:
方法一:临时使用镜像
# 安装时指定镜像
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/
A: 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 22+ 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
• Official registry: https://registry.npmjs.org
• Required Node.js version: 22+
A: 根据最新前端智能体评测排行,推荐模型及适用场景:
| 排名 | 模型 | 特点 | 适用场景 | 成本 |
|---|---|---|---|---|
| 🥇 1 | DeepSeek V3 | 综合评分最高,中文能力极强 | 通用对话、写作、编程、推理 | 最低 |
| 🥈 2 | GLM-4.7 | 智谱最新模型,综合能力强 | 通用对话、写作、编程 | 中 |
| 🥉 3 | GLM-4.5 | 智谱成熟模型,稳定性好 | 通用对话、日常任务 | 中 |
| 4 | Qwen3.5-Turbo | 阿里最新模型,性价比极高 | 日常对话、编程、分析 | 低 |
| 5 | Kimi 2.5 | 长上下文,支持20万字 | 长文档分析、论文阅读 | 低 |
| 6 | DeepSeek 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
A: Based on the latest AI model benchmarks, recommended models and use cases:
| Rank | Model | Features | Best For | Cost |
|---|---|---|---|---|
| 🥇 1 | Claude Sonnet 4 | Best overall balance, excellent reasoning | General chat, writing, coding, analysis | Medium |
| 🥈 2 | GPT-4o | OpenAI's flagship, strong all-around | General chat, coding, multimodal | Medium |
| 🥉 3 | Gemini 2.0 Pro | Google's latest, excellent context window | Long documents, research, analysis | Medium |
| 4 | Mistral Large | European model, good performance | Coding, reasoning, European languages | Low |
| 5 | Groq (Llama 3.3) | Fast inference speed, low latency | Real-time chat, quick responses | Lowest |
| 6 | Ollama (Local) | Runs locally, complete privacy | Privacy-sensitive, offline use | Free |
By use case:
- Best overall: Claude Sonnet 4 (best balance), GPT-4o
- Long document processing: Gemini 2.0 Pro (1M+ token context)
- Best value: Groq (Llama 3.3), Claude Sonnet
- Programming/development: Claude Sonnet 4, GPT-4o
- Fastest response: Groq (fastest inference)
- Privacy-conscious: Ollama (runs locally, free)
• Primary model: Claude Sonnet 4 (best balance)
• Backup model: GPT-4o (for variety)
• Budget option: Groq (Llama 3.3) at ~$5/month
A: 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
}
}
A: 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
}
}
A: 指定浏览器的方法:
方法一:配置文件设置
# 编辑配置文件 ~/.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路径 |
|---|---|---|
| Chrome | C:\Program Files\Google\Chrome\Application\chrome.exe | /usr/bin/google-chrome |
| Edge | C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe | /usr/bin/microsoft-edge |
| Firefox | C:\Program Files\Mozilla Firefox\firefox.exe | /usr/bin/firefox |
A: 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 |
|---|---|---|
| Chrome | C:\Program Files\Google\Chrome\Application\chrome.exe | /usr/bin/google-chrome |
| Edge | C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe | /usr/bin/microsoft-edge |
| Firefox | C:\Program Files\Mozilla Firefox\firefox.exe | /usr/bin/firefox |
A: 是的,引用会增加token消耗,但这是必要的:
为什么会引用:
- 飞书消息机制:AI需要知道上下文才能正确回复
- 多轮对话:引用历史消息实现连续对话
影响分析:
- ✅ 正常影响:每轮对话增加约10-30%的token消耗
- ✅ 必要消耗:没有上下文AI无法理解对话
优化方法:
# 方法1:限制引用长度
# ~/.openclaw/config.json
{
"channels": {
"lark": {
"maxQuoteLength": 500 // 只引用最近500字
}
}
}
# 方法2:关闭引用(不推荐,会失去上下文)
{
"channels": {
"lark": {
"quoteMessage": false
}
}
}
保持引用功能开启,增加的token成本很小,但能保证对话质量。
A: 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
}
}
}
Keep quoting enabled — the added token cost is small but ensures conversation quality.
A: 这是API调用频率限制错误:
原因:
- 短时间内请求次数超过限制
- 不同API服务商有不同的限制规则
各平台限制参考:
| 平台 | 免费额度 | 限制规则 |
|---|---|---|
| DeepSeek | 500万tokens/月 | 60次/分钟 |
| Kimi | 100万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
A: 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 Claude | Tier-based | Varies by tier |
| OpenAI | Tier-based | Varies by tier |
| Google Gemini | Free tier available | 15 RPM (free) |
| Groq | Free tier available | 30 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
A: 这是进程管理冲突问题,解决方法:
方法一:清理僵尸进程
# 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)
A: 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
• 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)
A: 关闭深度思考(Extended Thinking)的方法:
方法一:对话中临时关闭
# 在对话中说明
请直接回答,不要深度思考
或
@fast 请帮我解决这个问题
方法二:配置文件关闭
# ~/.openclaw/config.json
{
"models": {
"anthropic": {
"extendedThinking": false
}
}
}
方法三:使用快速模式
# 启用快速模式(响应速度快3倍)
# openclaw gateway start
# 或在对话中使用
/fast 你的问题
深度思考 vs 快速模式对比:
| 模式 | 响应速度 | 回答质量 | Token消耗 |
|---|---|---|---|
| 深度思考 | 慢(5-10秒) | 最高 | 高 |
| 标准模式 | 中(2-5秒) | 高 | 中 |
| 快速模式 | 快(1-2秒) | 良好 | 低 |
• 简单问题:使用快速模式
• 复杂推理:使用深度思考
• 日常对话:标准模式即可
A: 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 thinking | Slow (5–10s) | Highest | High |
| Standard mode | Medium (2–5s) | High | Medium |
| Fast mode | Fast (1–2s) | Good | Low |
• Simple questions: Use fast mode
• Complex reasoning: Use deep thinking
• Daily conversation: Standard mode is fine
A: 这是跨域访问限制,解决方法:
原因:
- 从非本机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。
A: 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
Allowing all origins (*) creates security risks. Only add trusted domains/IPs.
A: 这需要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 + 域名
A: 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;
}
}
• Local use: Access directly via localhost
• Remote access: Use Tailscale (simplest)
• Public access: Configure HTTPS + domain name
A: 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镜像绕过限制
A: 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
• Install skills in batches, 2–3 at a time
• Prioritize essential skills first
• Use GitHub installation to bypass rate limits
A: 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. 如仍有问题,尝试更换端口
A: 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
}
}
}
1. Delete chrome-profile directory
2. Check if port is occupied
3. Restart OpenClaw
4. If still failing, try changing port
附录:资源与社区Appendix: Resources & Community
| 资源 | 地址 |
|---|---|
| GitHub仓库 | https://github.com/openclaw/openclaw |
| 官方文档 | https://docs.openclaw.ai |
| 技能市场 | https://clawhub.ai |
| Resource | URL |
|---|---|
| GitHub Repository | https://github.com/openclaw/openclaw |
| Official Documentation | https://docs.openclaw.ai |
| Skills Marketplace | https://clawhub.ai |
| 资源 | 地址 |
|---|---|
| OpenClaw CN | https://clawd.org.cn |
| 中文文档 | https://docs.clawd.org.cn |
| Discord社区 | https://discord.gg/clawd |
| Resource | URL |
|---|---|
| Discord Community | https://discord.gg/clawd |
| GitHub Discussions | github.com/openclaw/openclaw/discussions |
| r/OpenClaw (Reddit) | reddit.com/r/openclaw |
| 工具 | 地址 | 说明 |
|---|---|---|
| Ollama | https://ollama.com | 本地模型 |
| ClawHub | https://clawhub.ai | 技能市场 |
| AgentSkills | https://agentskills.io | 技能标准 |
| Tool | URL | Description |
|---|---|---|
| Ollama | https://ollama.com | Local Models |
| ClawHub | https://clawhub.ai | Skill Marketplace |
| AgentSkills | https://agentskills.io | Skill Standard |
结语Conclusion
"AI负责效率,人负责判断"
"把重复的交给系统,把判断留给自己"
"快速行动,持续迭代"
"AI handles efficiency, humans handle judgment"
"Let systems handle repetition, keep judgment for yourself"
"Move fast, iterate continuously"
🚀 开始你的AI自动化之旅,用OpenClaw放大你的核心能力!🚀 Start your AI automation journey, amplify your core capabilities with OpenClaw!