ebook-ingest

ebook-ingest is a skill for Claude Code from tomcounsell/ai. It costs 51 tokens per session (2,963 once invoked), scanned A, original, GPL-3.0.

A process for finding, downloading, and preparing an ebook as clean Markdown for AI use. Markdown is plain text with simple formatting, and RAG is a method for giving an AI relevant source material when answering.

In plain words
What is it for?
It helps digitize owned print books and convert EPUB, PDF, or MOBI files into Markdown chunks for RAG.
Why use it?
It removes ebook formatting and breaks the content into cleaner material for AI ingestion.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit It helps digitize owned print books and convert EPUB, PDF, or MOBI files into Markdown chunks for RAG.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tomcounsell/ai/ebook-ingest
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 tomcounsell/ai --skill ebook-ingest
Clone the repo
git clone --depth 1 https://github.com/tomcounsell/ai

Made for: Claude Code.

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-ingest

README.md
[![agentmods](https://agentmods.dev/badge/skills/tomcounsell/ai/ebook-ingest/github.svg)](https://agentmods.dev/skills/tomcounsell/ai/ebook-ingest)
Your own site
<a href="https://agentmods.dev/skills/tomcounsell/ai/ebook-ingest"><img src="https://agentmods.dev/badge/skills/tomcounsell/ai/ebook-ingest/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-ingest

Your own site · 80×15
<a href="https://agentmods.dev/skills/tomcounsell/ai/ebook-ingest"><img src="https://agentmods.dev/badge/skills/tomcounsell/ai/ebook-ingest.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,963 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.00051 $0.02963
Opus 5 $0.00026 $0.01482
Sonnet 5 $0.00010 $0.00593
Haiku 4.5 $0.00005 $0.00296

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

Security

Grade A, and why

ebook-ingest scanned grade A with 1 finding 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 8d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/annas_get.py, scripts/clean_book.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| Download | `curl` / `wget` | `library/raw/<slug>.<ext>` |
.claude/skills/ebook-ingest/SKILL.md · 290 lines

The source is not reproduced here

Licensed GPL-3.0

The repository is licensed GPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 8d ago First seen · 290 lines · 51 tokens per session scan A b48d36e85264

Subscribe to this mod's changes

ebook-ingest is a skill published in the GitHub repository tomcounsell/ai (24 stars, last pushed yesterday), licensed GPL-3.0. It adds 51 tokens to every session and 2,963 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

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

azure-ai

Use for Azure AI: Search, Speech, OpenAI, Document Intelligence. Helps with search, vector/hybrid search, speech-to-text, text-to-speech, transcription, OCR. WHEN: AI Search, query search, vector search, hybrid search, semantic search, speech-to-text, text-to-speech, transcribe, OCR, convert text to speech.

microsoft/skills · 76 tokens

doc-parse

A document parser that converts PDFs, PowerPoint files, spreadsheets, and Word files into structured Markdown with metadata and a confidence score.

anbeime/skill · 43 tokens

edgeparse

Extract structured content from any PDF for AI agents, RAG pipelines, and Copilot Skills. Use this skill whenever the user wants to read, analyze, or reason about a PDF document; needs to feed document content to an LLM; mentions PDF extraction, parsing, or conversion; wants tables, headings, or bounding boxes from a…

pleaseai/claude-code-plugins · 0 tokens

ingest

Process unstructured documents into search-ready chunks. Use this skill when the user wants to process PDFs or unstructured documents into JSONL chunks using Docling. Activate even if the user says document processing, chunking, Docling, PDF processing, or chunk quality evaluation. For cloud-scale ingestion via OSIS…

opensearch-project/opensearch-agent-skills · 74 tokens

opendataloader-pdf

A tool for extracting structured content from PDF files, such as text, tables, formulas, and scanned pages. It can produce Markdown, JSON with page positions, or HTML for use in search and AI document systems.

chujianyun/skills · 137 tokens