book-init

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

A command that creates the initial files and folders for a new book project, including chapters, sources, and supporting material.

In plain words
What is it for?
For starting a book manuscript with a chapter list, source index, configuration, and other expected project files.
Why use it?
It removes the need to build the book project's directory structure by hand and gathers basic publishing details first.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: positional $N argument.

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

Good fit For starting a book manuscript with a chapter list, source index, configuration, and other expected project files.

Compare 6 commands from other repositories ↓
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-init

README.md
[![agentmods](https://agentmods.dev/badge/commands/fullo/claude-writing-assistant-skill/book-init.svg)](https://agentmods.dev/commands/fullo/claude-writing-assistant-skill/book-init)
Your own site
<a href="https://agentmods.dev/commands/fullo/claude-writing-assistant-skill/book-init"><img src="https://agentmods.dev/badge/commands/fullo/claude-writing-assistant-skill/book-init.svg" alt="Measured on agentmods" height="20"></a>
Per session 9 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,295 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.00009 $0.01295
Opus 5 $0.00005 $0.00647
Sonnet 5 $0.00002 $0.00259
Haiku 4.5 $0.00001 $0.00129

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

Security

Grade A, and why

book-init 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 6d 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-init.md · 125 lines

How it starts

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

Crea la struttura completa per un nuovo progetto libro.

Il nome del libro è $1. Creare la directory all'interno della directory corrente (che dovrebbe essere la root libri/ o analoga).

Configurazione iniziale

Prima di creare i file, chiedere all'utente (se non specificato nel comando):

  1. Titolo completo del libro
  2. Autore (nome e affiliazione)
  3. Lingua del libro (default: italiano)
  4. Piattaforma di pubblicazione (default: LeanPub/Markua)
  5. Serie (opzionale — lasciare vuoto se libro singolo)
  6. Tono target (default: conversazionale-esperto)

Se l'utente non specifica un valore, usare i default indicati. Se l'utente fornisce tutto nel comando, procedere senza chiedere.

Struttura da creare

A livello serie (directory corrente):

libri/
├── cross-reference.md             ← mappa cross-reference (creato se non esiste e se c'è una serie)
└── $1/
    ├── capitoli/                  ← manuscript (LeanPub o altro)
    │   └── book.txt               ← elenco capitoli (vuoto, da compilare)
    ├── fonti/                     ← fonti di riferimento
    │   └── fonti.md               ← indice fonti
    ├── assets/                    ← materiale di supporto
    │   ├── images/                ← immagini e screenshot
    │   ├── exercises/             ← JSON esercizi, carte
    │   └── templates/             ← template, canvas
    ├── book-config.md             ← metadati e configurazione del libro
    └── stato-libro.md             ← generato automaticamente da /book-status

File da popolare

book.txt

Creare vuoto con un commento:

# Elenco capitoli — aggiungere un file .md per riga
# Esempio:
# ch01-introduzione.md
# ch02-hook.md

fonti/fonti.md

# Fonti di riferimento — $1

Nessuna fonte ancora indicizzata. Usare `/book-source [file-o-url]` per aggiungere fonti.

book-config.md

Leggere il template da ${CLAUDE_PLUGIN_ROOT}/skills/book-coherence/references/book-config-template.md e generare un book-config.md con la struttura completa. Pre-compilare con i valori forniti dall'utente (o i default):

  • Serie: [valore utente, o vuoto se non specificato]
  • Autore: [valore utente]
  • Lingua: [valore utente, default: italiano]
  • Piattaforma: [valore utente, default: LeanPub (Markua)]
  • Stato: bozza
  • Tono target: [valore utente, default: conversazionale-esperto]

Read the full file on GitHub · 125 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. 6d ago First seen · 125 lines · 9 tokens per session scan A d0f10d1b6644

Subscribe to this mod's changes

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