← 返回
未分类 中文

Session OpenClaw Bridge

Configure, validate, and troubleshoot a Session Messenger ↔ n8n ↔ OpenClaw bridge for two-way text messaging and image exchange when the hosted relay support...
配置、验证并排查 Session Messenger ↔ n8n ↔ OpenClaw 桥接,实现双向文字和图片传输(当托管中继支持时)
droidhackzor droidhackzor 来源
未分类 clawhub v0.1.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 352
下载
💾 0
安装
1
版本
#latest

概述

Session ↔ OpenClaw bridge

Use this skill to manage the OpenClaw and n8n side of a Session Messenger relay.

Scope

Handle:

  • n8n workflow generation/import/patching
  • relay health validation
  • endpoint verification for /health, /poll, /send, and attachment download when present
  • mismatch detection between deployed relay and expected API
  • OpenClaw endpoint wiring guidance
  • packaging the skill for reuse or publication

Do not assume the Session relay should implement OpenClaw chat generation internally. Keep the model:

  • relay handles Session connectivity and exposes HTTP endpoints
  • n8n orchestrates polling, filtering, and reply delivery
  • OpenClaw generates replies

Primary files

Read these when needed:

  • references/openclaw-session-relay-workflow.json — n8n workflow template
  • references/release.md — shared publication version for the skill and relay project
  • scripts/validate_relay.py — probe relay endpoints and summarize readiness

Expected relay API

Expected minimum HTTP API:

  • GET /health
  • GET /poll?since=&limit=
  • POST /send

Optional attachment endpoint for image/file workflows:

  • GET /attachment/:messageId/:attachmentId

Expected /health fields for a correct modern deployment:

  • ok
  • sessionId
  • inboundEnabled
  • queued
  • lastSeq

If /poll returns 404 or /health omits the inbound queue fields, treat the deployed relay as an older/wrong build.

n8n workflow model

Preferred flow:

  1. Cron trigger
  2. Poll Session relay /poll
  3. Extract next cursor
  4. Split messages
  5. Filter allowed sender
  6. POST message text to OpenClaw endpoint
  7. POST reply to relay /send

The relay is text-first but may support image/file exchange when its /health capabilities and implementation confirm attachment receive/send support. Do not promise calls or live media.

OpenClaw endpoint note

Do not invent the OpenClaw HTTP endpoint. Confirm the actual endpoint and payload shape before activation.

Packaging

Current shared release version: 0.1.0

Package with:

scripts/package_skill.py /home/openclaw/.openclaw/workspace/skills/session-openclaw-bridge

If preparing for ClawHub, ensure:

  • the skill release version matches the hosted relay project version
  • the packaged skill contains only:
  • SKILL.md
  • minimal scripts
  • references actually used by the skill

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-05-07 07:00 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

self-improving agent

pskoett
记录自身发现以实现自我改进的技能
★ 4,191 📥 961,706
ai-agent

Find Skills

root
帮助用户发现和安装智能体技能,当用户询问如「如何做X」、「找X的技能」、「有能做...的吗」等问题时
★ 1,547 📥 594,110
ai-agent

Agent Browser

rez0
用于 AI 代理的浏览器自动化 CLI。当用户需要与网站交互(包括浏览页面、填写表单、点击按钮、截图等)时使用。
★ 883 📥 358,611