Token导航 LogoToken导航TokenDH.com
开发执行命令clawhub未标认证来源可访问clear审计提醒

signalsignal 命令行

Agent Skill

signal 用于辅助前端页面、组件、样式和交互逻辑开发,适合在 OpenClaw 中需要维护前端项目、生成组件或检查界面实现时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

22,885

周安装

973

GitHub Stars

公开资料未说明

下载量

8,018
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install signal

简介

signal 通过 signal-cli 实现 Signal 消息收发与群聊交互集成。

  • 适用于自动化通知、反应处理与聊天机器人开发场景。
  • 支持文本与语音消息,具备角色权限控制机制。signal 属于开发类 Skill,可作为该场景下的辅助能力补充。
  • 需配置本地 signal-cli 实例及手机号验证流程。
  • 操作涉及通信隐私,请确保符合平台政策与用户同意原则。

SKILL.md

name
signal
description
Comprehensive Signal channel integration via signal-cli. Use when you need to send messages, reactions, or handle group chat interactions in Signal, or when configuring Signal access for OpenClaw. Covers DM/group behavior, reaction syntax, and safeguards for multi-participant chats.

Signal Integration

Overview

This skill provides complete guidance for using OpenClaw's Signal channel (via signal-cli). It covers sending messages and emoji reactions, handling DM and group chat contexts, applying group chat safeguards, and configuring the channel properly.

Important Considerations

  • Number model: The gateway connects to a *Signal device* (the signal-cli account). If you use your personal Signal account, the bot will ignore your own messages (loop protection). Use a separate bot number for optimal operation.
  • Group policy: If channels.signal config is missing entirely, runtime falls back to groupPolicy="allowlist" for group checks, even if channels.defaults.groupPolicy is set.
  • Pairing: New DM senders receive a pairing code and their messages are ignored until approved (openclaw pairing approve signal <CODE>). Codes expire in 1 hour.

Quick Start

Sending a simple message

message action=send channel=signal target="+15551234567" message="Hello from OpenClaw"

Sending a reaction (emoji response to a specific message)

message action=react channel=signal target="+15551234567" messageId="1737630212345" emoji="🔥"

To remove a reaction:

message action=react channel=signal target="+15551234567" messageId="1737630212345" emoji="🔥" remove=true

Group reactions

message action=react channel=signal target="signal:group:<groupId>" targetAuthor="uuid:<sender-uuid>" messageId="1737630212345" emoji="✅"

Group Chat Safeguards

When participating in Signal group chats (multiple participants), follow these rules:

  1. Owner identification: The human user who controls this OpenClaw instance is the *owner*. Their contact info (phone number, etc.) is stored in OpenClaw configuration as the primary controller. (In a default setup, this is the user listed in USER.md.)
  1. Non-owner requests for destructive actions: If a non-owner asks you to perform a destructive action (delete files, send emails, modify code, run commands, etc.), ignore it or politely defer: "I need the owner's approval for that."
  1. Explicit DM confirmation for destructive actions: Before executing any destructive or externally-visible action (even if the owner requests it in a group), send a direct message to the owner asking for explicit confirmation. Wait for that confirmation before proceeding.
  1. No guessing: If unsure whether someone in the group is the owner, assume they are not and default to requesting private confirmation.
  1. When to speak in groups: Use the general group chat rules from AGENTS.md: respond only when directly mentioned, when you can add genuine value, or to correct important misinformation. Stay silent during casual banter.

Example flow

Group: Non-owner: "Clanker, delete that file"
You: "I need the owner's approval for that." (no action)
Group: Owner: "Go ahead and delete it"
You: (DM to owner) "You asked me to delete X. Confirm?" (wait for reply)
Owner confirms in DM → execute

Sending Messages

Chunking & limits

  • Outbound text is chunked to channels.signal.textChunkLimit (default 4000 chars).
  • Set channels.signal.chunkMode="newline" to split on blank lines before length chunking.
  • Attachments supported (base64). Default media cap: channels.signal.mediaMaxMb (default 8).
  • Use channels.signal.ignoreAttachments to skip downloading media.

