memory

memory is a skill for Claude Code from tance-mang/chinese-webnovel-skills. It costs 94 tokens per session (1,396 once invoked), scanned A, original, MIT.

A persistent archive system for Chinese web-fiction projects that stores story settings, characters, outlines, plot threads, timelines, progress, and submission records in files.

In plain words
What is it for?
Use it to initialize a book archive, resume from the latest chapter, update progress and foreshadowing, track timelines, create snapshots, and manage multiple books.
Why use it?
It prevents continuity details and writing progress from being lost between sessions or across long novels.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the webnovel plugin — 33 skills shipped together

Good fit Use it to initialize a book archive, resume from the latest chapter, update progress and foreshadowing, track timelines, create snapshots, and manage multiple books.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tance-mang/chinese-webnovel-skills/memory
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 tance-mang/chinese-webnovel-skills --skill memory
Clone the repo
git clone --depth 1 https://github.com/tance-mang/chinese-webnovel-skills

Made for: Claude Code.

Or install webnovel, the plugin that ships this one along with the rest of its 33 skills.

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 memory

README.md
[![agentmods](https://agentmods.dev/badge/skills/tance-mang/chinese-webnovel-skills/memory/github.svg)](https://agentmods.dev/skills/tance-mang/chinese-webnovel-skills/memory)
Your own site
<a href="https://agentmods.dev/skills/tance-mang/chinese-webnovel-skills/memory"><img src="https://agentmods.dev/badge/skills/tance-mang/chinese-webnovel-skills/memory/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 memory

Your own site · 80×15
<a href="https://agentmods.dev/skills/tance-mang/chinese-webnovel-skills/memory"><img src="https://agentmods.dev/badge/skills/tance-mang/chinese-webnovel-skills/memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,396 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.00094 $0.01396
Opus 5 $0.00047 $0.00698
Sonnet 5 $0.00019 $0.00279
Haiku 4.5 $0.00009 $0.00140

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

Security

Grade A, and why

memory 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 11d 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.

skills/memory/SKILL.md · 78 lines

How it starts

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

创作档案与记忆系统(memory)

给每本书一套持久化记忆:设定、人物、大纲、伏笔、灵感、进度、投稿记录全存在书的文件夹里,跨会话不丢。像 git 一样可做版本快照、可回顾"写到哪了"。

何时用

  • 记录/保存大纲、人设、世界观,下次接着用
  • 隔了几天回来续写:"我上次写到哪了?"
  • 查"这个伏笔回收没""主角现在什么境界"
  • 给书做版本快照、回滚
  • 管理多本书的进度

档案结构(书的"记忆")

在书的文件夹里维护这套文件(没有就用本技能初始化):

《书名》/
├── 00_设定.md        立项卡 + 金手指 + 世界观 + 势力库 + 战力体系(book-bible)
├── 01_人物.md        人设卡 + 当前状态 + 语言指纹 + 情绪/关系轨迹 + 弧线
├── 02_大纲.md        卷纲 / 章纲
├── 03_伏笔追踪.md     埋点 → 回收 表(编号/重要度,防烂尾命脉)
├── 04_灵感本.md       spark 速记的灵感
├── 05_进度.md        写到第几章 / 累计字数 / 下一步
├── 06_投稿记录.md     每次投稿:平台/日期/结果/拒因/改动
├── 07_时间线.md       主时间线 + 知情人名单 + 世界状态(长篇防失忆)
└── 正文/
    ├── 第001章.md
    └── ……

短篇可只用 00/01/02;长篇务必加 07_时间线 与 战力体系,配合 continuity 防写到上百章崩设定。 模板见 templates/book-bible-template.mdtemplates/submission-log-template.mdtemplates/progress-template.md;格式详见 references/project-memory.md

四个功能

1. 建档(init)

为新书创建上面的档案结构,从模板填入已有信息(调 idea/outline/character 的产出)。

2. 回顾续写(resume)

05_进度.md + 02_大纲.md + 03_伏笔追踪.md + 01_人物.md一句话汇报

《书名》写到第 N 章(累计 X 万字)
上一章结尾钩:……(本章要回应)
待回收伏笔:……
主角当前状态:……
下一步建议:写第 N+1 章,本章大纲是……

解决"隔几天忘了写到哪"。

3. 更新(update)

写完/改完后同步档案:

  • 写完一章 → 更新 05_进度.md(章号/字数/下一步)
  • 出现新伏笔/回收伏笔 → 更新 03_伏笔追踪.md
  • 人物状态变化(升级/关系/获得物/伤势) → 更新 01_人物.md
  • 情绪/关系值变化、人物弧线推进 → 更新 01_人物.md 情绪轨迹(防"刚失恋下章笑哈哈")
  • 时间推进 / 谁知道了什么秘密 / 世界状态变化(战争/损毁/势力更替)→ 更新 07_时间线.md
  • 战力变化(境界突破/新强敌登场) → 更新 00_设定.md 战力对照
  • 新灵感 → 追加 04_灵感本.md

不回写就会"下一章继续漂"——这是防失忆的闭环。要主动核对前后矛盾用 continuity;强设定题材先搭世界用 world

4. 版本快照(像 git)

两种方式,按用户情况推荐:

  • 真·git(推荐,能回滚看历史):在书的文件夹 git init,每次定稿章节后 git add . && git commit -m "第N章定稿"。本技能可代为执行。想回到旧版本 git log + git checkout
  • 轻量快照(不用 git):把关键文件复制成带日期版本,如 02_大纲_2026-06-05.md,留存历史版本。

原则

  • 档案是单一事实来源:写正文前先读档案,写完后必更新,避免设定漂移。
  • 03_伏笔追踪.md 是防烂尾命脉,每章必查必更。
  • 多本书各自独立文件夹,互不干扰。
  • 涉及隐私/未发布稿件,提醒已在 .gitignore 排除,不会误传公开仓库。

配合

  • spark 写灵感本、outline 写大纲、character 写人物(含语言指纹)、submission 写投稿记录 —— 本技能统管这些档案的回顾与版本。
  • continuity 读本档案核对逻辑/时间线/战力一致性 —— 记忆负责"记",continuity 负责"核对"。
  • 全书篇幅/字数规划 → references/length-standards.md

Read the full file on GitHub · 78 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. 11d ago First seen · 78 lines · 94 tokens per session scan A 847024c840dd

Subscribe to this mod's changes

memory is a skill published in the GitHub repository tance-mang/chinese-webnovel-skills (55 stars, last pushed 3mo ago), licensed MIT. It adds 94 tokens to every session and 1,396 once invoked, about $0.0005 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

learn-from-fix

Capture Elixir/Ecto/LiveView lessons and Hex API rules. Use after corrections or when asked to document learning, record a lesson, prevent a fixed mistake, or remember package guidance with --library.

oliver-kriska/claude-elixir-phoenix · 46 tokens

recall

Recall prior work from past sessions — how a bug was fixed, what was decided, where a pattern lives. Use when asked 'have we done this before' or 'how did I fix X' in Elixir/Phoenix work. ccrider MCP when available, else git + solution docs.

oliver-kriska/claude-elixir-phoenix · 64 tokens

assigns-audit

Inspect LiveView socket assigns for memory bloat — missing temporaryassigns, unused assigns, unbounded lists needing streams, memory estimates. Use when LiveView memory grows or you need to add temporaryassigns.

oliver-kriska/claude-elixir-phoenix · 47 tokens

compound-docs

Searchable Elixir/Phoenix/Ecto solution documentation system with YAML frontmatter. Builds institutional knowledge from solved problems. Use when consulting past solutions before investigating new issues.

oliver-kriska/claude-elixir-phoenix · 38 tokens

evolving-status

View Self-Evolving Loop session status, history, and memory metrics.

claude-world/director-mode-lite · 17 tokens

orient

Use when user invokes /orient with a topic keyword, entity type, project name, time qualifier, or combination. Also triggers on "what do we know about X", "remind me about X", "where did we leave off on X". Provides targeted context loading — searches the MCP Memory Server graph, knowledge files, journal entries, and…

harnessprotocol/harness-kit · 80 tokens