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
openclaw 部署
curl -fsSL https://openclaw.ai/install.sh | bash
or
npm install -g openclaw@latest
openclaw onboard --install-daemon
接入飞书
申请地址: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" 并告诉我搜索结果,确保集成成功。
主机推介