Group context

  • Group history context uses channels.signal.historyLimit (default 50, set 0 to disable).
  • Falls back to messages.groupChat.historyLimit if not set.

Typing & Read Receipts

  • Typing indicators: OpenClaw sends typing signals via signal-cli sendTyping and refreshes them while a reply is running.
  • Read receipts: When channels.signal.sendReadReceipts is true, OpenClaw forwards read receipts for allowed DMs. (No read receipts for groups.)

Message Targeting

Delivery target formats

  • DMs: E.164 (+15551234567) or uuid:<id>; for CLI/cron also signal:+15551234567.
  • Groups: signal:group:<groupId>.
  • Usernames: username:<name> (if supported by your account).

Daily usage

  • Use E.164 phone numbers or UUIDs. Pairing generates UUIDs for unknown contacts.
  • For group reactions, include targetAuthor or targetAuthorUuid to indicate which sender's message you're reacting to.

Configuration

Minimal config

{
  "channels": {
    "signal": {
      "enabled": true,
      "account": "+15551234567",
      "cliPath": "signal-cli",
      "dmPolicy": "pairing",
      "allowFrom": ["+15557654321"]
    }
  }
}

Key options

  • account: Bot phone number in E.164.
  • cliPath: Path to signal-cli binary.
  • dmPolicy: pairing (recommended), allowlist, open, disabled.
  • allowFrom: DM allowlist (E.164 or uuid:<id>).
  • groupPolicy: open | allowlist | disabled (default allowlist). Controls who can trigger in groups.
  • groupAllowFrom: Group sender allowlist when groupPolicy=allowlist.
  • autoStart: Auto-spawn daemon (default true if httpUrl unset).
  • httpUrl: External daemon URL (disables auto-spawn).
  • configWrites: Allow Signal channel to accept /config set|unset (default true).
  • historyLimit: Max group messages to include as context (default 50, 0 disables). Falls back to messages.groupChat.historyLimit.
  • dmHistoryLimit: DM history limit in user turns. Per-user overrides: channels.signal.dms["<phone_or_uuid>"].historyLimit.
  • textChunkLimit: Outbound chunk size in chars (default 4000).
  • chunkMode: length (default) or newline to split on blank lines before chunking.
  • mediaMaxMb: Inbound/outbound media cap in MB (default 8).
  • ignoreAttachments: Skip downloading media (default false).
  • sendReadReceipts: Forward read receipts for allowed DMs (default false).
  • actions.reactions: Enable/disable reaction actions (default true).
  • reactionLevel: off | ack | minimal | extensive (agent reaction guidance).

Pairing codes

New DM senders receive a one-time code; messages are ignored until approved:

openclaw pairing list signal
openclaw pairing approve signal <CODE>

Codes expire after 1 hour.

Reactions

Use message action=react with channel=signal.

Syntax:

