跳到正文
Skillpedia
图片与图标48k · #6296

textme

它能做什么

这个程序可以让你用手机发送短信(iMessage)给电脑上的 Claude Code。你甚至可以发送语音和图片,像坐在键盘前一样控制 Claude。

适用场景

  • ✓当你不在电脑旁,想启动或查看 Claude 任务的进度时。
  • ✓想通过短信远程控制 Claude 时。
  • ✓想发送音频或图片文件让 Claude 处理时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/skills/sendblue/textme/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/skills/sendblue/textme/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“通过短信把消息发给我的 Claude。”

每周 5 个新技能,1 分钟读完。

工作原理

它的原理是在你的电脑上运行一个程序,监听收到的消息。如果消息来自授权号码,就会转发给 Claude。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

TextMe

Overview

njerschow/textme is a local daemon that bridges inbound iMessages (via Sendblue) to a Claude Code session on the user's machine. Whitelisted phone numbers can text, send voice notes, send images, and drive Claude through filesystem operations, code execution, and cd-based directory navigation — turning the user's phone into a remote control for Claude on their laptop. This is the inbound counterpart to outbound notification patterns ([[sendblue-notify]]): textme is phone → Claude; sendblue-notify is Claude → phone.

When to Use This Skill

  • Use when the user says "text Claude", "text my laptop", "drive Claude from my phone", "I want to send iMessages to Claude", or "let me code from my phone".
  • Use when the user is heads-down away from their desk and wants to kick off, supervise, or interrupt a Claude session via SMS/iMessage.
  • Use when setting up a long-running headless workstation that the user wants to remote-control while travelling or away from the keyboard.
  • Pair with [[sendblue-notify]] for bidirectional flow — outbound completion pings + inbound commands on the same Sendblue account.
  • Do not use for outbound-only "text me when X finishes" patterns. That is [[sendblue-notify]] and does not need a daemon.

Prerequisites

  • macOS or Linux host that stays online (the daemon polls Sendblue continuously).
  • Node.js 18+.
  • An active Sendblue account with API credentials and a provisioned iMessage number — set up via [[sendblue-cli]] (sendblue setup, then sendblue show-keys to surface API key/secret).
  • Claude Code installed and authenticated on the host (npm install -g @anthropic-ai/claude-code).
  • Optional: an OpenAI API key for Whisper voice-note transcription.

How It Works

Step 1: Install the daemon

git clone https://github.com/njerschow/textme.git
cd textme/daemon
npm install
npm run build
mkdir -p ~/.config/claude-imessage

Step 2: Configure credentials and the whitelist

Create ~/.config/claude-imessage/config.json:

{
  "sendblue": {
    "apiKey": "YOUR_SENDBLUE_API_KEY",
    "apiSecret": "YOUR_SENDBLUE_API_SECRET",
    "phoneNumber": "+1SENDBLUE_NUMBER"
  },
  "whitelist": ["+1YOUR_PHONE"],
  "pollIntervalMs": 5000,
  "conversationWindowSize": 20
}

The whitelist is the only authorization gate between an inbound iMessage and code execution on the host. Treat it as a security boundary, not a UX preference. Add only phone numbers the user controls; never add a shared, work, or family number "just in case".

For voice transcription, optionally add to .env in the daemon directory:

OPENAI_API_KEY=sk-...

Step 3: Run the daemon

For a quick test run:

cd textme/daemon
npm start

For persistent operation (recommended once the user has verified behavior):

pm2 start dist/index.js --name textme
pm2 save
pm2 startup

Or, on macOS, install the launchd service:

./scripts/install-launchd.sh

Step 4: Drive Claude from iMessage

Once the daemon is running, an iMessage from a whitelisted number to the Sendblue phone number reaches Claude. Built-in commands:

Command Effect
? List available commands
status Show current daemon status and working directory
queue Show messages queued for processing
history Recent message history
home cd back to home directory
reset Return home and clear conversation history
cd /path Change working directory
stop Cancel the current Claude task
yes / no Approve or reject the pending action

Anything else is treated as a Claude prompt and routed to the active session.

Step 5: Verify before relying on it

Before using textme in unattended workflows, the user must:

  1. Send status from the whitelisted phone — should get a directory + state reply.
  2. Send a benign command (pwd, ls) and confirm output arrives.
  3. Send something from a non-whitelisted number and confirm it is ignored, not echoed.
  4. Pull the plug: kill the daemon and confirm messages stop being processed (no zombie process).

If any of these fail, do not enable launchd / pm2 auto-start.

Examples

Example 1: Initial setup walk-through

# 1. Make sure sendblue CLI is set up and creds work
sendblue whoami

# 2. Grab Sendblue API key & secret (these are NOT the CLI's bearer token)

…
常见问题

我需要安装 Claude Code 吗?

需要,这个程序要正常工作,电脑上必须已经安装并设置好 Claude Code。

哪些手机可以发送消息?

只有你在设置中授权的手机号码,才能向 Claude 发送消息。

我可以发送任何类型的文件吗?

你可以发送文本消息、语音备忘录和图片。这个程序还允许 Claude 与你电脑上的文件进行交互。

详情

作者的原始描述

Text Claude from your phone — set up the njerschow/textme daemon so inbound iMessages drive a Claude Code session on your laptop, with voice notes, image input, code execution, and a phone-number whitelist.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#6296
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能