skills/cross-instance-comm/SKILL.md
Use when sending messages or tasks between multiple OpenClaw instances over Tailscale Gateway, such as asking another machine to execute work or sync context.
npx skillsauth add aaaaqwq/agi-super-skills cross-instance-commInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
通过 Tailscale 网络向其他 OpenClaw 实例发送消息,实现跨机器 Agent 通信。
| 实例 | 域名 | 端口 | Token | |------|------|------|-------| | 小m (Mac Mini M2) | daniellimac-mini.tail0db0a3.ts.net | 18789 | $(pass show api/xiaom-gateway-token) | | 本机 (Linux) | 127.0.0.1 | 18789 | (本地) |
# 给小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 配置了远程 Gateway,可直接用 sessions_send:
# 在代码中通过 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,行业是云计算"
)
# 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\"}"
testing
AI驱动的智能浏览器自动化工具。使用LLM理解页面并自动执行任务,比传统Playwright更智能、更省token。适用于复杂交互、动态页面、需要智能决策的浏览器操作。Chrome浏览器优先。
tools
网页登录态管理。使用 fast-browser-use (fbu) 管理各平台登录状态,定期检查可用性,新平台授权时自动保存 profile。
development
Monitor and report on API provider quotas, balances, and usage. Query official providers (Moonshot, DeepSeek, xAI, Google AI Studio) and relay/proxy providers (Xingjiabiapi, Aixn, WoW) via their billing APIs. Also checks subscription services (Brave Search, OpenRouter). Generates quota reports. Triggers on "查额度", "API余额", "quota check", "billing report", "api balance", "供应商额度", "中转站余额", "费用报告", "check balance", "how much credit".
development
# A股基金监控 Skill A股基金净值监控,支持实时估值和盘后净值,自动判断交易日/节假日。 ## 用法 ### 快速监控(命令行) ```bash # 默认配置,输出到控制台 bash ~/clawd/skills/a-fund-monitor/scripts/monitor.sh # 推送到群(使用--push参数) bash ~/clawd/skills/a-fund-monitor/scripts/monitor.sh --push # 监控指定基金 bash ~/clawd/skills/a-fund-monitor/scripts/monitor.sh --codes "000979 002943" ``` ### Agent调用 ``` 执行A股基金监控任务。 1. 读取配置文件: ~/clawd/skills/a-fund-monitor/config.json 2. 获取实时净值数据 3. 非交易日自动切换为简短报告 配置文件格式: { "funds": [ {"code": "000979", "name": "景顺长城沪港深精选股票