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.
npx skills add timurgaleev/memex --skill book-mirrorgit clone --depth 1 https://github.com/timurgaleev/memexWrote 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.
[](https://agentmods.dev/skills/timurgaleev/memex/book-mirror)<a href="https://agentmods.dev/skills/timurgaleev/memex/book-mirror"><img src="https://agentmods.dev/badge/skills/timurgaleev/memex/book-mirror.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00071 | $0.03275 |
| Opus 5 | $0.00036 | $0.01638 |
| Sonnet 5 | $0.00014 | $0.00655 |
| Haiku 4.5 | $0.00007 | $0.00328 |
Grade A, and why
book-mirror 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 7d 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.
How it starts
The opening of the file, as written. The whole thing — 349 lines — stays where its author put it; the contents beside it link to each section on GitHub.
book-mirror — Personalized Chapter-by-Chapter Book Analysis
Convention: see
_brain-filing-rules.md(viaget_skill _brain-filing-rules) for the sanctionedmedia/<format>/<slug>exception this skill files under.Convention: see conventions/quality.md (via
get_skill conventions/quality) for citation rules, back-link enforcement, and output quality bars.Convention: see conventions/brain-first.md (via
get_skill conventions/brain-first) for the lookup chain (brain → search → external) the context-gathering phase follows.
What this does
Given a book (EPUB or PDF), produce a brain page where every chapter is
summarized in detail on the left and mirrored back to the reader's actual life
on the right, using their own words, situations, people, and patterns from
the brain. Output is a brain page at media/books/<slug>-personalized.
This is NOT a generic book summary. The right column is the value: it makes the book read like a therapist who knows the reader is leaving notes in the margins. If the user wants a flat summary instead, route them to a different skill.
Trust contract (read this before running)
book-mirror is an orchestration the agent runs itself, with a strict trust narrowing on the fan-out:
- The orchestrating agent spawns N read-only chapter subagents (one per
chapter) via its own subagent mechanism (e.g. the Task tool). Each chapter
subagent is allowed
page_getandsearchONLY. They CANNOT callpage_putor any mutating tool. They produce markdown analysis via their final message. - The orchestrator reads each subagent's result, assembles the final
two-column page, and writes it via a single trusted
page_put. - This means untrusted EPUB/PDF content cannot prompt-inject any
people/*page. The trust narrowing happens at the tool allowlist, not at the slug-prefix layer.
The pipeline
1. ACQUIRE → User has the EPUB/PDF locally (manual; book acquisition is
deliberately not part of this skill — see "Acquiring the
book" below).
2. EXTRACT → Pull chapter text from EPUB/PDF into one .txt per chapter.
3. CONTEXT → Gather everything the brain knows about the reader.
4. ANALYZE → Fan out N read-only chapter subagents.
5. ASSEMBLE → Orchestrator reads each result and writes one page_put.
6. PDF → Optional: render via skills/brain-pdf for delivery.
What ships with it
1 file 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.
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.
- 7d ago First seen · 349 lines · 71 tokens per session scan A 21ebae5370e2
book-mirror is a skill published in the GitHub repository timurgaleev/memex (8 stars, last pushed 5d ago), licensed MIT. It adds 71 tokens to every session and 3,275 once invoked, about $0.0004 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.
Other skills, from other repositories
pptx-import
A method for adding an uploaded PowerPoint presentation to an existing classroom as extra pages while keeping the slides' original layout. PowerPoint is Microsoft's presentation file format.
pdf-processing
Extract text from PDFs, fill forms, and merge documents.
liteparse
Use this skill when the user asks to parse, perform multi-format document conversion or spatially extract text from an unstructured file (PDF, DOCX, PPTX, XLSX, images, etc.) locally without cloud dependencies.
treatment-plans
Generate concise (3-4 page), focused medical treatment plans in LaTeX/PDF format for all clinical specialties. Supports general medical treatment, rehabilitation therapy, mental health care, chronic disease management, perioperative care, and pain management. Includes SMART goal frameworks, evidence-based…
markitdown
Convert files and office documents to Markdown. Supports PDF, DOCX, PPTX, XLSX, images (with OCR), audio (with transcription), HTML, CSV, JSON, XML, ZIP, YouTube URLs, EPubs and more.
exam-study-guide
A study-guide builder for a completed exam chapter that has not yet passed its required checks. It creates a structured teaching checklist and, in full mode, a self-contained HTML and printable PDF guide with readable formulas, visible images, explanations, examples, and answers.