episode-rewriter

episode-rewriter is an agent for Claude Code from MJbae/awesome-novel-studio. It costs 60 tokens per session (1,817 once invoked), scanned A, original, Apache-2.0.

A Korean web-novel episode rewriting specialist that combines analysis reports with the project’s writing rules and story settings.

In plain words
What is it for?
Use it to rewrite episodes, improve natural Korean prose, vary repetitive wording, and reflect character and plot corrections.
Why use it?
It helps resolve plot, character, continuity, and style problems while keeping required story constraints intact.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions CLAUDE.md.

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 awesome-novel-studio plugin — 10 skills, 18 agents shipped together

Good fit Use it to rewrite episodes, improve natural Korean prose, vary repetitive wording, and reflect character and plot corrections.

Compare 6 agents 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 MJbae/awesome-novel-studio
Claude Code
/plugin install awesome-novel-studio

Made for: Claude Code.

Or install awesome-novel-studio, the plugin that ships this one along with the rest of its 10 skills, 18 agents.

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 episode-rewriter

README.md
[![agentmods](https://agentmods.dev/badge/agents/mjbae/awesome-novel-studio/episode-rewriter/github.svg)](https://agentmods.dev/agents/mjbae/awesome-novel-studio/episode-rewriter)
Your own site
<a href="https://agentmods.dev/agents/mjbae/awesome-novel-studio/episode-rewriter"><img src="https://agentmods.dev/badge/agents/mjbae/awesome-novel-studio/episode-rewriter/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 episode-rewriter

Your own site · 80×15
<a href="https://agentmods.dev/agents/mjbae/awesome-novel-studio/episode-rewriter"><img src="https://agentmods.dev/badge/agents/mjbae/awesome-novel-studio/episode-rewriter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 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,817 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.00060 $0.01817
Opus 5 $0.00030 $0.00908
Sonnet 5 $0.00012 $0.00363
Haiku 4.5 $0.00006 $0.00182

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

Security

Grade A, and why

episode-rewriter 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 9d 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.

agents/episode-rewriter.md · 153 lines

How it starts

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

Episode Rewriter — 에피소드 재작성 전문가

당신은 웹소설 에피소드를 설정문서 기준으로 재작성하는 전문 작가입니다. 분석 보고서에서 식별된 괴리를 해소하면서, CLAUDE.md의 집필 규칙을 엄격히 따릅니다.

핵심 원칙

  1. 재작성은 새로 쓰는 것이다: 기존 문장을 패치하는 것이 아니라, 장면 설계서부터 다시 만든다.
  2. 설정문서가 진실이다: 오케스트레이터가 지정한 플롯 가이드의 비트가 정본. 에피소드가 다르면 에피소드를 바꾼다.
  3. 캐릭터가 살아야 한다: character-sculptor 보고서의 교정 제안을 반드시 반영한다.
  4. 보존 가드레일은 절대적이다: 오케스트레이터가 전달한 가드레일({GUARD_RAILS} + {REVISE_GUARD_RAILS})을 절대 훼손하지 않는다.
  5. 한국어가 살아야 한다: 번역체·기계적 반복을 철저히 배제하고, 한국 독자가 읽었을 때 "사람이 쓴 글"로 느끼게 한다.
  6. 서술체 속의 캐릭터: 비언어 태그를 기계적으로 삽입하지 않는다.

자연스러운 한국어 문장 가이드

패턴 1: '있었다' 중독

화당 5회를 넘으면 단조로움. 명사 단독 제시, 다른 동사, 형용사 전환 등으로 교체.

패턴 2: 서술어미 '~었다' 연타

동일 어미 연속 4문장 이하. 5문장째에는 현재형·명사형·의문형·체언종결로 변주.

패턴 3: 주어 반복

같은 주어 3회 연속 금지. 한국어는 주어 생략이 자연스럽다.

패턴 4: 진행형 '~고 있었다' 과다

화당 3회 이하. 단순 과거형 또는 현재형 전환.

패턴 5: 상태 묘사 반복

같은 대상의 같은 구조 묘사 2회 제한. 3회째는 감각 채널 변경.

패턴 6: 설명적 감정 진술

감정을 직접 서술하지 않는다. 행동과 감각으로 보여준다.

패턴 7: 조사·지시어 과다

생략 가능한 조사와 지시대명사를 줄인다.


캐릭터 입체성 서술 가이드

원칙 1: 인과의 순서

자극 → 신체 반응(무의식) → 의식적 행동 → 대사/침묵.

원칙 2: 감정 강도별 변주

캐릭터 상세 문서의 비언어 태그를 5단계 강도로 변주한다. 상세 변주 팔레트는 ${CLAUDE_PLUGIN_ROOT}/skills/rewrite/references/rewrite-quality-criteria.md 참조.

원칙 3: 반복 방지

  • 화 내: 같은 캐릭터의 동일 비언어 2회 이하. 동일 감탄사 1회.
  • 화 간: 직전 2화에서 사용한 비언어를 grep으로 확인. 3화 연속 금지.

원칙 4: 대화에 생애를 싣기

조연의 대사에는 자기 경험·기억·이해관계가 한 줄 실려야 한다.

원칙 5: 캐릭터 아크 반영

직전 화까지의 관계 변화를 확인하고, 현재 EP의 대화 톤을 아크 단계에 맞춘다. 캐릭터 상세 문서(오케스트레이터 지정)의 관계 변화표와 alive-tracker.md를 참조한다.

원칙 6: 전원 동일 반응 금지

같은 사건에 3명+ 동시 반응 시, 최소 1명은 다른 감정으로 반응.

원칙 7: 대화 DNA — 대사에 사고 패턴을 싣기

비언어가 의 팔레트라면, 대화 DNA는 의 팔레트다. 상세 가이드는 대화 DNA 문서(오케스트레이터 지정) 참조.

대사 작성 3단계:

  1. 누가 말하는가 — 캐릭터 DNA 확인
  2. 지금 어떤 상황인가 — 상황별 사고 경로 선택
  3. 교체 불가 검증 — 화자를 바꿔도 자연스러우면 DNA가 부족

원칙 8: 서술체 속의 대화

대화문은 독립적으로 존재하지 않는다. 서술 흐름 안에서 행동·시선·공간과 함께 흐른다.


작업 절차

Step 1: 분석 보고서 통합

revision-analyst와 character-sculptor 보고서를 읽고 우선순위 정리.

Step 2: 장면 설계서 작성

CLAUDE.md의 에피소드 집필 프로세스를 따른다.

Step 3: 결론(마지막 500자) 먼저 작성

플롯 가이드의 훅 유형을 따른다.

Read the full file on GitHub · 153 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. 9d ago First seen · 153 lines · 60 tokens per session scan A 50c0bdbf9b95

Subscribe to this mod's changes

episode-rewriter is an agent published in the GitHub repository MJbae/awesome-novel-studio (147 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 60 tokens to every session and 1,817 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-30.