novel-sync

novel-sync is a skill for Claude Code from TulanCN/vibe-noveling. It costs 44 tokens per session (700 once invoked), scanned A, original, MIT.

A workflow for updating a novel project's memory after a chapter has been written and checked. It records the chapter summary, character and plot changes, unresolved clues, entities, and progress in project files.

In plain words
What is it for?
Syncing completed chapters into past summaries, plot-thread trackers, knowledge graphs, entity files, visual notes, and the main creative progress record.
Why use it?
It prevents the project's planning and reference files from falling out of date as the story develops.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter. Also seen: mentions CLAUDE.md; mentions subagents; names the AskUserQuestion tool.

Part of the vibe-noveling plugin — 16 skills, 4 agents shipped together

Good fit Syncing completed chapters into past summaries, plot-thread trackers, knowledge graphs, entity files, visual notes, and the main creative progress record.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tulancn/vibe-noveling/novel-sync
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.

Any agent
npx skills add TulanCN/vibe-noveling --skill novel-sync
Clone the repo
git clone --depth 1 https://github.com/TulanCN/vibe-noveling

Made for: Claude Code.

Or install vibe-noveling, the plugin that ships this one along with the rest of its 16 skills, 4 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 novel-sync

README.md
[![agentmods](https://agentmods.dev/badge/skills/tulancn/vibe-noveling/novel-sync/github.svg)](https://agentmods.dev/skills/tulancn/vibe-noveling/novel-sync)
Your own site
<a href="https://agentmods.dev/skills/tulancn/vibe-noveling/novel-sync"><img src="https://agentmods.dev/badge/skills/tulancn/vibe-noveling/novel-sync/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 novel-sync

Your own site · 80×15
<a href="https://agentmods.dev/skills/tulancn/vibe-noveling/novel-sync"><img src="https://agentmods.dev/badge/skills/tulancn/vibe-noveling/novel-sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 700 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.00044 $0.00700
Opus 5 $0.00022 $0.00350
Sonnet 5 $0.00009 $0.00140
Haiku 4.5 $0.00004 $0.00070

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

Security

Grade A, and why

novel-sync 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.

plugins/vibe-noveling/skills/novel-sync/SKILL.md · 61 lines

What it actually says

状态同步

章节写完、检查过、确认过,把状态落回项目记忆。

工作流位置:novel-write → novel-revise → 人工确认 → novel-sync → 下一章

执行流程

1. 确认同步范围(主 session)

用 AskUserQuestion 确认目标章节和将更新的文件(past.md、future/线程与追踪、知识图谱索引、CLAUDE.md 创作进度)。

2. 派发 subagent 执行

用户确认后,派发 subagent 完成以下工作。subagent prompt:

你是小说状态同步助手。同步第 {N} 章。

### 任务清单

1. **更新剧情摘要**:读 `chapters/e{event_padded}/ch-{chapter_seq}/正文.md`,提取核心事件和关键变化,追加 ≤100 字摘要到 memory/past.md

2. **更新伏笔状态**:
   - 读 `20-threads.md`,本章让某条线程进入新状态(Draft→Active→PaidOff)则更新
   - 读 `90-sync-tracker.md`,从大纲伏笔计划中:
     - 待回收未移交的 → 追加到追踪表,大纲中标记"已移交追踪表"
     - 已回收的 → 从追踪表删除,大纲中标记"已同步"

3. **实体变更检测**:扫描章节找新实体(地点/物品/势力),发现则创建 entity 文件。更新已有实体的状态变更(境界/关系/位置等)

4. **重建知识图谱并同步 Obsidian 可视化**:
   - `skill="novel-knowledge", args="rebuild"`
   - `skill="novel-obsidian", args="sync"`

5. **更新 CLAUDE.md 创作进度**:统计已完成章节数,读取最新章节大纲的标题(仍为"待定"则不写标题),替换创作进度 section

3. 展示同步报告

subagent 返回后,主 session 展示摘要:更新了哪些文件、发现的新实体/状态变更、当前进度。

约束

  • 剧情摘要 → past.md(已完成),角色成长 → 角色设定文件 + past.md,伏笔 → threads + sync-tracker,新实体 → entities/
  • ✅ 允许更新角色设定:境界变化、身份变化、关系变化、获得物品/功法、认知变化
  • ❌ 不能在设定文件中写未来规划("计划下一章突破"等),那属于 future/

禁止

  • 跳过人工确认直接同步
  • 在设定文件中写未来规划
  • 删除 past.md 历史内容
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 · 61 lines · 44 tokens per session scan A fd585127cb67

Subscribe to this mod's changes

novel-sync is a skill published in the GitHub repository TulanCN/vibe-noveling (23 stars, last pushed 3mo ago), licensed MIT. It adds 44 tokens to every session and 700 once invoked, about $0.0002 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 skills, from other repositories

media-ingest

Ingest video, audio, PDF, book, screenshot, and GitHub repo content into the brain. Multi-format handling with entity extraction and backlink propagation. Covers video-ingest, youtube-ingest, and book-ingest subtypes.

garrytan/gbrain · 52 tokens

mem0-oss-to-platform

Plan and then execute a migration of a project from the mem0 open-source / self-hosted SDK (the local Memory class) to the mem0 Platform / hosted / managed SDK (the MemoryClient class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS/self-hosted to the hosted API — e.g.…

mem0ai/mem0 · 273 tokens

Cortex

Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…

danielmiessler/LifeOS · 196 tokens

memory

Use when the user asks to remember, recall, forget, update, search, or inspect durable OpenSquilla memory, including profile facts in USER.md and long-term notes in MEMORY.md or memory//.md.

opensquilla/opensquilla · 44 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens

establishing-project-context

Use when the user asks to establish shared project language, or project work exposes a conflicting, renamed, or deprecated domain term that needs active semantic modeling. Routine small tasks stay on the fast path.

GanyuanRan/Aegis · 45 tokens