ebook

ebook is a skill for Claude Code from natthasath/natthasath-marketplace. It costs 102 tokens per session (1,631 once invoked), scanned A, original, MIT.

A tool for finding and downloading PDF books or documents from legal, trustworthy internet sources.

In plain words
What is it for?
Use it when you want to find a PDF, download one from a provided link, or change the folder used for downloads.
Why use it?
It helps avoid incorrect files and sources that may not have permission to distribute the document, while remembering where downloads should be saved.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the productive plugin — 16 skills shipped together

Good fit Use it when you want to find a PDF, download one from a provided link, or change the folder used for downloads.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/natthasath/natthasath-marketplace/ebook
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add natthasath/natthasath-marketplace --skill ebook
Clone the repo
git clone --depth 1 https://github.com/natthasath/natthasath-marketplace

Made for: Claude Code.

Or install productive, the plugin that ships this one along with the rest of its 16 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ebook

README.md
[![agentmods](https://agentmods.dev/badge/skills/natthasath/natthasath-marketplace/ebook/github.svg)](https://agentmods.dev/skills/natthasath/natthasath-marketplace/ebook)
Your own site
<a href="https://agentmods.dev/skills/natthasath/natthasath-marketplace/ebook"><img src="https://agentmods.dev/badge/skills/natthasath/natthasath-marketplace/ebook/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ebook

Your own site · 80×15
<a href="https://agentmods.dev/skills/natthasath/natthasath-marketplace/ebook"><img src="https://agentmods.dev/badge/skills/natthasath/natthasath-marketplace/ebook.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,631 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00102 $0.01631
Opus 5 $0.00051 $0.00816
Sonnet 5 $0.00020 $0.00326
Haiku 4.5 $0.00010 $0.00163

Measured 11d ago against content hash 3a9f941b634e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

ebook scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/productive/skills/ebook/SKILL.md · 102 lines

How it starts

The opening of the file, as written. The whole thing — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.

บทบาท:

คุณทำหน้าที่เป็นผู้เชี่ยวชาญด้านการค้นหาและจัดเก็บเอกสาร PDF โดยใช้ Browser/Web Tools เพื่อค้นหาและดาวน์โหลดไฟล์จากแหล่งที่น่าเชื่อถือและถูกต้องตามกฎหมายเท่านั้น

การดาวน์โหลดที่ดีไม่ใช่แค่หาให้เจอ แต่ต้องมั่นใจว่าแหล่งที่มาเชื่อถือได้ ไฟล์ถูกต้อง และมีสิทธิ์เผยแพร่ได้จริง — เพราะไฟล์ที่มาจากแหล่งไม่ชัดเจนมีความเสี่ยงทั้งด้านความถูกต้องและความปลอดภัย

รูปแบบ:

การจัดการ Download Path

Config File

บันทึก path ที่ผู้ใช้กำหนดไว้ที่: ~/.config/claude-ebook/settings.json

รูปแบบ:

{
  "download_path": "/path/to/folder"
}

ขั้นตอนตรวจสอบ path (ทำก่อนดาวน์โหลดทุกครั้ง)

  1. อ่านไฟล์ ~/.config/claude-ebook/settings.json
  2. ถ้า ไม่มีไฟล์ (ใช้ครั้งแรก) → ถามผู้ใช้ว่าต้องการบันทึกไฟล์ที่ folder ไหน พร้อมบอก default ว่า ~/Downloads/ แล้ว สร้าง config file บันทึก path ที่เลือก จากนั้นดำเนินการดาวน์โหลดต่อ
  3. ถ้า มีไฟล์แล้ว → ใช้ download_path จาก config โดยตรง ไม่ต้องถามซ้ำ
  4. ถ้าผู้ใช้ระบุ path ในข้อความ (เช่น "โหลดไปไว้ที่ D:/Books") → ใช้ path นั้นสำหรับการดาวน์โหลดครั้งนี้เท่านั้น ไม่ overwrite config

เปลี่ยน Download Path

trigger เมื่อผู้ใช้พูดถึง: "เปลี่ยน folder", "เปลี่ยน path", "set download path", "บันทึกที่ใหม่", "ย้าย folder download" หรือคล้ายกัน

ขั้นตอน:

  1. แสดง path ปัจจุบันจาก config (ถ้ามี)
  2. ถามว่าต้องการเปลี่ยนเป็น path ใด
  3. อัปเดต ~/.config/claude-ebook/settings.json ด้วย path ใหม่
  4. ยืนยันว่าเปลี่ยนสำเร็จและแสดง path ใหม่

การดาวน์โหลด

ทำงานตาม 2 กรณี:

กรณีที่ 1: ผู้ใช้ระบุชื่อหนังสือหรือเอกสาร

  1. ตรวจสอบ download path ตามขั้นตอนข้างต้นก่อน
  2. ค้นหาด้วย Web Tools โดยใช้คำค้นที่เหมาะสม เช่น "[ชื่อ]" filetype:pdf site:edu หรือ "[ชื่อ]" free PDF official
  3. พิจารณาแหล่งที่น่าเชื่อถือก่อนเสมอ:
    • เว็บไซต์ผู้จัดพิมพ์หรือผู้เขียนโดยตรง
    • มหาวิทยาลัย องค์กร หรือหน่วยงานราชการ
    • คลังเอกสารสาธารณะ เช่น archive.org, research papers, open access journals
  4. ตรวจสอบว่าไฟล์เข้าถึงได้จริงก่อนดาวน์โหลด
  5. ดาวน์โหลดและบันทึกไฟล์ไปที่ download path ที่กำหนด

กรณีที่ 2: ผู้ใช้แนบ URL มาให้

  1. ตรวจสอบ download path ตามขั้นตอนข้างต้นก่อน
  2. ตรวจสอบว่า URL เข้าถึงได้และเป็นลิงก์ PDF จริง
  3. ดาวน์โหลดโดยตรงจาก URL นั้นไปที่ download path ที่กำหนด

Read the full file on GitHub · 102 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 102 lines · 102 tokens per session scan A 3a9f941b634e

Subscribe to this mod's changes

ebook is a skill published in the GitHub repository natthasath/natthasath-marketplace (1 stars, last pushed 3d ago), licensed MIT. It adds 102 tokens to every session and 1,631 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

pdf

Comprehensive PDF manipulation, extraction, and generation with support for text extraction, form filling, merging, splitting, annotations, and creation. Use when working with .pdf files for: (1) Extracting text and tables, (2) Filling PDF forms, (3) Merging/splitting PDFs, (4) Creating PDFs programmatically, (5)…

AutumnsGrove/ClaudeSkills · 87 tokens

pydicom

Use pydicom to read, inspect, write, transform, and safely preflight local DICOM datasets and pixel data. Applies to DICOM metadata, transfer syntaxes, compression plugins, frames, private elements, JSON, and bounded de-identification review.

K-Dense-AI/scientific-agent-skills · 56 tokens

liteparse

Local document and PDF parsing that returns spatial text with bounding boxes. Use for extracting text from PDFs, DOCX, Office files, and images; running OCR on scans; producing layout-preserved JSON for RAG; batch-ingesting folders of papers; or rendering pages to PNG for multimodal agents. Distinguishing capabilities…

K-Dense-AI/scientific-agent-skills · 86 tokens

markitdown

Convert heterogeneous documents and selected URIs to Markdown with Microsoft MarkItDown for text analysis, search, and LLM/RAG ingestion. Covers safe local conversion, streams, Office/PDF/data formats, batch workflows, plugins, vision OCR, Azure extraction, and the official MCP server.

K-Dense-AI/scientific-agent-skills · 61 tokens

open-notebook

Self-hosted, open-source alternative to Google NotebookLM for AI-powered research and document analysis. Use when organizing research materials into notebooks, ingesting diverse content sources (PDFs, videos, audio, web pages, Office documents), generating AI-powered notes and summaries, creating multi-speaker…

K-Dense-AI/scientific-agent-skills · 123 tokens

pptx-posters

Create and audit editable scientific posters in macro-free PowerPoint (.pptx) from author-approved local content and assets. Use when the requested deliverable is a PowerPoint research/conference poster and exact physical, printer, accessibility, provenance, and package-security checks are required.

K-Dense-AI/scientific-agent-skills · 59 tokens