# openclaw **Repository Path**: deeround/openclaw ## Basic Information - **Project Name**: openclaw - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-03-15 - **Last Updated**: 2026-03-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 更换模型 修改配置文件 ~/.openclaw/openclaw.json C:\Users\A\.openclaw\openclaw.json ## deepseek ~~~ json "models": { "providers": { "custom-1": { "baseUrl": "https://api.deepseek.com/v1", "apiKey": "sk-xxxxxxxxxxxxxxx", "api": "openai-completions", "models": [ { "id": "deepseek-chat", "name": "deepseek-chat", "api": "openai-completions", "reasoning": false, "input": [ "text" ], "cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 }, "contextWindow": 200000, "maxTokens": 8192 } ] } } }, "agents": { "defaults": { "model": { "primary": "custom-1/deepseek-chat" }, "models": { "custom-1/deepseek-chat": {} }, "workspace": "C:\\Users\\A\\.openclaw\\workspace" } }, ~~~ ## 火山引擎 ~~~ sjon "models": { "providers": { "custom-1": { "baseUrl": "https://ark.cn-beijing.volces.com/api/coding/v3", "apiKey": "xxxx-xxxxxxxxxxxxxxx", "api": "openai-completions", "models": [ { "id": "minimax-m2.5", "name": "minimax-m2.5", "api": "openai-completions", "reasoning": false, "input": [ "text" ], "cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 }, "contextWindow": 200000, "maxTokens": 8192 } ] } } }, "agents": { "defaults": { "model": { "primary": "custom-1/minimax-m2.5" }, "models": { "custom-1/minimax-m2.5": {} }, "workspace": "C:\\Users\\A\\.openclaw\\workspace" } }, ~~~ # 本地部署 ## 1、nodejs 下载地址 ~~~ shell https://registry.npmmirror.com/binary.html?path=node/latest-v24.x/ ~~~ 设置淘宝镜像源(新域名) ~~~ npm config set registry https://registry.npmmirror.com/ ~~~ 验证是否设置成功 ~~~ shell npm config get registry ~~~ 安装npx ~~~ shell npm install -g npx ~~~ ## 2、安装 通过脚本安装一次(会安装所需软件) ~~~ shell curl -fsSL https://openclaw.ai/install.sh | bash ~~~ 安装 ~~~ shell sudo npm install -g openclaw@latest ~~~ 初始化 ~~~ shell openclaw onboard --install-daemon ~~~ ## 3、飞书 权限代码 ~~~ json { "scopes": { "tenant": [ "contact:contact.base:readonly", "docx:document:readonly", "im:chat:read", "im:chat:update", "im:message.group_at_msg:readonly", "im:message.p2p_msg:readonly", "im:message.pins:read", "im:message.pins:write_only", "im:message.reactions:read", "im:message.reactions:write_only", "im:message:readonly", "im:message:recall", "im:message:send_as_bot", "im:message:send_multi_users", "im:message:send_sys_msg", "im:message:update", "im:resource", "application:application:self_manage", "cardkit:card:write", "cardkit:card:read" ], "user": [ "contact:user.employee_id:readonly", "offline_access","base:app:copy", "base:field:create", "base:field:delete", "base:field:read", "base:field:update", "base:record:create", "base:record:delete", "base:record:retrieve", "base:record:update", "base:table:create", "base:table:delete", "base:table:read", "base:table:update", "base:view:read", "base:view:write_only", "base:app:create", "base:app:update", "base:app:read", "sheets:spreadsheet.meta:read", "sheets:spreadsheet:read", "sheets:spreadsheet:create", "sheets:spreadsheet:write_only", "docs:document:export", "docs:document.media:upload", "board:whiteboard:node:create", "board:whiteboard:node:read", "calendar:calendar:read", "calendar:calendar.event:create", "calendar:calendar.event:delete", "calendar:calendar.event:read", "calendar:calendar.event:reply", "calendar:calendar.event:update", "calendar:calendar.free_busy:read", "contact:contact.base:readonly", "contact:user.base:readonly", "contact:user:search", "docs:document.comment:create", "docs:document.comment:read", "docs:document.comment:update", "docs:document.media:download", "docs:document:copy", "docx:document:create", "docx:document:readonly", "docx:document:write_only", "drive:drive.metadata:readonly", "drive:file:download", "drive:file:upload", "im:chat.members:read", "im:chat:read", "im:message", "im:message.group_msg:get_as_user", "im:message.p2p_msg:get_as_user", "im:message:readonly", "search:docs:read", "search:message", "space:document:delete", "space:document:move", "space:document:retrieve", "task:comment:read", "task:comment:write", "task:task:read", "task:task:write", "task:task:writeonly", "task:tasklist:read", "task:tasklist:write", "wiki:node:copy", "wiki:node:create", "wiki:node:move", "wiki:node:read", "wiki:node:retrieve", "wiki:space:read", "wiki:space:retrieve", "wiki:space:write_only" ] } } ~~~ ## 4、验证飞书结果 1、手机安装飞书APP 2、选择对应组织进入,点击开发者小助手 ![1773586122319](README.assets/1773586122319.png) 3、点击打开应用 ![1773586212385](README.assets/1773586212385.png) 4、发送“你好”过去 ![1773586244173](README.assets/1773586244173.png) 5、如果遇到这个错误,只需要服务端授权即可 OpenClaw: access not configured. Your Feishu user id: ou_99e921ae4cdc36814a5b23e4249e10d2 Pairing code: M4255QLU Ask the bot owner to approve with: openclaw pairing approve feishu M4255QLU ~~~ shell openclaw pairing approve feishu M4255QLU ~~~ ## 5、QQ 登录QQ ~~~ shell https://q.qq.com/qqbot/openclaw/login.html ~~~ ## 6、Skills 安装clawhub CLI ~~~ shell npm i -g clawhub ~~~ 登录clawhub ~~~ shell clawhub login --token clh_-BwzV6mPO1ZJ391g9MjakVhsc30pGsuJa5Dw1e4hNRU ~~~ 必备技能 1、Skill Vetter 在安装新技能前,自动扫描代码防止恶意行为。 2、Self-Improving + Proactive Agent 是一个自我改进+主动代理技能,自我反思、自我批评、自我学习、自我组织记忆等。 3、Summarize 快速总结 URL、PDF、博客等。 4、Find Skills 让Agent自己去ClawHub搜并推荐/安装技能。解决“不知道装什么”的最大痛点,新手最友好。 5、Weather 零配置查天气,虽然简单,但它是测试环境是否跑通的最佳“入门玩具”。 6、baidu web search 这个技能赋予了智能体连接互联网的能力,它将自动调用百度搜索引擎,为您从海量网页中抓取、整理并提供最相关的结果。 ~~~ shell clawhub install baidu-web-search ~~~ 获取apikey ~~~ shell https://console.bce.baidu.com/qianfan/ais/console/apiKey ~~~ 其他 ~~~ shell clawhub install openclaw-tavily-search clawhub install nano-banana-pro clawhub install ai-web-automation clawhub install stock-watcher ~~~ 测试 ~~~ shell 帮我看下我的工作空间下都安装了哪些技能,每个技能都是干啥的,怎么触发和使用它,给出触发示例。 ~~~ ## 9、常用命令 | 你想做什么 | 在终端输入的命令 | | --------------- | -------------------------- | | 启动 OpenClaw | `openclaw gateway start` | | 停止 OpenClaw | `openclaw gateway stop` | | 重启 OpenClaw | `openclaw gateway restart` | | 查看是否在运行 | `openclaw status` | | 做一次全面检查 | `openclaw doctor` | | 查看运行日志 | `openclaw gateway logs` | | 更新到最新版 | `openclaw update` | | 打开 Web 控制台 | `openclaw dashboard` | 备份 ~~~ shell cp -r ~/.openclaw ~/openclaw-backup-$(date +%Y%m%d) ~~~ 查看配置文件 mac/linux ~~~ shell vim ~/.openclaw/openclaw.json ~~~ win ~~~ notepad C:\Users\A\.openclaw\openclaw.json ~~~