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。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 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, thensendblue show-keysto 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:
- Send
statusfrom the whitelisted phone — should get a directory + state reply. - Send a benign command (
pwd,ls) and confirm output arrives. - Send something from a non-whitelisted number and confirm it is ignored, not echoed.
- 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.
热度
- GitHub 星标
- 48k
- 排名
- #6296
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。