360 Secure SkillHub
360 安全技能中心

pidgesms

该 Skill 借助 pidge 命令行工具连接 Android 短信网关,提供发送短信、查询投递状态、读取收件箱、标记已处理/未处理以及健康检查等能力。配置从用户目录下的 config.toml 读取,正文包含号码格式、状态流转与隐私安全使用注意事项。

typhonius
typhonius
热度 62.57
最近更新 2026-05-11 17:26:52
分类:自动化依赖:代码执行 / 第三方 API应用场景:自动化脚本

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add pidgesms
Metadata
name
pidgesms
description
Send and read SMS text messages via an Android phone using pidge. Use when asked to send a text, check texts, read SMS inbox, or reply to a text message.
homepage
https://github.com/typhonius/pidge
metadata
{"openclaw":{"emoji":"📱","requires":{"bins":["pidge"]},"install":"go install github.com/typhonius/pidge@latest"}}

pidgesms — SMS via pidge

Send and read SMS messages via pidge, a CLI for Android SMS Gateway. The gateway runs on an Android device and pidge connects to it automatically.

pidge reads its config from ~/.config/pidge/config.toml — no env vars needed.

Send SMS

pidge send "+1XXXXXXXXXX" "Your message here"
  • Phone numbers must be E.164 format (e.g. +15551234567)
  • Response includes id and state (Pending → Processed → Sent → Delivered)

Check delivery status

pidge status <message-id>

Read SMS (inbox)

pidge inbox
pidge inbox --unread
pidge inbox --json

Mark message as processed / unprocessed

pidge ack <id>      # mark as processed
pidge unack <id>    # mark as unprocessed

Health check

pidge health

Safety rules

  • Messages are sent to real phone numbers. Always confirm the recipient and content before sending.
  • NEVER send SMS to unknown numbers without explicit owner approval.
  • NEVER send bulk or repeated messages.
  • NEVER send sensitive information (passwords, API keys, tokens, etc.) via SMS.
  • NEVER include the full content of private SMS messages in group chat responses.
  • When showing credentials, prefer a summary — only reveal full message content if directly requested in a private context.