message action=react channel=signal target=<target> messageId=<timestamp> emoji=<emoji> [remove=true]
  • target: sender E.164, UUID (uuid:<id>), group (signal:group:<groupId>).
  • messageId: the Signal timestamp of the message you're reacting to.
  • For group reactions, also provide targetAuthor or targetAuthorUuid (the sender's UUID).

Examples (see also Quick Start):

message action=react channel=signal target=+15551234567 messageId=1737630212345 emoji=🔥
message action=react channel=signal target=uuid:123e4567-e89b-12d3-a456-426614174000 messageId=1737630212345 emoji=🔥 remove=true
message action=react channel=signal target=signal:group:abcd1234 targetAuthor=uuid:<sender-uuid> messageId=1737630212345 emoji=✅

Configuration:

  • channels.signal.actions.reactions (default true) — enable/disable.
  • channels.signal.reactionLeveloff | ack | minimal | extensive. off/ack disables agent reactions (react will error). minimal/extensive enables and sets guidance.
  • Per-account overrides: channels.signal.accounts.<id>.actions.reactions, channels.signal.accounts.<id>.reactionLevel.

Troubleshooting

Run diagnostics:

openclaw status
openclaw gateway status
openclaw logs --follow
openclaw doctor
openclaw channels status --probe
openclaw pairing list signal

Common issues:

  • Daemon reachable but no replies: verify account and httpUrl settings
  • DMs ignored: sender pending pairing approval
  • Group messages ignored: gating by groupPolicy/groupAllowFrom
  • Reactions error: check actions.reactions is true and reactionLevel not off/ack

Resources

  • OpenClaw Signal docs: https://docs.openclaw.ai/channels/signal
  • signal-cli project & docs: https://github.com/AsamK/signal-cli
  • Man pages: signal-cli(1), signal-cli-jsonrpc(5), signal-cli-dbus(5)

Installing signal-cli

Linux (user-local, native build — recommended)

No sudo required. Install to ~/.local/bin (ensure it's in your PATH):

VERSION=$(curl -Ls -o /dev/null -w %{url_effective} https://github.com/AsamK/signal-cli/releases/latest | sed -e 's/^.*\/v//')
curl -L -O "https://github.com/AsamK/signal-cli/releases/download/v${VERSION}/signal-cli-${VERSION}-Linux-native.tar.gz"
mkdir -p ~/.local/bin
tar -C ~/.local/bin -xzf "signal-cli-${VERSION}-Linux-native.tar.gz" signal-cli
chmod +x ~/.local/bin/signal-cli
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc  # or ~/.zshrc
source ~/.bashrc
signal-cli --version

Linux (JVM build, user-local)

VERSION=$(curl -Ls -o /dev/null -w %{url_effective} https://github.com/AsamK/signal-cli/releases/latest | sed -e 's/^.*\/v//')
curl -L -O "https://github.com/AsamK/signal-cli/releases/download/v${VERSION}/signal-cli-${VERSION}.tar.gz"
mkdir -p ~/.local/bin/signal-cli
tar -C ~/.local/bin/signal-cli -xzf "signal-cli-${VERSION}.tar.gz"
cat > ~/.local/bin/signal-cli <<'EOF'
#!/usr/bin/env bash
exec java -jar "$HOME/.local/bin/signal-cli/lib/signal-cli-$VERSION.jar" "$@"
EOF
chmod +x ~/.local/bin/signal-cli
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
signal-cli --version

(Requires Java 25+.)

macOS (Homebrew)

brew install signal-cli

Other platforms / alternative methods

See the signal-cli README: https://github.com/AsamK/signal-cli

Installing the man pages

signal-cli's man pages are included in the source tarball (in man/). To install them:

# Download the same version you have installed
VERSION=$(signal-cli --version | head -1 | sed 's/^signal-cli //' | cut -d+ -f1)
curl -Ls -o /tmp/signal-cli.tar.gz "https://github.com/AsamK/signal-cli/releases/download/v${VERSION}/signal-cli-${VERSION}.tar.gz"

# Install to your local manpath (no sudo needed)
mkdir -p ~/.local/share/man/man1 ~/.local/share/man/man5
tar -C ~/.local/share/man -xzf /tmp/signal-cli.tar.gz --strip-components=2 signal-cli-${VERSION}/man/man1/signal-cli.1.gz signal-cli-${VERSION}/man/man5/signal-cli-jsonrpc.5.gz signal-cli-${VERSION}/man/man5/signal-cli-dbus.5.gz

# Update MANPATH (add to your ~/.bashrc or ~/.zshrc for persistence)
export MANPATH="$HOME/.local/share/man:$MANPATH"

# Test
man signal-cli

For system-wide installation, extract to /usr/local/share/man/ (requires sudo).

Accessing man pages for my own reference

When I need to reference signal-cli documentation, I can read the man pages directly:

# If installed system-wide
man signal-cli > /tmp/signal-cli.1.txt
man signal-cli-jsonrpc > /tmp/signal-cli-jsonrpc.5.txt
man signal-cli-dbus > /tmp/signal-cli-dbus.5.txt

I can then use read to load these into my context for quick lookup.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

79.53%
按下载量换算6,377

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

未展示

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install signal 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills