
Ni book downloader
Finds and downloads ebooks by title, choosing text or PDF formats with integrity checks
Ni book downloader is an open-source agent skill for files and documents. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- Python
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 10
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Ni book downloader
This skill searches for a book by title and saves the file into a folder you choose. It separates reflowable text formats (epub, mobi, azw3, fb2, txt) from fixed-layout PDFs, and it asks which format you want before it starts searching. Without a stated preference, any format is allowed and the best match is chosen, with epub preferred.
The skill works through a chain of sources ordered so that free, account-less channels come first. It starts with a local cached index of Chinese ebooks, then LibGen, then Z-Library through a logged-in Chrome session, then Anna's Archive, and finally a general web search if nothing else turns up. Candidates are filtered to drop book summaries and study guides, and each downloaded file is checked against its format's file signature before it is kept. Helper scripts handle search, download, batch runs, quota checks and text extraction from PDFs.
It expects Python 3.10 or later with requests, websocket-client and pymupdf installed, plus a Chrome or Chromium-based browser for the sources that need one. Z-Library needs a free account that the user signs into personally, and the skill never asks for passwords. Cloud-drive links found during web search are returned to the user rather than opened.
When your agent uses it
按书名下载电子书,区分文字版(epub/mobi/azw3/fb2/txt)与版式版(pdf):指定 PDF 则只下 PDF,指定文字版则只下文字格式,**未指定格式时全量格式允许**(自动选最优,优先 epub)。搜索前可先确认书名、格式偏好和目标目录。渠道按免配额优先:GitHub 电子书索引/城通网盘 → LibGen(免账号)→ Z-Library(配套 Chrome 登录,免费账号每日约 10 本)→ Anna's Archive(慢速免费),全部没有时自动全网搜索(网盘链接交用户、直接文件链接自动下载);只有 PDF 而用户要文字版时用 PDF 文字层提取兜底。用户说"下载电子书""找书下载""帮我下这本书""book download"时触发。
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Runs Python scripts(see the files on GitHub)
- Network calls found in its scripts(see the files on GitHub)
- License: MIT(see the files on GitHub)
From a static check of its 18 files (103 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the ni-skill plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add ttttstc/ni-skill
/plugin install ni-skill@ni-skillOr copy only this skill to ~/.claude/skills/ni-book-downloader:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ttttstc/ni-skill.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/ni-book-downloader &&
cp -R "$tmp/skills/ni-book-downloader" ~/.claude/skills/ni-book-downloader &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/ni-book-downloader inside it instead.
Copy the skill folder to ~/.agents/skills/ni-book-downloader to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ttttstc/ni-skill.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/ni-book-downloader &&
cp -R "$tmp/skills/ni-book-downloader" ~/.agents/skills/ni-book-downloader &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/ni-book-downloader inside it instead.
Copy the skill folder to ~/.cursor/skills/ni-book-downloader to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ttttstc/ni-skill.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/ni-book-downloader &&
cp -R "$tmp/skills/ni-book-downloader" ~/.cursor/skills/ni-book-downloader &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/ni-book-downloader inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/ttttstc/ni-skill.git --path skills/ni-book-downloaderOr copy the folder to ~/.gemini/skills/ni-book-downloader yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/ni-book-downloader:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ttttstc/ni-skill.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/ni-book-downloader &&
cp -R "$tmp/skills/ni-book-downloader" ~/.copilot/skills/ni-book-downloader &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/ni-book-downloader inside it instead.
Get the folder:
git clone --depth 1 https://github.com/ttttstc/ni-skill.gitThen copy ni-skill/skills/ni-book-downloader into your agent's skills folder as ni-book-downloader. Agents that support SKILL.md read one folder per skill.
What it does
- Format preference check
- Asks whether the user wants text formats, PDF, or any format before searching begins.
- Prioritized source chain
- Tries free sources first and falls back to Z-Library and web search only when needed.
- File signature validation
- Confirms each downloaded file matches its format header and size before keeping it.
- Candidate listing
- Lists matching editions with format, size, year and source so the user can choose one.
- Batch downloads
- Processes a manifest of titles and writes a JSON report of results.
- PDF text extraction
- Pulls the text layer from digital PDFs when only a PDF exists but text is needed.
Good for
- Download an epub copy of a specific book by title
- Find a PDF version of a technical book for printing
- Batch download a list of titles from a manifest file
- Extract text from a digital PDF for search or summarization
- Check which Z-Library download quota remains today
Ni book downloader FAQ
What does the skill need before Ni book downloader can run?
Python 3.10 or later with requests, websocket-client and pymupdf installed, and a Chrome-based browser for the Z-Library and web search channels.
Does Ni book downloader ask for my Z-Library password?
No. You sign in yourself in the dedicated Chrome window it opens, and the skill does not handle passwords.
What happens when no source has the book?
It runs a general web search. Cloud-drive links are handed back to you to open, while direct file links are downloaded automatically.
Which formats does Ni book downloader accept when I do not specify one?
All formats are allowed, and the best one is picked with epub preferred over txt, pdf, then mobi or azw3.
How do I install Ni book downloader in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/ni-book-downloader to use it in all your projects, or to .claude/skills/ni-book-downloader in one project. Or install the ni-skill plugin, which includes it: /plugin marketplace add ttttstc/ni-skill, then /plugin install ni-skill@ni-skill.
Does Ni book downloader run scripts?
Yes. It runs Python scripts. Its scripts contain network calls. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Ni book downloader?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Ni book downloader?
The closest alternatives to Ni book downloader are Lit browser fetch, Baidu document parser, Acquire sources, Add to library and Datasheet interpreter.
Where this comes from
- Description: from the skill's own SKILL.md.
More from ttttstc/ni-skill

Deepens a prompt or task to expert standard without expanding its scope
- Open source
- 10 GitHub stars
- Productivity

Exports full Douyin creator transcripts to local Markdown files, one per video
- Open source
- 10 GitHub stars
- Files and documents

Turns a subject into reviewed multi-view images and a textured GLB 3D model
- Open source
- 10 GitHub stars
- Design and media

Writes a single cover-image prompt for a reviewed WeChat article, without generating
- Open source
- 10 GitHub stars
- Writing style

Runs a staged workflow that takes a WeChat AI tech article from topic to a reviewed draft
- Open source
- 10 GitHub stars
- Writing style

Guides the agent through writing a full book, either mechanism-focused technical
- Open source
- 10 GitHub stars
- Writing style






