/zlib:kindlefrom Z-Library
Sends local ebooks to Kindle via the zlib CLI using SMTP. Handles configuration, delivery, and failure diagnosis.
Ships in Z-Library. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use zlib kindle send for a local file. It uses SMTP and does not need a
Z-Library login. If a book must be found or downloaded first, use the bundled
zlib skill.
zlib version succeeds and the requested file exists. If zlib is
missing, install it as described in the zlib skill. Resolve an
ambiguous file choice before sending. Reuse the user's existing choice.ZLIB_SMTP_PWD from its
environment and .env files; checking only the shell variable is insufficient.zlib kindle send "./books/book.epub"
Pass the actual file path. Bare zlib kindle and zlib kindle send open the file
picker; zlib kindle config opens delivery settings. Interactive sends share the
TUI confirmation, password, and result pages. Sending mail requires the user's request; an existing instruction to send
this file is sufficient, so do not ask for another confirmation.
In the TUI, a missing SMTP password opens a masked prompt after send confirmation.
It saves ZLIB_SMTP_PWD to the global .env and current process. Non-interactive
commands still require the variable or an existing .env entry before sending.
Report the CLI result and file name. SMTP success means the sending server accepted the message, not that the Kindle received it. After a timeout or uncertain result, check the failure before retrying to avoid duplicate messages.
| Result | Next action |
|---|---|
| Missing configuration or SMTP password | Follow setup; never request a password in chat |
| SMTP authentication rejected | Check sender account, provider authentication requirements and settings precedence |
| SMTP timeout / connection failure | Check the host, port and network; ZLIB_PROXY affects HTTP requests, not SMTP |
| Unsupported attachment | Report the CLI rejection; do not rename an extension to bypass validation |
| Attachment too large | Report the size error; encoding adds overhead to the SMTP message |
| Send succeeded, book missing | Check recipient, Amazon's approved sender list and any delivery response email |
The current CLI validates file types and size before sending. It rejects MOBI.
From v0.0.11, smtp_security selects tls (SSL/TLS on connect) or starttls.
When it is empty, port 465 means tls and any other port means starttls.
Earlier versions support only STARTTLS (check zlib version). TLS is always
required: a server without STARTTLS fails before login. SMTP errors name the
host, the port and the mode, and suggest the other mode when the failure looks
like a mismatch. Do not guess SMTP settings from the email domain or promise that
switching ports will fix an error.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
3 skills in this plugin
/metadataFix the metadata of a local e-book (EPUB, FB2, DOCX, MOBI, AZW3, PDF) with zlib - read what the file holds, look the book up in online catalogues, choose which fields to take, write them and rename the file. Use for a wrong or missing title, author, ISBN, series, publisher, date, language, cover or file name. Works through the zlib MCP tools or the zlib CLI./zlibSearch and download Z-Library books, browse saved books and recommendations, inspect download history or account quota, and diagnose domain connectivity through the zlib CLI. For fixing local e-book metadata, use the bundled metadata skill; for sending a local file to Kindle, the bundled kindle skill.npx claudepluginhub heartleo/zlib --plugin zlibOther plugins' skills for the same job