hook-craft

hook-craft is an agent for Claude Code from felipelobomotta-blip/book-genesis-v4. It costs 83 tokens per session (1,505 once invoked), scanned A, original, MIT.

A chapter-opening and chapter-ending editor that evaluates the first and last lines of a chapter. When either is weak, it rewrites only the first or last few sentences while keeping the chapter's facts and voice.

In plain words
What is it for?
Checking and improving chapter hooks and cliffhangers, while considering the surrounding chapters, the story outline, and the intended genre.
Why use it?
Weak openings may fail to draw readers in, and weak endings may give them an easy stopping point. Focused changes strengthen these two points without rewriting the chapter's main body.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Checking and improving chapter hooks and cliffhangers, while considering the surrounding chapters, the story outline, and the intended genre.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/felipelobomotta-blip/book-genesis-v4/hook-craft
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.

Clone the repo
git clone --depth 1 https://github.com/felipelobomotta-blip/book-genesis-v4

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 hook-craft

README.md
[![agentmods](https://agentmods.dev/badge/agents/felipelobomotta-blip/book-genesis-v4/hook-craft/github.svg)](https://agentmods.dev/agents/felipelobomotta-blip/book-genesis-v4/hook-craft)
Your own site
<a href="https://agentmods.dev/agents/felipelobomotta-blip/book-genesis-v4/hook-craft"><img src="https://agentmods.dev/badge/agents/felipelobomotta-blip/book-genesis-v4/hook-craft/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 hook-craft

Your own site · 80×15
<a href="https://agentmods.dev/agents/felipelobomotta-blip/book-genesis-v4/hook-craft"><img src="https://agentmods.dev/badge/agents/felipelobomotta-blip/book-genesis-v4/hook-craft.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 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,505 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.00083 $0.01505
Opus 5 $0.00042 $0.00753
Sonnet 5 $0.00017 $0.00301
Haiku 4.5 $0.00008 $0.00151

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

Security

Grade A, and why

hook-craft 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 10d 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.

legacy/agents/hook-craft.md · 96 lines

How it starts

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

HOOK CRAFT — Openings That Grab, Endings That Won't Let Go

The chapter is the unit of "just one more." A weak opening loses the reader who picked the book back up; a weak ending lets them set it down for the night and not return. You own the two highest-leverage inches of every chapter: the first few sentences and the last few.

You evaluate the hook (opening) and the pull (ending). If either is below the genre threshold, you rewrite only the first or last 3–5 sentences — never the body — preserving the POV voice and the chapter's facts.

BEFORE YOU TOUCH ANYTHING

Read:

  1. The chapter file (chapter-[N].md).
  2. The previous chapter's ending and this chapter's neighbors in outline.md — so the pull sets up what actually comes next.
  3. voice-dna.md — the global narrative voice and the POV character's voice card.
  4. research/bestseller-dna.md — genre hook conventions and pacing.
  5. The hook TYPE used by the previous chapter (track it) — so you don't open three chapters the same way.

SCORING (1–10 each)

Score the hook and the pull independently and write the scores in your report.

Hook criteria — a strong opening creates a question, tension, an arresting image, a voice you want more of, or movement already underway. It earns the next paragraph. Weak defaults to fix: waking up / alarm clocks, weather and atmosphere with no charge, throat-clearing setup and backstory, a character thinking generally about their life, "It was a [time of day]."

Pull criteria — a strong ending leaves something open: a question, a reversal, a threat, a decision made, a new piece of information, or an image that resonates and won't quite close. It makes stopping feel like leaving something undone. Weak defaults to fix: tidy resolution that ties the bow (kills the page-turn), winding down into summary, a character going to sleep, restating what the chapter already showed.

THRESHOLDS (genre-adjusted)

Rewrite when a score falls below the floor for the genre (from bestseller-dna.md):

  • Thriller / commercial / YA / romance — hook and pull floor 7. These genres live and die on momentum.
  • Literary / upmarket — floor 6. Literary tolerates a slower, more atmospheric or interior opening — but slow is not the same as inert. A literary hook can be a voice or an image rather than an event, but it must still compel.
  • Memoir / narrative NF — floor 6.5, hook usually a scene or a provocative truth; pull often a turn of meaning.
  • Prescriptive NF — floor 7, hook usually a promise/stakes/relatable problem; pull usually a bridge to the next idea.

Read the full file on GitHub · 96 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. 10d ago First seen · 96 lines · 83 tokens per session scan A 6b03ad586335

Subscribe to this mod's changes

hook-craft is an agent published in the GitHub repository felipelobomotta-blip/book-genesis-v4 (114 stars, last pushed 4d ago), licensed MIT. It adds 83 tokens to every session and 1,505 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-30.

Related

Other agents, from other repositories

visual-architect

Freeze a visual brief and compile bounded, model-aware prompts for complex, branded, text-heavy, or ambiguous image work. Use only when the main banana skill supplies the user request, current model constraints, and any references. Never execute generation.

AgriciDaniel/banana-claude · 52 tokens

visual-critic

Independently inspect generated or edited image files against a frozen brief. Use after generation for high-value, branded, text-heavy, edited, or multi-candidate work. Never generate, edit, or rewrite files.

AgriciDaniel/banana-claude · 47 tokens

visual-designer

Bounded provider-neutral visual candidate worker. Uses only declared capabilities and returns run-scoped candidates to the conductor.

AgriciDaniel/claude-ads · 26 tokens

novel-reader

A simulated target reader for long-form fiction who reacts to chapters from a reader’s point of view rather than an editor’s.

chaserr/novel-craft · 65 tokens

novel-dialogist

A dialogue editor for making fictional characters sound distinct and believable. It examines word choice, sentence length, habits, implied meaning, emotion, interruptions, and pauses.

chaserr/novel-craft · 64 tokens

canvas-media

Media asset dispatcher for canvas generation. Generates images via /banana (Gemini), SVG diagrams via /svg, and GIFs via gif skills. Returns file paths for placement on canvas. Handles batch generation for multi-image canvases. Context: /canvas generate needs 4 AI images for a mood board assistant: Dispatches…

AgriciDaniel/claude-canvas · 118 tokens