book-source

book-source is a command for Claude Code from fullo/claude-writing-assistant-skill. It costs 13 tokens per session (1,075 once invoked), scanned A, original, MIT.

A book-project command for adding and managing reference materials such as PDFs, text files, Markdown files, and web pages.

In plain words
What is it for?
Use it to add sources to a book project, extract or read their content, summarize them, and note which chapters they may support.
Why use it?
It keeps source materials in one indexed folder and records what each source contains. This avoids manually organizing references and summaries.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the writing-assistant plugin — 3 skills, 6 commands, 3 agents, 1 hook shipped together

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add fullo/claude-writing-assistant-skill
Claude Code
/plugin install writing-assistant

Made for: Claude Code.

Or install writing-assistant, the plugin that ships this one along with the rest of its 3 skills, 6 commands, 3 agents, 1 hook.

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 book-source

README.md
[![agentmods](https://agentmods.dev/badge/commands/fullo/claude-writing-assistant-skill/book-source.svg)](https://agentmods.dev/commands/fullo/claude-writing-assistant-skill/book-source)
Your own site
<a href="https://agentmods.dev/commands/fullo/claude-writing-assistant-skill/book-source"><img src="https://agentmods.dev/badge/commands/fullo/claude-writing-assistant-skill/book-source.svg" alt="Measured on agentmods" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,075 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00013 $0.01075
Opus 5 $0.00006 $0.00537
Sonnet 5 $0.00003 $0.00215
Haiku 4.5 $0.00001 $0.00108

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

Security

Grade A, and why

book-source 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 5d 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.

commands/book-source.md · 94 lines

How it starts

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

Gestisci le fonti di riferimento per il libro corrente. Le fonti vengono salvate nella directory fonti/ del progetto libro e indicizzate in fonti/fonti.md.

Struttura progetto attesa

nome-libro/
├── capitoli/          ← manuscript (LeanPub o altra piattaforma)
├── fonti/             ← fonti di riferimento
│   ├── fonti.md       ← indice fonti
│   ├── documento.pdf
│   └── url-slug.md
├── assets/
└── book-config.md

Cercare la directory fonti/ risalendo dalla directory corrente. Se non trovata, verificare se esiste una directory di progetto libro riconoscibile (con capitoli/ e/o book-config.md).

Se il primo argomento è un file (PDF, TXT, MD)

  1. Verificare che la directory fonti/ esista. Se non esiste, crearla.
  2. Copiare il file in fonti/.
  3. Leggere il contenuto del file:
    • Per PDF: estrarre il testo e generare un riassunto strutturato
    • Per TXT/MD: leggere il contenuto
  4. Aggiungere un'entry in fonti/fonti.md con:
    • Nome file
    • Data di aggiunta
    • Descrizione (fornita dall'utente o generata dal contenuto)
    • Temi principali estratti
    • Capitoli potenzialmente rilevanti (se il libro ha già dei capitoli in capitoli/)

Se il primo argomento è un URL

  1. Verificare che la directory fonti/ esista. Se non esiste, crearla.
  2. Usare WebFetch per leggere il contenuto della pagina.
  3. Salvare un file fonti/url-[slug].md con:
    • URL originale
    • Data di accesso
    • Contenuto rilevante estratto (NON copiare integralmente — rispettare copyright)
    • Riassunto dei punti chiave
  4. Aggiungere un'entry in fonti/fonti.md.

Se nessun argomento viene fornito

Mostrare l'elenco delle fonti indicizzate in fonti/fonti.md con:

  • Nome, tipo, data di aggiunta
  • Temi principali
  • Stato di integrazione (citata nel testo / non ancora usata)

Per verificare lo stato di integrazione, cercare nel testo dei capitoli in capitoli/ riferimenti a ciascuna fonte.

Formato di fonti/fonti.md

# Fonti di riferimento — [Nome libro]

## [Nome fonte 1]
- **Tipo:** PDF / TXT / URL
- **File:** fonti/nome-file.pdf
- **Data aggiunta:** YYYY-MM-DD
- **Descrizione:** Breve descrizione del contenuto
- **Temi:** tema1, tema2, tema3
- **Capitoli rilevanti:** Cap N, Cap M
- **Stato:** Non ancora integrata / Citata in Cap N

## [Nome fonte 2]
...

Read the full file on GitHub · 94 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. 5d ago First seen · 94 lines · 0 tokens per session scan A 8d7f2116292b

Subscribe to this mod's changes

book-source is a command published in the GitHub repository fullo/claude-writing-assistant-skill (2 stars, last pushed 4mo ago), licensed MIT. It adds 13 tokens to every session and 1,075 once invoked, about $0.0001 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.