zlib2k-cli

Search Z-Library for books, download them, and send to your Kindle.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "zlib2k-cli" with this command: npx skills add semihum/zlibrary2kindle

ZLibrary2Kindle

Search Z-Library for books, download (EPUB preferred), and send to your Kindle via email.

Prerequisites

  1. ZLibrary account — email and password
  2. Kindle email whitelisted — Add sender in Amazon account settings
  3. Gmail App Password — Required for Gmail SMTP with 2FA

Setup

# Simplest — no install needed
uvx zlibrary2kindle --help

# Or install locally
pip install zlibrary2kindle
z2k --help

# Set environment variables
export ZLIBRARY_EMAIL="your@email.com"
export ZLIBRARY_PASSWORD="your-password"
export KINDLE_EMAIL="your-name@kindle.com"
export SENDER_EMAIL="your@email.com"
export SENDER_PASSWORD="xxxx xxxx xxxx xxxx"  # Gmail App Password

Tools

zlibrary_login

Authenticate to ZLibrary. Session cookies are saved to ~/.cache/zlibrary2kindle/session.json and reused automatically.

uvx zlibrary2kindle login
# or after install: z2k login

zlibrary_search

Search for books by title, author, ISBN, etc.

uvx zlibrary2kindle search "Python programming"
# or after install: z2k search "随园食单" --limit 5

Returns: list of books with book_id for use in download.

zlibrary_download

Download a book by its book_id (from search results).

uvx zlibrary2kindle download w8n2rz2N8Q
# or after install: z2k download <book_id>

Files saved to /tmp/zlibrary2kindle/downloads/.

kindle_send_email

Send a downloaded book to your Kindle.

uvx zlibrary2kindle send /path/to/book.epub "Book Title"
# or after install: z2k send /path/to/book.epub "Book Title" --to your@kindle.com

File is deleted after sending.

Quick workflow

# 1. Login (once)
uvx zlibrary2kindle login

# 2. Search
uvx zlibrary2kindle search "随园食单"
# → [z9lRkJxQ8y] 随园食单 | [清]袁枚

# 3. Download
uvx zlibrary2kindle download z9lRkJxQ8y

# 4. Send to Kindle
uvx zlibrary2kindle send /tmp/zlibrary2kindle/downloads/随园食单.epub "随园食单"

MCP Mode

When Claude Code has this project's MCP server loaded, tools are available directly: zlibrary_login, zlibrary_search, zlibrary_download, kindle_send_email.

Configuration

VariableDescription
ZLIBRARY_EMAILZLibrary account email
ZLIBRARY_PASSWORDZLibrary account password
KINDLE_EMAILTarget Kindle email address
SENDER_EMAILSMTP sender email
SENDER_PASSWORDSMTP password or Gmail App Password
SMTP_HOSTSMTP server (default: smtp.gmail.com)
SMTP_PORTSMTP port (default: 587)

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Huo15 Openclaw Enhance

火一五·克劳德·龙虾增强插件 v5.7.8 — 全面适配 openclaw 2026.4.24:peerDep ^4.24 + build/compat 同步到 4.24 + 14 处 api.on 全部去掉 as any 改成 typed hook(hookName 联合类型 + handler 自动推断 Pl...

Registry SourceRecently Updated
General

Content Trend Analyzer

Aggregates and analyzes content trends across platforms to identify hot topics, user intent, content gaps, and generates data-driven article outlines.

Registry SourceRecently Updated
General

Prompt Debugger

Debug prompts that produce unexpected AI outputs — diagnose failure modes, identify ambiguity and conflicting instructions, test variations, compare model re...

Registry SourceRecently Updated
General

Indie Maker News

独行者 Daily - 变现雷达。读对一条新闻,少走一年弯路。每天5分钟,给创业者装上商业雷达。聚焦一人公司、副业、创业变现资讯,智能分类,行动导向。用户下载即能用,无需本地部署!

Registry SourceRecently Updated