← Back to Skills Marketplace
brianlu365ai

X To Kindle

by brianlu365ai · GitHub ↗ · v0.1.1
cross-platform ⚠ suspicious
1386
Downloads
0
Stars
1
Active Installs
2
Versions
Install in OpenClaw
/install 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.
Usage Guidance
This skill appears to implement its stated function, but there are two practical concerns you should consider before installing: 1) Secrets and metadata mismatch: SKILL.md and the script require SMTP_EMAIL, SMTP_PASSWORD (app password), and KINDLE_EMAIL, but the registry metadata lists no required env vars. Do not assume the skill is safe just because metadata omits credentials — the code will need them. 2) Arbitrary-file-sending risk: The included tool will send any local file path you pass to it to the configured Kindle email. That is necessary to send the generated HTML, but it also means a mis-invocation or malicious agent behavior could exfiltrate local files. To reduce risk: - Use a dedicated email account (Gmail) and an app-specific password with minimal access; avoid using your primary account. - Use a disposable or limited-permissions Kindle address if possible. - Only grant SMTP_PASSWORD to skills you trust, and prefer rotating the app password after testing. - Inspect and, if possible, modify the script so it only accepts files from a controlled directory (e.g., a sandboxed /tmp/<skill>/ folder) or validates filenames before sending. - Confirm how your agent platform prompts you (or not) before invoking the tool; require explicit user confirmation for any send operation. - Verify network calls (fxtwitter API) are acceptable for your privacy policy; consider using an API you trust or self-hosted fetch logic. If you cannot or will not follow these mitigations, avoid installing or provide only throwaway credentials for testing.
Capability Analysis
Type: OpenClaw Skill Name: x-to-kindle Version: 0.1.1 The `send_to_kindle.py` script is designed to send any local file specified by its command-line argument to a pre-configured Kindle email address via SMTP. While the `SKILL.md` instructions limit its intended use to a generated HTML file in `/tmp`, the underlying script's broad file access capability (reading arbitrary files from the filesystem) combined with network exfiltration (emailing the file) presents a significant risk. A malicious prompt could instruct the agent to use this tool to exfiltrate sensitive files (e.g., `~/.ssh/id_rsa`, `/etc/passwd`) to the configured Kindle email, which, while user-controlled, still constitutes unauthorized data exfiltration from the agent's environment.
Capability Assessment
Purpose & Capability
Name/description match the implementation: the skill fetches tweet content (via fxtwitter), formats HTML and sends it to a Kindle email. However, the registry metadata declares no required environment variables or primary credential, while SKILL.md and send_to_kindle.py require SMTP_EMAIL, SMTP_PASSWORD and KINDLE_EMAIL; this metadata mismatch is inconsistent and could mislead users about what secrets the skill needs.
Instruction Scope
Runtime instructions stay within the stated purpose (fetch tweet, build HTML, email to Kindle) but they also instruct writing files to /tmp and invoking a tool that will send any local file path given. The tool accepts arbitrary file paths and will email their contents, which is powerful and could be abused to exfiltrate sensitive local files if the agent or user supplies a path other than the generated article.
Install Mechanism
No install spec (instruction-only with a small Python script included). Nothing is downloaded from external arbitrary URLs and no package manager installs are required, so install risk is low.
Credentials
The functionality legitimately requires SMTP credentials and a Kindle email. Those are sensitive credentials (SMTP app password) and should have been declared in the skill metadata; omitting them from the declared 'requires.env' is an incoherence. Requiring SMTP credentials is proportionate, but the skill's ability to use them autonomously raises risk if the credentials are given without restrictions.
Persistence & Privilege
The skill is not always-included and does not request persistent system privileges. However, it can be invoked autonomously (platform default). Combined with SMTP credentials, autonomous access would allow the skill to send emails without further user confirmation — a non-trivial risk that depends on how the platform governs autonomous tool invocation and secret usage.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install x-to-kindle
  3. After installation, invoke the skill by name or use /x-to-kindle
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.1
x-to-kindle 0.1.1 Changelog - Initial release: Send X/Twitter posts and threads to Kindle devices for distraction-free reading. - Fetches tweet content via fxtwitter API and formats as Kindle-compatible HTML attachment. - Supports sending via Gmail SMTP with configurable variables for ease of setup. - Includes example workflow and configuration instructions for rapid deployment.
v0.1.0
- Initial release of x-to-kindle: send X/Twitter posts to your Kindle for distraction-free reading - Supports extracting tweets/threads from X/Twitter URLs using the fxtwitter API - Formats content as Kindle-friendly HTML attachments for reliable delivery - Includes SMTP/Gmail integration for automated sending to your Kindle device - Simple tool: `send_to_kindle` for sending local files (PDF, HTML, TXT) via email
Metadata
Slug x-to-kindle
Version 0.1.1
License
All-time Installs 1
Active Installs 1
Total Versions 2
Frequently Asked Questions

What is 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. It is an AI Agent Skill for Claude Code / OpenClaw, with 1386 downloads so far.

How do I install X To Kindle?

Run "/install x-to-kindle" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is X To Kindle free?

Yes, X To Kindle is completely free (open-source). You can download, install and use it at no cost.

Which platforms does X To Kindle support?

X To Kindle is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created X To Kindle?

It is built and maintained by brianlu365ai (@brianlu365ai); the current version is v0.1.1.

💬 Comments