fantasy-novel-harness: Instructions file for Claude Code

CLAUDE.md

fantasy-novel-harness CLAUDE.md is an instructions file for Claude Code from ellie1004/fantasy-novel-harness. It costs 6,529 tokens per session, scanned A, original, MIT.

A set of instructions for an AI-assisted system that turns a fantasy novel idea or draft into a structured, illustrated book. It defines writing stages, agent roles, project files, and checks.

In plain words
What is it for?
Use it to plan a fantasy world, characters, magic, plot, chapters, illustrations, and final book files such as Markdown, PDF, or DOCX.
Why use it?
It gives the agent a fixed writing process and consistency checks, reducing the risk of missing story planning, breaking established details, or producing incomplete output.

Instructions file for Claude Code

Written for Claude Code: PreToolUse hook event. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

This is ellie1004/fantasy-novel-harness's own configuration. It tells Claude Code how to work on fantasy-novel-harness itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything fantasy-novel-harness configures โ†’

Reuse

Borrowing it

Nothing to install: this file belongs to ellie1004/fantasy-novel-harness. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ellie1004/fantasy-novel-harness/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/ellie1004/fantasy-novel-harness

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 fantasy-novel-harness CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/ellie1004/fantasy-novel-harness/claude-md/github.svg)](https://agentmods.dev/instructions/ellie1004/fantasy-novel-harness/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/ellie1004/fantasy-novel-harness/claude-md"><img src="https://agentmods.dev/badge/instructions/ellie1004/fantasy-novel-harness/claude-md/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 fantasy-novel-harness CLAUDE.md

Your own site ยท 80ร—15
<a href="https://agentmods.dev/instructions/ellie1004/fantasy-novel-harness/claude-md"><img src="https://agentmods.dev/badge/instructions/ellie1004/fantasy-novel-harness/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 6,529 This file is loaded in full into every session.
When invoked 6,529 The same file โ€” it is already loaded in full.
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.06529 $0.06529
Opus 5 $0.03265 $0.03265
Sonnet 5 $0.01306 $0.01306
Haiku 4.5 $0.00653 $0.00653

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

Security

Grade A, and why

fantasy-novel-harness CLAUDE.md 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.

CLAUDE.md ยท 593 lines

How it starts

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

๐Ÿ—๏ธ Fantasy Novel Harness Engineering System

์‚ฝํ™”๊ฐ€ ํฌํ•จ๋œ ํŒํƒ€์ง€ ์†Œ์„ค ์ž๋™ ์ง‘ํ•„ ์‹œ์Šคํ…œ

ํ•˜๋„ค์Šค ์—”์ง€๋‹ˆ์–ด๋ง(Harness Engineering): AI ์—์ด์ „ํŠธ์˜ ํ–‰๋™์„ '์ œ์•ˆ(Suggestion)'์ด ์•„๋‹Œ '๊ธฐ๊ณ„์  ๊ฐ•์ œ(Mechanical Enforcement)'๋กœ ์ œ์–ดํ•˜๋Š” ์‹œ์Šคํ…œ ์„ค๊ณ„ ๋ฐฉ๋ฒ•๋ก . CLAUDE.md๋Š” ์—์ด์ „ํŠธ์—๊ฒŒ ๋ฐฉํ–ฅ์„ฑ์„ ์ œ์‹œํ•˜๋Š” ์ œ์•ˆ์ด๋ฉฐ, ์ ˆ๋Œ€ ์–ด๊ฒจ์„œ๋Š” ์•ˆ ๋˜๋Š” ๊ทœ์น™์€ HooksยทLinterยทCI/CD๋กœ ๊ฐ•์ œํ•œ๋‹ค.


๐Ÿ“Œ ํ”„๋กœ์ ํŠธ ๊ฐœ์š”

์ด ํ”„๋กœ์ ํŠธ๋Š” ์‚ฌ์šฉ์ž๊ฐ€ ์ž์œ ๋กญ๊ฒŒ ์ž‘์„ฑํ•œ ํŒํƒ€์ง€ ์†Œ์„ค ์›๊ณ (๋˜๋Š” ์•„์ด๋””์–ด)๋ฅผ ์ž…๋ ฅํ•˜๋ฉด, AI ์—์ด์ „ํŠธ๊ฐ€ ๋‹ค์Œ์„ ์ž๋™์œผ๋กœ ์ˆ˜ํ–‰ํ•˜๋Š” ์—”๋“œํˆฌ์—”๋“œ ์†Œ์„ค ์ง‘ํ•„ ์‹œ์Šคํ…œ์ด๋‹ค:

  1. ์›๊ณ  ๋ถ„์„ โ†’ ์„ธ๊ณ„๊ด€ยท์บ๋ฆญํ„ฐยทํ”Œ๋กฏ์„ ๊ตฌ์กฐํ™”
  2. 10๋‹จ๊ณ„ ์ง‘ํ•„ ์›Œํฌํ”Œ๋กœ์šฐ โ†’ ์ฒด๊ณ„์  ์†Œ์„ค ์™„์„ฑ
  3. ์‚ฝํ™” ์ž๋™ ์ƒ์„ฑ โ†’ ์ฃผ์š” ์žฅ๋ฉด์„ ์ผ๋Ÿฌ์ŠคํŠธ๋ ˆ์ด์…˜์œผ๋กœ ์‹œ๊ฐํ™”
  4. ์ตœ์ข… ์ถœ๋ ฅ โ†’ ์‚ฝํ™”๊ฐ€ ํฌํ•จ๋œ ์™„์„ฑ ์†Œ์„ค (.docx / .md / .pdf)

๋ˆ„๊ตฌ๋‚˜ ์ด ๋ ˆํฌ๋ฅผ ํด๋ก ํ•˜๊ณ  Claude Code ๋˜๋Š” Cursor CLI์—์„œ ์‹คํ–‰ํ•˜๋ฉด, ํ•œ ๊ถŒ์˜ ๋ฉ‹์ง„ ์‚ฝํ™” ํŒํƒ€์ง€ ์†Œ์„ค์„ ๋งŒ๋“ค ์ˆ˜ ์žˆ๋‹ค.


๐Ÿ—‚๏ธ ํ”„๋กœ์ ํŠธ ๊ตฌ์กฐ

fantasy-novel-harness/
โ”œโ”€โ”€ CLAUDE.md                          # โ† ์ง€๊ธˆ ์ด ํŒŒ์ผ (์—์ด์ „ํŠธ ์ œ์•ˆ)
โ”œโ”€โ”€ AGENTS.md                          # ๋ฉ€ํ‹ฐ ์—์ด์ „ํŠธ ์—ญํ•  ์ •์˜
โ”œโ”€โ”€ .claude/
โ”‚   โ””โ”€โ”€ settings.json                  # ํ›… ์„ค์ • (๊ธฐ๊ณ„์  ๊ฐ•์ œ)
โ”œโ”€โ”€ .cursor/
โ”‚   โ””โ”€โ”€ rules/
โ”‚       โ”œโ”€โ”€ novel-workflow.mdc         # Cursor์šฉ ์†Œ์„ค ์ง‘ํ•„ ๊ทœ์น™
โ”‚       โ””โ”€โ”€ illustration.mdc          # Cursor์šฉ ์‚ฝํ™” ์ƒ์„ฑ ๊ทœ์น™
โ”œโ”€โ”€ hooks/
โ”‚   โ”œโ”€โ”€ pre-write-validator.sh         # PreToolUse: ์ง‘ํ•„ ์ „ ์ผ๊ด€์„ฑ ๊ฒ€์ฆ
โ”‚   โ”œโ”€โ”€ post-write-quality.sh          # PostToolUse: ์‚ฐ๋ฌธ ํ’ˆ์งˆ ์ž๋™ ์ฒดํฌ
โ”‚   โ”œโ”€โ”€ illustration-guard.sh          # PreToolUse: ์‚ฝํ™” ํ”„๋กฌํ”„ํŠธ ๊ฒ€์ฆ
โ”‚   โ””โ”€โ”€ stop-final-check.sh            # Stop: ์ตœ์ข… ์™„์„ฑ๋„ ์ฒดํฌ
โ”œโ”€โ”€ scripts/
โ”‚   โ”œโ”€โ”€ analyze-manuscript.py          # ์›๊ณ  ๋ถ„์„ ์Šคํฌ๋ฆฝํŠธ
โ”‚   โ”œโ”€โ”€ generate-illustration.py       # ์‚ฝํ™” ์ƒ์„ฑ ์Šคํฌ๋ฆฝํŠธ
โ”‚   โ”œโ”€โ”€ consistency-checker.py         # ์ผ๊ด€์„ฑ ๊ฒ€์ฆ ์Šคํฌ๋ฆฝํŠธ
โ”‚   โ”œโ”€โ”€ prose-diagnostics.py           # ์‚ฐ๋ฌธ ์ง„๋‹จ ์Šคํฌ๋ฆฝํŠธ
โ”‚   โ””โ”€โ”€ build-novel.py                 # ์ตœ์ข… ์†Œ์„ค ๋นŒ๋“œ ์Šคํฌ๋ฆฝํŠธ
โ”œโ”€โ”€ templates/
โ”‚   โ”œโ”€โ”€ world-bible.md                 # ์„ธ๊ณ„๊ด€ ๋ฐ”์ด๋ธ” ํ…œํ”Œ๋ฆฟ
โ”‚   โ”œโ”€โ”€ character-sheet.md             # ์บ๋ฆญํ„ฐ ์‹œํŠธ ํ…œํ”Œ๋ฆฟ
โ”‚   โ”œโ”€โ”€ voice-dna.md                   # ์Œ์„ฑ DNA ์นด๋“œ ํ…œํ”Œ๋ฆฟ
โ”‚   โ”œโ”€โ”€ plot-outline.md                # ํ”Œ๋กฏ ์•„์›ƒ๋ผ์ธ ํ…œํ”Œ๋ฆฟ
โ”‚   โ”œโ”€โ”€ prose-profile.md               # ๋ฌธ์ฒด ํ”„๋กœํ•„ ํ…œํ”Œ๋ฆฟ
โ”‚   โ”œโ”€โ”€ chapter-draft.md               # ์ฑ•ํ„ฐ ์ดˆ์•ˆ ํ…œํ”Œ๋ฆฟ
โ”‚   โ””โ”€โ”€ illustration-spec.md           # ์‚ฝํ™” ์ŠคํŽ™ ํ…œํ”Œ๋ฆฟ
โ”œโ”€โ”€ output/
โ”‚   โ”œโ”€โ”€ drafts/                        # ์ฑ•ํ„ฐ๋ณ„ ์ดˆ์•ˆ
โ”‚   โ”œโ”€โ”€ illustrations/                 # ์ƒ์„ฑ๋œ ์‚ฝํ™” ์ด๋ฏธ์ง€
โ”‚   โ”œโ”€โ”€ design-docs/                   # ์„ธ๊ณ„๊ด€ยท์บ๋ฆญํ„ฐยทํ”Œ๋กฏ ๋ฌธ์„œ
โ”‚   โ””โ”€โ”€ final/                         # ์ตœ์ข… ์™„์„ฑ๋ณธ
โ”œโ”€โ”€ input/
โ”‚   โ””โ”€โ”€ manuscript.md                  # ์‚ฌ์šฉ์ž ์›๊ณ  ์ž…๋ ฅ ์œ„์น˜
โ”œโ”€โ”€ tests/
โ”‚   โ”œโ”€โ”€ test-consistency.py            # ์ผ๊ด€์„ฑ ํ…Œ์ŠคํŠธ
โ”‚   โ”œโ”€โ”€ test-prose-quality.py          # ์‚ฐ๋ฌธ ํ’ˆ์งˆ ํ…Œ์ŠคํŠธ
โ”‚   โ””โ”€โ”€ test-illustration-spec.py      # ์‚ฝํ™” ์ŠคํŽ™ ํ…Œ์ŠคํŠธ
โ”œโ”€โ”€ package.json                       # Node.js ์˜์กด์„ฑ
โ”œโ”€โ”€ requirements.txt                   # Python ์˜์กด์„ฑ
โ”œโ”€โ”€ LICENSE                            # MIT License
โ””โ”€โ”€ README.md                          # ์‚ฌ์šฉ ๊ฐ€์ด๋“œ

Read the full file on GitHub ยท 593 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 ยท 593 lines ยท 6,529 tokens per session scan A 21d592ba725d

Subscribe to this mod's changes

fantasy-novel-harness CLAUDE.md is an instructions file published in the GitHub repository ellie1004/fantasy-novel-harness (4 stars, last pushed 5mo ago), licensed MIT. It adds 6,529 tokens to every session, about $0.0326 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 instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js ยท 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex ยท 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode ยท 6,785 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart โ€” add a new integration in 5 steps, integration architecture and integrationmanifest โ€” file tracking.

github/spec-kit ยท 7,104 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode ยท 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain ยท 4,469 tokens