Skills 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.
install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/brianlu365ai/x-kindle" ~/.claude/skills/openclaw-skills-x-to-kindle && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/brianlu365ai/x-kindle" ~/.openclaw/skills/openclaw-skills-x-to-kindle && rm -rf "$T"
manifest:
skills/brianlu365ai/x-kindle/SKILL.mdsource content
X to Kindle
Convert X/Twitter posts into Kindle-readable documents via email.
Requirements
- Gmail account with App Password (or other SMTP setup)
- Kindle email address (found in Amazon account settings)
Workflow
When user shares an X link:
-
Extract content via fxtwitter API:
https://api.fxtwitter.com/status/<tweet_id>Extract from URL:
ortwitter.com/*/status/<id>x.com/*/status/<id> -
Format as HTML email:
<html> <body> <h1>@{author_handle}</h1> <p>{tweet_text}</p> <p><em>{timestamp}</em></p> <p><a href="{original_url}">View on X</a></p> </body> </html> -
Send via SMTP to user's Kindle address with subject line as tweet preview.
Configuration
Store in TOOLS.md:
## Kindle - Address: user@kindle.com ## Email (Gmail SMTP) - From: your@gmail.com - App Password: xxxx xxxx xxxx xxxx - Host: smtp.gmail.com - Port: 587
Example
User sends:
https://x.com/elonmusk/status/1234567890
- Fetch
https://api.fxtwitter.com/status/1234567890 - Extract author, text, timestamp
- Send HTML email to Kindle address
- Confirm: "Sent to Kindle 📚"