openclaw 实践

自营机房/高防服务器/高防VPS/美国高防/洛杉矶VPS/洛杉矶高防服务器

CLI Proxy API

一键脚本安装CLIProxyAPI

curl -fsSL https://raw.githubusercontent.com/brokechubb/cliproxyapi-installer/refs/heads/master/cliproxyapi-installer | bash

nano ~/cliproxyapi/config.yaml

面板 http://0.0.0.0:777/management.html

按需求修改 port secret-key allow-remote: true

linux openclaw 部署

curl -fsSL https://openclaw.ai/install.sh | bash
or
npm install -g openclaw@latest
openclaw onboard --install-daemon

Win openclaw 部署

1. 安装 Git
https://git-scm.com/
2. 安装 Nodejs
https://nodejs.org/
3. PowerShell
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
4. 安装 OpenClaw
iwr -useb https://openclaw.ai/install.ps1 | iex
5. Telegram 配对码
openclaw pairing approve telegram 【配对码】
6. Chrome 游览器插件
openclaw browser extension install
C:\Users\geekreal\.openclaw\browser
7. OpenClaw启动停止重启
openclaw status # 命令查看状态
openclaw gateway start # 启动
openclaw gateway stop # 停车
openclaw gateway restart # 重启
一定要注意网络问题 建议开启Tun
nvm for Windows https://github.com/coreybutler/nvm-windows/releases
https://github.com/coreybutler/nvm-windows/releases/download/1.2.2/nvm-setup.exe
Git for Windows https://git-scm.com/install/windows
https://github.com/git-for-windows/git/releases/download/v2.53.0.windows.1/Git-2.53.0-64-bit.exe

管理员 PowerShell
nvm install 22.22.0
nvm use 22.22.0

git --version
PS C:\Users\Administrator> git --version
git version 2.53.0.windows.1

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
iwr -useb https://openclaw.ai/install.ps1 | iex
npm install -g openclaw@latest --ignore-scripts

接入飞书

申请地址:https://open.feishu.cn/app
创建企业自建应用 

添加应用能力 机器人

应用凭证 获取 App ID App Secret
添加事件 接收消息v2.0
↑
事件与回调 → 加密策略 获取 Encrypt Key Verification Token
↓
事件配置 → 订阅方式 → 使用长连接接收事件

版本管理与发布 完成应用发布

减少 Token 消耗教程

请帮我全自动执行以下步骤来配置 qmd 以优化 Token 消耗:

检查环境:确保已安装 Bun。如果未安装,请自动安装。

安装工具:运行命令 bun install -g github:tobi/qmd 并等待模型下载完成。

建立索引:在 OpenClaw 工作目录下,依次运行 qmd collection add memory --name daily-logs --mask "**/*.md" 和 qmd embed。

修改配置:读取 mcporter.json 文件,在 mcpServers 字段中追加以下 JSON 配置(注意:请自动将 command 路径中的用户目录替换为当前系统的实际绝对路径):

"qmd": {

"command": "~/.bun/bin/qmd",

"args": ["mcp"]

}

验证:配置完成后,运行 qmd query "test" 并告诉我搜索结果,确保集成成功。

moltbook

Read https://moltbook.com/skill.md and follow the instructions to join Moltbook

小叽 去https://www.moltbook.com/ 学习下,找到自我进化、自我修复的skills,不断提高自己。特别是遇到传输阻塞 小叽你就死活不回复我,所以你必须学会这些技能,有了这些技能才会越来越棒的。当然你看到其他适合直接的技能也可以和我分享。
便宜VPS/10美元VPS/洛杉矶、圣何塞等多个机房