ebook-dl

Finds legally distributable PDF ebooks and saves them to Google Drive via Apps Script.

1|Updated Jun 29, 2026
One-click install
npx skills add https://github.com/natthasath/natthasath-marketplace --skill ebook-dl-natthasath
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: ebook-dl
Source: https://github.com/natthasath/natthasath-marketplace/tree/main/plugins/drive/skills/ebook-dl
Command: npx skills add https://github.com/natthasath/natthasath-marketplace --skill ebook-dl-natthasath

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Downloading ebooks or PDF documents from the web and organizing them into Google Drive normally requires manual searching, copyright checking, downloading, and uploading. This Skill automates the entire pipeline: it searches for legally distributable sources, verifies distribution rights, and triggers a user-deployed Google Apps Script to fetch the file directly into a Drive folder — the file bytes never pass through the AI. ## Core Features & Use Cases - Legal source verification: Searches publisher sites, universities, and public archives (e.g., archive.org, open access journals) and strictly refuses pirated sources like Scribd or infringing download sites. - Zero-click Drive delivery: Uses a Drive-based job queue (_queue.json) processed by an Apps Script time trigger, so files land in Google Drive automatically without the user clicking anything; falls back to a one-click link when the queue is unavailable. - Book list tracking: Maintains a book-list.md file in the Drive folder recording every request with status (Downloaded / Not Available / Failed), source, and file size. - Use Case: A user pastes a book cover photo and says "find this book and keep it in Drive" — the Skill reads the title from the cover, finds a legitimate PDF source, queues the download, and confirms with a Drive link about a minute later. ## Quick Start Invoke /drive:ebook-dl with a book title, a PDF URL, or an attached cover image, for example by asking to find "Clean Code" as a PDF and save it into your Google Drive folder.

Frequently Asked Questions about ebook-dl

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically save PDF ebooks to Google Drive?▼

Deploy the provided Google Apps Script as a web app, then invoke the skill with a book title or PDF URL. The script fetches the file server-side with UrlFetchApp and saves it to your Drive folder via DriveApp, so no manual download or upload is needed.

How does the Google Apps Script download queue work?▼

The skill writes a job entry into a _queue.json file in your Drive folder through the Drive MCP connector. A time-based Apps Script trigger (installed via installTrigger) reads the queue every minute, fetches pending URLs, saves files to Drive, and writes back the status.

Can it download any ebook or PDF found online?▼

No. It only downloads from sources with clear distribution rights, such as publisher sites, universities, government agencies, and public archives. Sources like Scribd, dokumen.pub, or sites selling infringing copies are refused and recorded as Not Available.

Why does calling the Apps Script URL fail with a 403 or timeout?▼

In sandboxed environments like Cowork, the script.google.com domain is blocked at the network proxy, so the request never reaches Google. This is not a deployment problem; the fix is enabling the Drive Queue mode by running installTrigger once in the Apps Script editor.

What are the file size limits for Apps Script downloads?▼

UrlFetchApp on a standard Google account can fetch files up to roughly 50MB per request, with a 6-minute execution limit. Larger files, such as high-resolution scans, must be downloaded manually and uploaded to Drive by the user.

Does the configuration persist across chat sessions?▼

The local config file at ~/.config/claude-ebook-dl/settings.json exists only within the current session. Persistent memory at /areas/ebook-dl.md can restore the Apps Script URL and secret across sessions, but the secret is stored there only if the user explicitly asks for it to be remembered.