Skip to content
Back to skills

Send To Kindle

ASecurity

Optionally deliver an EPUB e-book to a user's Kindle using safe, ToS-compliant adapters (zero-config Amazon Send-to-Kindle web handoff, automated SMTP email to @kindle.com, macOS Send to Kindle.app / Mail.app, or Resend API). Use when the user explicitly asks to send or email an EPUB to their Kindle or wants to configure Kindle delivery.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
ai-agentspythonshellbashapisecurity

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned December 4, 2026

npx -y skills add mrmike/md2kindle --skill send-to-kindle --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Send To Kindle?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Send To Kindle
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mrmike-send-to-kindle/badge)](https://www.skillsdirectory.com/skills/mrmike-send-to-kindle)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: send-to-kindle
description: >-
  Optionally deliver an EPUB e-book to a user's Kindle using safe,
  ToS-compliant adapters (zero-config Amazon Send-to-Kindle web handoff,
  automated SMTP email to @kindle.com, macOS Send to Kindle.app / Mail.app,
  or Resend API). Use when the user explicitly asks to send or email an EPUB
  to their Kindle or wants to configure Kindle delivery.
license: Apache-2.0
compatibility: >-
  Requires Python 3.9+ (stdlib only; zero required dependencies). Network
  access required for smtp and resend adapters; macOS required for app and
  mailapp adapters.
metadata:
  author: md2kindle
  version: "1.0.0"
---

# Send EPUB to Kindle (Optional Delivery Skill)

Deliver a local `.epub` file to a Kindle using pluggable, zero-dependency, ToS-compliant adapters.

## Security Rules (Mandatory)

- **Never** pass passwords or API keys as CLI arguments (they leak in shell history and process lists).
- **Never** write secrets into `config.json` or any repository file.
- Secrets must come **only** from environment variables (`KINDLE_SMTP_PASSWORD`, `RESEND_API_KEY`) or the user's OS Keychain (`security` on macOS, `secret-tool` on Linux).
- Always confirm with the user before actually sending an email (`--dry-run` is safe to run first).

## Procedure

1. **Check current delivery configuration**
   Run [scripts/send_to_kindle.py](./scripts/send_to_kindle.py):
   ```bash
   python3 scripts/send_to_kindle.py status
   ```

2. **Choose the right adapter**
   - **Zero setup / files > 18 MB (up to 200 MB)**: Use `web` (opens `https://www.amazon.com/sendtokindle` and reveals the EPUB file in Finder/Explorer for drag-and-drop).
   - **Fully automated headless delivery**: Use `smtp` (sends directly to `<user>@kindle.com` via Gmail, Fastmail, iCloud, or custom SMTP).
     - If not configured yet, guide the user to run `python3 scripts/send_to_kindle.py setup` interactively (takes <2 minutes) or read [references/delivery-setup.md](./references/delivery-setup.md).
     - Verify credentials with `python3 scripts/send_to_kindle.py test` (checks SMTP login without sending email).
   - **Zero stored secrets on macOS**: Use `app` (`Send to Kindle.app`) or `mailapp` (opens a pre-filled Mail.app draft with attachment).
   - **CI / blocked SMTP ports (verified custom domain)**: Use `resend` with `RESEND_API_KEY`.

3. **Dry-run and send**
   ```bash
   # Preview adapter, size limit check, and recipient
   python3 scripts/send_to_kindle.py send <book.epub> --dry-run

   # Deliver (auto selects configured mode, or pass --method web|smtp|app|mailapp|resend)
   python3 scripts/send_to_kindle.py send <book.epub>
   ```

## Troubleshooting

- If an EPUB exceeds the SMTP provider's safe raw cap (e.g., `18 MB` on Gmail, `14 MB` on iCloud, `48 MB` on Fastmail), switch to `--method web` (200 MB limit).
- If Amazon sends a manual "Verify Request" email every time, check [references/delivery-setup.md](./references/delivery-setup.md) for the **prefix similarity fix** (ensure the prefix before `@kindle.com` differs from the sender prefix).

Files in this skill

  • SKILL.md3 KB
  • agents/openai.yaml248 B
  • references/delivery-setup.md2.3 KB
  • scripts/send_to_kindle.py23.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.