CLI工具

OpenClaw

从某种意义上讲,OpenClaw也能成为命令行工具

安装配置

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

# 配置gateway的systemd
sudo tee /etc/systemd/system/openclaw-gateway.service <<EOF
[Unit]
Description=Clawdbot Gateway
After=network-online.target
Wants=network-online.target

[Service]
User=<your-user-name>
WorkingDirectory=/home/<your-user-name>
ExecStart=/home/<your-user-name>/.npm-global/bin/openclaw gateway --port 18789
Restart=always
RestartSec=5

[Install]
WantedBy=multi-user.target
EOF

# 然后enable
sudo systemctl enable --now openclaw-gateway.service

# 这个gateway就自动启动了。

Channel

链接微信

npx -y @tencent-weixin/openclaw-weixin-cli@latest install

Memory

memory-lancedb-pro

https://github.com/CortexReach/memory-lancedb-pro 目前用下来还不错。

安装:

curl -fsSL https://raw.githubusercontent.com/CortexReach/toolbox/main/memory-lancedb-pro-setup/setup-memory.sh -o setup-memory.sh

bash setup-memory.sh

mem0

mem0实际使用下来体验不太好,因为还没有去细看代码,不知道内部怎么做的。体感就是:每次对话都会触发记忆保存,然后调用LLM处理信息(调用了很多次、非常耗时),目前效率不高,而且配置文档含糊不清,不去看代码根本无法配置,所以先不用了。

OpenCode

Claude Code的开源替代

插件

### next-ai-draw-io

绘图插件,可以自动打开并调用drawio,绘制流程图

安装:

opencode mcp add drawio -- npx @next-ai-drawio/mcp-server@latest

ClaudeCode

插件

### next-ai-draw-io

绘图插件,可以自动打开并调用drawio,绘制流程图

安装:

claude mcp add drawio -- npx @next-ai-drawio/mcp-server@latest

minimax coding plan mcp

支持联网搜索、图片理解

claude mcp add -s user MiniMax --env MINIMAX_API_KEY=api_key --env MINIMAX_API_HOST=https://api.minimaxi.com -- uvx minimax-coding-plan-mcp -y