← 返回
沟通协作

Openclaw Cli Bridge Elvatis

Bridge local AI CLIs + web browser sessions (Grok, Gemini, Claude.ai, ChatGPT) into OpenClaw as model providers. Includes /cli-* slash commands for instant m...
将本地 AI 命令行工具和网页浏览器会话(Grok、Gemini、Claude.ai、ChatGPT)桥接到 OpenClaw 作为模型提供商。包括 /cli-* 斜杠命令,用于即时调用。
homeofe
沟通协作 clawhub v2.8.1 6 版本 100000 Key: 无需
★ 0
Stars
📥 962
下载
💾 28
安装
6
版本
#bridge#cli#latest#llm#playwright#proxy

概述

OpenClaw CLI Bridge

Bridges locally installed AI CLIs + web browser sessions into OpenClaw as model providers. Four phases:

Phase 1 — Codex Auth Bridge

Registers openai-codex provider from existing ~/.codex/auth.json tokens. No re-login.

Phase 2 — Request Proxy

Local OpenAI-compatible HTTP proxy (127.0.0.1:31337) routes vllm model calls to CLI subprocesses:

  • vllm/cli-gemini/gemini-2.5-pro / gemini-2.5-flash / gemini-3-pro
  • vllm/cli-claude/claude-sonnet-4-6 / claude-opus-4-6 / claude-haiku-4-5
  • vllm/local-bitnet/bitnet-2b → BitNet llama-server on 127.0.0.1:8082

Prompts go via stdin/tmpfile — never as CLI args (prevents E2BIG for long sessions).

Phase 3 — Slash Commands

Six instant model-switch commands (authorized senders only):

CommandModel
------
/cli-sonnetvllm/cli-claude/claude-sonnet-4-6
/cli-opusvllm/cli-claude/claude-opus-4-6
/cli-haikuvllm/cli-claude/claude-haiku-4-5
/cli-geminivllm/cli-gemini/gemini-2.5-pro
/cli-gemini-flashvllm/cli-gemini/gemini-2.5-flash
/cli-gemini3vllm/cli-gemini/gemini-3-pro
/cli-codexopenai-codex/gpt-5.3-codex
/cli-codex54openai-codex/gpt-5.4
/cli-bitnetvllm/local-bitnet/bitnet-2b
/cli-backRestore previous model
/cli-test [model]Health check (no model switch)

Each command uses staged switching by default (apply with /cli-apply).

Phase 4 — Web Browser Providers

Persistent Chromium profiles for 4 web providers (no API key needed):

  • Grok (web-grok/*): /grok-login, /grok-status, /grok-logout
  • Gemini (web-gemini/*): /gemini-login, /gemini-status, /gemini-logout
  • Claude.ai (web-claude/*): /claude-login, /claude-status, /claude-logout
  • ChatGPT (web-chatgpt/*): /chatgpt-login, /chatgpt-status, /chatgpt-logout

Sessions survive gateway restarts. /bridge-status shows all 4 at a glance.

On gateway restart, if any session has expired, a WhatsApp alert is sent automatically with the exact /xxx-login commands needed — no guessing required.

Browser health dashboard: http://127.0.0.1:31337/status — live overview of all 4 providers, cookie expiry, and model list. Auto-refreshes every 30s.

Setup

  1. Enable plugin + restart gateway
  2. (Optional) Register Codex auth: openclaw models auth login --provider openai-codex
  3. Use /cli-* commands to switch models from any channel

See README.md for full configuration reference and architecture diagram.

Version: 2.8.1

版本历史

共 6 个版本

  • v2.8.1 当前
    2026-05-20 04:35
  • v0.2.25
    2026-03-29 22:14
  • v1.9.2
    2026-03-27 20:38
  • v1.5.1
    2026-03-14 01:01
  • v0.2.20
    2026-03-11 11:46
  • v0.2.19
    2026-03-11 10:54

安全检测

腾讯云安全 (Keen)

队列中

腾讯云安全 (Sanbu)

队列中

🔗 相关推荐

communication-collaboration

Himalaya

lamelas
{"answer":"通过IMAP/SMTP管理邮件的CLI。可在终端使用 `himalaya` 收发、回复、转发、搜索及整理邮件。支持多账户与MML(MIME元语言)编写邮件。"}
★ 68 📥 45,585
communication-collaboration

Slack

steipete
当需要通过 slack 工具从 Clawdbot 控制 Slack 时使用,包括在频道或私信中回复消息或置顶/取消置顶项目。
★ 157 📥 47,678
communication-collaboration

imap-smtp-email

gzlicanyi
使用IMAP/SMTP读取和发送邮件;检查新/未读邮件、获取内容、搜索邮箱、标记已读/未读、发送带附件的邮件。支持...
★ 113 📥 52,404