cross-instance-comm

Use when sending messages or tasks between multiple OpenClaw instances over Tailscale Gateway, such as asking another machine to execute work or sync context.

33 stars

Best use case

cross-instance-comm is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Use when sending messages or tasks between multiple OpenClaw instances over Tailscale Gateway, such as asking another machine to execute work or sync context.

Teams using cross-instance-comm should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/cross-instance-comm/SKILL.md --create-dirs "https://raw.githubusercontent.com/aAAaqwq/AGI-Super-Team/main/skills/cross-instance-comm/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/cross-instance-comm/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How cross-instance-comm Compares

Feature / Agentcross-instance-commStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Use when sending messages or tasks between multiple OpenClaw instances over Tailscale Gateway, such as asking another machine to execute work or sync context.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# 跨 OpenClaw 实例通信 (Tailscale Gateway)

通过 Tailscale 网络向其他 OpenClaw 实例发送消息,实现跨机器 Agent 通信。

## 触发条件

- "给小m发消息"、"发到Mac Mini"、"跨实例通信"
- "在小m上执行"、"远程部署"、"同步到小m"

## 已知实例

| 实例 | 域名 | 端口 | Token |
|------|------|------|-------|
| 小m (Mac Mini M2) | daniellimac-mini.tail0db0a3.ts.net | 18789 | $(pass show api/xiaom-gateway-token) |
| 本机 (Linux) | 127.0.0.1 | 18789 | (本地) |

## 发送消息到远程实例

```bash
# 给小m的主agent发消息
curl -s -X POST "http://daniellimac-mini.tail0db0a3.ts.net:18789/api/message" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"message": "你的消息内容"}'
```

## 通过 OpenClaw sessions_send(推荐)

如果当前 OpenClaw 配置了远程 Gateway,可直接用 sessions_send:

```python
# 在代码中通过 Gateway API
import httpx

def send_to_instance(host, port, token, message, session_key=None):
    url = f"http://{host}:{port}/api/message"
    headers = {"Authorization": f"Bearer {token}", "Content-Type": "application/json"}
    data = {"message": message}
    if session_key:
        data["sessionKey"] = session_key
    resp = httpx.post(url, headers=headers, json=data, timeout=30)
    return resp.json()

# 发到小m
send_to_instance(
    "daniellimac-mini.tail0db0a3.ts.net", 18789,
    "$(pass show api/xiaom-gateway-token)",
    "帮XX公司做GEO,行业是云计算"
)
```

## 脚本快捷方式

```bash
# scripts/send-to-m2.sh
#!/bin/bash
MSG="${1:?用法: send-to-m2.sh '消息内容'}"
curl -s -X POST "http://daniellimac-mini.tail0db0a3.ts.net:18789/api/message" \
  -H "Authorization: Bearer $(pass show api/xiaom-gateway-token)" \
  -H "Content-Type: application/json" \
  -d "{\"message\": \"$MSG\"}"
```

## 注意事项

- 需要 Tailscale 网络连通(两台机器都在同一 Tailnet)
- Token 不要泄露到公开仓库
- 超时建议设 30s(跨网络延迟)
- 远程实例的 Gateway 必须在运行状态

Related Skills

openclaw-inter-instance

33
from aAAaqwq/AGI-Super-Team

OpenClaw 实例间通信。当需要在多个 OpenClaw 实例之间传递消息、同步数据、远程执行命令时使用此技能。覆盖 agent-to-agent 消息、nodes.run 远程执行、文件级通信等多种方式。

internal-comms

33
from aAAaqwq/AGI-Super-Team

A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).

ecommerce-competitor-analyzer

33
from aAAaqwq/AGI-Super-Team

Multi-platform e-commerce competitor analysis skill that automatically scrapes product data from Amazon, Temu, Shopee and generates comprehensive analysis reports using AI. Use when you need to analyze competitor products, extract product insights, or batch analyze multiple product listings. Supports bulk processing with structured outputs including title, price, rating, reviews, and strategic analysis.

cross-team-comm

33
from aAAaqwq/AGI-Super-Team

通过 Tailscale、SSH、Gateway API 与 sessions_send 实现跨团队、跨实例的 OpenClaw 协作通信。

cross-platform-poster

33
from aAAaqwq/AGI-Super-Team

Publish one piece of content across MoltX, Twitter/X, Discord, and Telegram with platform-specific formatting.

conventional-commits

33
from aAAaqwq/AGI-Super-Team

Format commit messages using the Conventional Commits specification. Use when creating commits, writing commit messages, or when the user mentions commits, git commits, or commit messages. Ensures commits follow the standard format for automated tooling, changelog generation, and semantic versioning.

commit-analyzer

33
from aAAaqwq/AGI-Super-Team

Analyze git commit frequency, categories, and timing patterns to diagnose autonomous agent activity and operational health.

command-registry-integration

33
from aAAaqwq/AGI-Super-Team

Integrate new chat commands into OpenClaw's formal command registry

wemp-operator

33
from aAAaqwq/AGI-Super-Team

> 微信公众号全功能运营——草稿/发布/评论/用户/素材/群发/统计/菜单/二维码 API 封装

Content & Documentation

zsxq-smart-publish

33
from aAAaqwq/AGI-Super-Team

Publish and manage content on 知识星球 (zsxq.com). Supports talk posts, Q&A, long articles, file sharing, digest/bookmark, homework tasks, and tag management. Use when publishing content to 知识星球, creating/editing posts, uploading files/images/audio, managing digests, batch publishing, or formatting content for 知识星球.

zoom-automation

33
from aAAaqwq/AGI-Super-Team

Automate Zoom meeting creation, management, recordings, webinars, and participant tracking via Rube MCP (Composio). Always search tools first for current schemas.

zoho-crm-automation

33
from aAAaqwq/AGI-Super-Team

Automate Zoho CRM tasks via Rube MCP (Composio): create/update records, search contacts, manage leads, and convert leads. Always search tools first for current schemas.