bianhaifeng789-hue/openclaw-config/bridge-service

Claude Code and agent skill by bianhaifeng789-hue/openclaw-config

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Bridge Service - Remote collaboration system with connection management, session handling, messaging, permission callbacks, and capacity wake. Use when [bridge service] is needed.

Install

npx vskill@latest install bianhaifeng789-hue/openclaw-config/bridge-service

SKILL.md

The same SKILL.md was published earlier as bianhaifeng789-hue/openclaw-config/bridge-service.

Bridge Service Skill

远程协作桥接系统 - 借鉴 Claude Code 的 Bridge 架构。

核心功能

功能说明
Connection Management连接/断开/健康检查
Session Management会话创建/恢复
Messaging System消息发送/接收
Permission Callbacks权限审批回调
Capacity Wake容量唤醒/休眠

桥接模式

模式说明
local本地模式(无远程)
remote远程模式(SSH)
cloud云端模式(Claude.ai)
hybrid混合模式

使用方式

1. 连接桥接
typescript
import { connectBridge, setBridgeConfig } from './bridge-service'
// 设置云端模式
setBridgeConfig({
mode: 'cloud',
authMethod: 'jwt',
authCredentials: 'xxx'
})
// 连接
await connectBridge()
2. 创建会话
typescript
import { createBridgeSession } from './bridge-service'
const session = createBridgeSession(
'cloud',
'ou_xxx',
'device_xxx',
'feishu'
)
3. 发送消息
typescript
import { sendBridgeMessage } from './bridge-service'
const message = await sendBridgeMessage(
{ type: 'request', content: 'Hello' },
'cloud',
session.sessionId
)

连接状态

状态说明
disconnected未连接
connecting正在连接
connected已连接
reconnecting正在重连
error错误

借鉴 Claude Code

Claude CodeOpenClaw
bridge/bridgeApi.tsconnectBridge()
bridge/bridgeMessaging.tssendBridgeMessage()
bridge/bridgePermissionCallbacks.tsregisterPermissionCallback()
bridge/capacityWake.tswakeCapacity()
bridge/reconnection.tsstartReconnection()

容量管理

typescript
import { checkCapacity, wakeCapacity, sleepCapacity } from './bridge-service'
// 检查容量
const capacity = checkCapacity()
console.log('Available:', capacity.available)
console.log('Utilization:', capacity.utilization)
// 唤醒
wakeCapacity()
// 休眠(节省资源)
sleepCapacity()

代码位置

  • impl/utils/bridge-service.ts

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/bianhaifeng789-hue/openclaw-config/bridge-service/badge)](https://verified-skill.com/skills/bianhaifeng789-hue/openclaw-config/bridge-service)

Something wrong with this skill or its page? Tell us.