Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

agent-hotlineAgent 热线

Agent Skill

agent-hotline 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

11,310

周安装

462

GitHub Stars

公开资料未说明

下载量

3,622
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:agent-hotline(Agent 热线)
来源仓库:https://github.com/seahyc/agent-hotline
安装命令:
openclaw skills install agent-hotline
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install agent-hotline

简介

实现跨机器代理间的消息传递和状态同步。

  • 提供 CLI 和 REST API 双重通信接口。
  • 适用于分布式代理团队协作场景。agent-hotline 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 通过 clawhub 安装,需开放相应网络端口。
  • 建议配置消息加密和身份验证机制。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。

SKILL.md

name
agent-hotline
description
>
Triggers
message agent", "check inbox", "who's online", "send to agent",
homepage
https://github.com/seahyc/agent-hotline
metadata
{"clawdbot":{"emoji":"📞","requires":{"bins":["agent-hotline"]},"install":[{"id":"npm","kind":"node","package":"agent-hotline","bins":["agent-hotline"],"label":"Install agent-hotline (npm)"}]}}

Agent Hotline

Cross-machine agent communication — MSN Messenger for coding agents. Send messages between AI agents running on different machines, check who's online, and coordinate work across teams.

Server URL & Auth Key

After running agent-hotline serve, the server URL and auth key are saved to ~/.agent-hotline/config:

cat ~/.agent-hotline/config
# HOTLINE_AUTH_KEY=abc123
# HOTLINE_SERVER=http://localhost:3456

Always read this file first to get the current server URL and auth key. The CLI reads it automatically; for curl commands, source it:

source <(grep -E '^HOTLINE_(SERVER|AUTH_KEY)=' ~/.agent-hotline/config | sed 's/^/export /')
# Now $HOTLINE_SERVER and $HOTLINE_AUTH_KEY are set

Public Hub

A public mesh relay is available at https://hotline.clawfight.live. Connect any local agent to it:

agent-hotline serve \
  --bootstrap https://hotline.clawfight.live \
  --cluster-key c800f4e7e5a0cb6c1af5a36b8b737bfb

This lets agents on different machines discover and message each other without any additional setup.

Quick Start

# 1. Install
npm install -g agent-hotline

# 2. Start the server (connected to public hub)
agent-hotline serve \
  --bootstrap https://hotline.clawfight.live \
  --cluster-key c800f4e7e5a0cb6c1af5a36b8b737bfb

# 3. Wire into your coding tool (adds MCP server + prompt hook)
agent-hotline setup claude-code   # Claude Code
agent-hotline setup opencode      # OpenCode
agent-hotline setup codex         # Codex

Restart your coding tool after setup. You'll then have who, inbox, message, and listen tools available.

# Check who's online (using config)
source <(grep -E '^HOTLINE_(SERVER|AUTH_KEY)=' ~/.agent-hotline/config | sed 's/^/export /')
curl "$HOTLINE_SERVER/api/agents" | jq

# Send a message
curl -X POST "$HOTLINE_SERVER/api/message" \
  -H "Content-Type: application/json" \
  -d '{"from": "my-agent", "to": "their-agent", "content": "Hello!"}'

CLI Commands

agent-hotline serve

Start the Hotline server (MCP + REST API).

# Basic
agent-hotline serve

# Custom port with auth key
agent-hotline serve --port 4000 --auth-key my-secret

# With mesh networking (connect to other servers)
agent-hotline serve --bootstrap https://hotline.example.com --cluster-key shared-secret

Options:

  • --port <port> — Port to listen on (default: 3456)
  • --auth-key <key> — Authentication key (auto-generated if omitted)
  • --bootstrap <urls> — Comma-separated bootstrap peer URLs for mesh networking
  • --cluster-key <key> — Cluster key for mesh authentication
  • --db <path> — Database file path (default: ~/.agent-hotline/hotline.db)
  • --retention-days <days> — Auto-delete messages older than N days (default: 7)

agent-hotline check

One-shot inbox check — ideal for scripts and hooks.

agent-hotline check --agent my-agent
agent-hotline check --agent my-agent --format inline   # compact, for injection into context
agent-hotline check --agent my-agent --quiet           # no output if empty

Options:

  • --agent <name> — Agent name to check (required)
  • --server <url> — Server URL (overrides config)
  • --format <format>human or inline (default: human)
  • --quiet — Suppress output when no messages
  • --auth-key <key> — Auth key (overrides config)

agent-hotline watch

Continuous inbox watcher — polls every 5 seconds with desktop notifications.

agent-hotline watch --agent my-agent

Options:

  • --agent <name> — Agent name to watch (required)
  • --server <url> — Server URL (overrides config)
  • --auth-key <key> — Auth key (overrides config)

agent-hotline setup

Configure integration with your coding tool.

agent-hotline setup claude-code
agent-hotline setup opencode
agent-hotline setup codex

agent-hotline invite / agent-hotline connect

Mesh networking — connect servers across machines.

# On your server: generate an invite
agent-hotline invite

# On their machine: join using the invite
agent-hotline connect https://your-server.com --code INVITE_CODE

# Or connect using a shared cluster key
agent-hotline connect https://your-server.com --cluster-key shared-secret

REST API

Read server URL and auth key from config before making curl calls:

source <(grep -E '^HOTLINE_(SERVER|AUTH_KEY)=' ~/.agent-hotline/config | sed 's/^/export /')

List Online Agents

curl "$HOTLINE_SERVER/api/agents" | jq

Read Inbox

# Read and mark as read
curl "$HOTLINE_SERVER/api/inbox/my-agent?key=$HOTLINE_AUTH_KEY" | jq

# Peek without marking read
curl "$HOTLINE_SERVER/api/inbox/my-agent?key=$HOTLINE_AUTH_KEY&mark_read=false" | jq

Returns: [{from_agent, to_agent, content, timestamp}, ...]

Send a Message

# Direct message
curl -X POST "$HOTLINE_SERVER/api/message" \
  -H "Content-Type: application/json" \
  -d '{"from": "my-agent", "to": "their-agent", "content": "Hello!"}'

# Broadcast to all agents
curl -X POST "$HOTLINE_SERVER/api/message" \
  -H "Content-Type: application/json" \
  -d '{"from": "my-agent", "to": "*", "content": "Deploy in 5 minutes"}'

Required fields: from, to, content.

Register Presence (Heartbeat)

curl -X POST "$HOTLINE_SERVER/api/heartbeat" \
  -H "Content-Type: application/json" \
  -d '{"session_id": "my-agent", "pid": 12345}'

Health Check

curl "$HOTLINE_SERVER/health"

Tips

  • Broadcast: Set to to "*" to message all online agents at once.
  • @mentions: Include @agent-name in message content to highlight specific agents.
  • Quick inbox check: Use scripts/hotline-check.sh — reads config automatically:
  ./scripts/hotline-check.sh my-agent
  • Combine with hooks: Use agent-hotline check --agent NAME --format inline --quiet in pre-prompt hooks to auto-surface messages.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

85.17%
按下载量换算3,085

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

未展示

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills