# Send SDF COM Bridge to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "sdf-com-bridge",
    "name": "SDF COM Bridge",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/YKaiXu/sdf-com-bridge",
    "canonicalUrl": "https://clawhub.ai/YKaiXu/sdf-com-bridge",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/sdf-com-bridge",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=sdf-com-bridge",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "_meta.json",
      "requirements.txt",
      "scripts/com_interaction.py",
      "scripts/dependency_checker.py",
      "scripts/error_recovery.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "sdf-com-bridge",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-01T05:40:16.188Z",
      "expiresAt": "2026-05-08T05:40:16.188Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=sdf-com-bridge",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=sdf-com-bridge",
        "contentDisposition": "attachment; filename=\"sdf-com-bridge-2.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "sdf-com-bridge"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/sdf-com-bridge"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/sdf-com-bridge",
    "downloadUrl": "https://openagent3.xyz/downloads/sdf-com-bridge",
    "agentUrl": "https://openagent3.xyz/skills/sdf-com-bridge/agent",
    "manifestUrl": "https://openagent3.xyz/skills/sdf-com-bridge/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/sdf-com-bridge/agent.md"
  }
}
```
## Documentation

### SDF COM Bridge

SDF COM chatroom to Feishu bridge with real-time message sync and translation.

### Architecture

SSH Socket connects to SDF
COM runs on remote
Terminal Parser extracts messages
Translator handles EN-ZH bidirectional translation
Feishu Integration sends formatted messages

### 1. SSH Connection (scripts/ssh_connection.py)

Reuses ControlMaster socket for connection.

from ssh_connection import SSHConnection

conn = SSHConnection(user="yupeng", host="sdf.org")
conn.connect("com -c")  # Start COM
conn.send("g anonradio\\n")  # Enter room

### 2. COM Interaction (scripts/com_interaction.py)

COM command wrapper.

CommandFunctionDescriptionwget_users()List usersllist_rooms()List roomsgjoin_room("name")Join roomr/Rget_history(n)View historyssend_private(user, host, msg)Private messageeemote(action)Emote actionqquit()Exit COM

### 3. Terminal Parser (scripts/terminal_parser.py)

Extracts chat messages from terminal output.

from terminal_parser import SimpleTextParser

parser = SimpleTextParser()
messages = parser.feed(raw_text)

### 4. Translator (scripts/translator.py)

English to Chinese translation.

from translator import LLMTranslator

translator = LLMTranslator()
zh = translator.quick_translate_en_to_zh("hello")

### 5. Feishu Bridge (scripts/feishu_bridge.py)

Parse Feishu commands.

CommandFormatFunctionSendcom: messageSend to COMStatuscom:pwdCheck connectionPrivmsgs: user@host messagePrivate message

### 6. Main Bridge (scripts/main.py)

Complete runtime example.

from main import SDFComBridge

bridge = SDFComBridge(
    user="yupeng",
    host="sdf.org",
    target_room="anonradio"
)

bridge.start()
bridge.handle_feishu_message("com: hello")
bridge.stop()

### Usage

Install dependencies:

pip install -r requirements.txt

Run directly:

python scripts/main.py

Test connection:

python -c "from scripts.ssh_connection import SSHConnection; c = SSHConnection(); print(c._check_socket())"

### Configuration

Edit main.py:

bridge = SDFComBridge(
    user="yupeng",
    host="sdf.org",
    target_room="anonradio"
)

### Default Room

Auto-joins anonradio chatroom.

### Message Flow

COM to Feishu:

English messages auto-translated to Chinese

Feishu to COM:

Messages prefixed with "com:" sent to COM

### Notes

Requires existing SSH ControlMaster socket
Socket path: ~/.ssh/sockets/yupeng@sdf.org
com command must be available on remote
pyte requires correct terminal size (80x24 default)
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: YKaiXu
- Version: 2.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-01T05:40:16.188Z
- Expires at: 2026-05-08T05:40:16.188Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/sdf-com-bridge)
- [Send to Agent page](https://openagent3.xyz/skills/sdf-com-bridge/agent)
- [JSON manifest](https://openagent3.xyz/skills/sdf-com-bridge/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/sdf-com-bridge/agent.md)
- [Download page](https://openagent3.xyz/downloads/sdf-com-bridge)