Claude Skill
shinglokto/openclaw-claude-bridge
OpenClaw Claude Bridge 是一个通过 Claude Code CLI 为 AI 代理提供动力的 HTTP 桥接器,支持持久会话、自动恢复、扩展思考,并提供带有每个代理成本跟踪的实时 React 仪表板。
概览
仓库信息
安装这个 Skill
git clone https://github.com/shinglokto/openclaw-claude-bridge.gitRegistry 信息
git clone https://github.com/shinglokto/openclaw-claude-bridge.gitnpm install
项目简介
OpenClaw Claude Bridge 是一个通过 Claude Code CLI 为 AI 代理提供动力的 HTTP 桥接器。它管理持久会话、自动恢复、扩展思考,并提供带有每个代理成本跟踪的实时 React 仪表板,同时暴露兼容 OpenAI 的 API。
HTTP bridge powering OpenClaw's AI agents via Claude Code CLI — manages persistent sessions, auto-resume, extended thinking, and provides a real-time React dashboard with per-agent cost tracking. Exposes an OpenAI-compatible API.
要点
- 用于 Claude Code CLI 的 HTTP 桥接器
- 持久会话管理与自动恢复
- 扩展思考支持
- 带有每个代理成本跟踪的实时 React 仪表板
- 暴露兼容 OpenAI 的 API
使用场景
- 通过 Claude Code CLI 为 AI 代理提供动力
- 构建带有成本监控的多代理系统
- 通过兼容 OpenAI 的 API 将 Claude 集成到自定义工作流中
- 管理带有自动恢复功能的长时间运行 AI 会话
README 摘要
# openclaw-claude-bridge [](LICENSE) [](https://nodejs.org/) [](https://docs.anthropic.com/en/docs/claude-code) [繁體中文](README.zh.md) | English An OpenAI-compatible HTTP proxy that lets [OpenClaw](https://github.com/openclaw/openclaw) agents use Claude through [Claude Code CLI](https://docs.anthropic.com/en/docs/claude-code) — with tool calling, session memory, and extended thinking. --- ## Why This Exists OpenClaw speaks the OpenAI API format. Claude Code CLI speaks its own format. This bridge sits in between and translates — so your OC agents can talk to Claude without either side needing to change. ``` OpenClaw agent Bridge Claude CLI (Discord/Telegram) │ │ │ │ POST /v1/chat/ │ │ │ completions │ Translate messages │ ├──────────────────────────▶│ Inject tool protocol │ │ │ Map thinking level │ │ │ │ │ │ stdin ──▶ claude --print │ │ │ stdout ◀── stream-json │ │ │ │ │ SSE stream │ Parse response: │ ◀──────────────────────────│ ├─ text → clean output │ │ │ └─ <tool_call> → OpenAI fmt │