Send X/Twitter posts to Kindle for distraction-free reading. Use when user shares an X/Twitter link and wants to read it on Kindle, or asks to send a tweet/thread to their Kindle device.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install x-to-kindle或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install x-to-kindle⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/x-to-kindle/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: x-to-kindle description: Send X/Twitter posts to Kindle for distraction-free reading. Use when user shares an X/Twitter link and wants to read it on Kindle, or asks to send a tweet/thread to their Kindle device. ---
Convert X/Twitter posts into Kindle-readable documents via email.
When user shares an X link:
``` https://api.fxtwitter.com/status/twitter.com//status/ or x.com//status/
```html
{tweet_text}
{timestamp}
``````python from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText from email.mime.base import MIMEBase from email import encoders
msg = MIMEMultipart() msg['Subject'] = "Tweet from @handle" msg['From'] = from_email msg['To'] = kindle_email
# Plain text body (not the content) msg.attach(MIMEText("Article attached.", 'plain'))
# HTML file as attachment - THIS IS REQUIRED with open("/tmp/article.html", "rb") as f: attachment = MIMEBase('text', 'html') attachment.set_payload(f.read()) encoders.encode_base64(attachment) attachment.add_header('Content-Disposition', 'attachment', filename='article.html') msg.attach(attachment) ```
send_to_kindle: Send a local file to the configured Kindle email.Set the following environment variables in your Clawdbot configuration (or .env file):
SMTP_EMAIL: Your sender email (e.g., gmail)SMTP_PASSWORD: Your app passwordKINDLE_EMAIL: Your Kindle email addressSMTP_SERVER: (Optional) Default: smtp.gmail.comSMTP_PORT: (Optional) Default: 587Send a local file (PDF, HTML, TXT) to the Kindle.
python3 skills/x-to-kindle/send_to_kindle.py Store in TOOLS.md:
## Kindle
- Address: [email protected]
## Email (Gmail SMTP)
- From: [email protected]
- App Password: xxxx xxxx xxxx xxxx
- Host: smtp.gmail.com
- Port: 587
User sends: https://x.com/elonmusk/status/1234567890
https://api.fxtwitter.com/status/1234567890安装 X To Kindle 后,可以对 AI 说这些话来触发它
Help me get started with X To Kindle
Explains what X To Kindle does, walks through the setup, and runs a quick demo based on your current project
Use X To Kindle to send X/Twitter posts to Kindle for distraction-free reading
Invokes X To Kindle with the right parameters and returns the result directly in the conversation
What can I do with X To Kindle in my marketing & growth workflow?
Lists the top use cases for X To Kindle, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/x-to-kindle/ 目录(个人级,所有项目可用),或 .claude/skills/x-to-kindle/(项目级)。重启 AI 客户端后,用 /x-to-kindle 主动调用,或让 AI 根据上下文自动发现并使用。
X To Kindle 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
X To Kindle 可免费安装使用。请查阅仓库了解许可证信息。
Send X/Twitter posts to Kindle for distraction-free reading. Use when user shares an X/Twitter link and wants to read it on Kindle, or asks to send a tweet/thread to their Kindle device.
X To Kindle 属于「Marketing & Growth」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my marketing & growth tasks using X To Kindle
Identifies repetitive steps in your workflow and sets up X To Kindle to handle them automatically