ghostwriter

ghostwriter is a skill for Claude Code, Codex from djbelieny/nova. It costs 69 tokens per session (2,549 once invoked), scanned A, original, MIT.

A book-writing workflow that turns transcriptions, notes, interviews, outlines, or audio into a complete manuscript and exports it as a DOCX or PDF.

In plain words
What is it for?
Creating books with front matter, chapters, body text, and back matter, then preparing the manuscript for print or sharing.
Why use it?
It removes the need to turn scattered source material into a structured book by hand while keeping the author’s voice and approach consistent.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/djbelieny/nova/ghostwriter
Any agent
npx skills add djbelieny/nova --skill ghostwriter
Clone the repo
git clone --depth 1 https://github.com/djbelieny/nova

Made for: Claude Code, Codex.

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 ghostwriter

README.md
[![agentmods](https://agentmods.dev/badge/skills/djbelieny/nova/ghostwriter.svg)](https://agentmods.dev/skills/djbelieny/nova/ghostwriter)
Your own site
<a href="https://agentmods.dev/skills/djbelieny/nova/ghostwriter"><img src="https://agentmods.dev/badge/skills/djbelieny/nova/ghostwriter.svg" alt="Measured on agentmods" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,549 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 $0.00069 $0.02549
Opus 5 $0.00034 $0.01274
Sonnet 5 $0.00014 $0.00510
Haiku 4.5 $0.00007 $0.00255

Measured 5d ago against content hash 0c908aeed6d1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ghostwriter 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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/create-book.js), 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.

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.

.claude/skills/ghostwriter/SKILL.md · 316 lines

How it starts

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

Ghostwriter - Autonomous Book Creation System

Overview

This skill transforms raw author materials (transcriptions, notes, interviews, outlines) into complete, professionally formatted books. It operates autonomously through a structured pipeline that:

  1. Extracts Voice Profile - Analyzes source materials to capture the author's unique voice, cognitive patterns, and intellectual posture
  2. Designs Book Architecture - Creates coherent narrative structure with chapters, parts, and transformational journey
  3. Writes Complete Manuscript - Produces all content maintaining consistent voice and method
  4. Formats for Publishing - Exports print-ready DOCX and PDF with professional book layout

Quick Start

When the user provides source materials (transcriptions, notes, audio files, outlines), follow this workflow:

PHASE 0 - VOICE EXTRACTION (MANDATORY)

Analyze all provided source materials and extract:

  • Cognitive patterns: How the author thinks and structures arguments
  • Sentence rhythm: Typical sentence length, cadence, and flow
  • Argument logic: How they build and connect ideas
  • Emotional distance: Level of personal engagement vs. academic detachment
  • Intellectual posture: Authoritative, conversational, prophetic, teaching, etc.
  • Recurring phrases: Signature expressions and vocabulary preferences
  • Core convictions: The beliefs that drive their message

Output: Voice Profile v1.0 document for user approval

PHASE 1 - STRUCTURE PROPOSAL

Based on voice profile and source content, propose:

  • Book architecture: Parts, chapters, logical flow
  • Core method/framework: The author's unique system or approach
  • Transformational journey: Reader's progression from problem to solution
  • Chapter summaries: Brief description of each chapter's purpose

Output: Book Structure Proposal for user approval

PHASE 2 - PILOT CHAPTER

Write ONE complete chapter (typically Chapter 1 or most representative chapter):

  • Apply voice profile meticulously
  • Follow all formatting rules (see Formatting section)
  • Chapter must be standalone and complete
  • No references to "as we'll see later" or "in the previous chapter"

Read the full file on GitHub · 316 lines

Files

What ships with it

6 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. 5d ago First seen · 316 lines · 69 tokens per session scan A 0c908aeed6d1

Subscribe to this mod's changes

ghostwriter is a skill published in the GitHub repository djbelieny/nova (5 stars, last pushed 1mo ago), licensed MIT. It adds 69 tokens to every session and 2,549 once invoked, about $0.0003 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

pandic-office

Convert Markdown to PDF (or DOCX/EPUB/HTML) using the pandoc CLI. Use when asked to produce a PDF report, brief, summary, or any document where the input is Markdown and the output should be a polished, paginated file.

Team-Commonly/commonly · 59 tokens

markdown-converter

Convert binary documents (PDF, DOCX, XLSX, PPTX, HTML, EPUB, images) to clean LLM-friendly Markdown using Microsoft's markitdown Python tool. Use when a user attaches a binary file and you need to read its contents.

Team-Commonly/commonly · 57 tokens

pdf

Manipulate PDF files — extract text, count pages, render thumbnails, merge or split documents. Use for PDF-specific operations that don't fit markdown-converter (general read) or pandic-office (write from markdown).

Team-Commonly/commonly · 49 tokens

foundry-hosted-agent-validation

Step-by-step process for validating a Python Foundry hosted agent sample (under python/samples/04-hosting/foundry-hosted-agents/) end to end — running it locally (native runtime and azd ai agent run) and after deploying it to an Azure AI Foundry project with azd. Use this when asked to validate a hosted agent sample.

microsoft/agent-framework · 82 tokens

doc-reader

Read any common document/data file — PDF, Word (.docx), Excel (.xlsx/.xls), PowerPoint (.pptx), images (OCR), CSV/TSV, plain text, JSON/YAML/TOML, HTML/XML, and most source-code files. Use the readdocument tool.

HKUDS/Vibe-Trading · 65 tokens

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.

synthetic-sciences/openscience · 49 tokens