novel-memory
- Repo stars 2,679
- Author updated Live
- Author repo danghuangshang
- Domain
- Other
- Compatible agents
-
- Claude Code
- Cursor
- Cline
- Codex
- Windsurf
- Gemini CLI
- +20
- Trust score
- 88 / 100 · community maintained
- Author / version / license
- @wanikua · no license declared
- Token usage
- Lean
- Setup complexity
- Plug-and-play
- External API key
- Not required
- Operating systems
- Unspecified (assume cross-platform)
- Runtime requirements
- No special requirements
- Permissions
-
- Read-only
- Write / modify
- Network behavior
- Local-only
- Install commands
- 26 variants
Profile is derived at build time from SKILL.md and install vectors. Subject to drift from author intent.
Heads up: 未限定 allowed-tools,默认拥有全部工具权限。
---
name: novel-memory
description: 你已被注入 novel-memory 技能。本技能指导如何使用工作区文件系统作为小说创作的持久化记忆。 ├── plan.md # 总控大纲(由 novel-worldbuilding 生成)…
category: other
runtime: no special runtime
---
# novel-memory output preview
## PART A: Task fit
- Use case: 你已被注入 novel-memory 技能。本技能指导如何使用工作区文件系统作为小说创作的持久化记忆。 ├── plan.md # 总控大纲(由 novel-worldbuilding 生成) │ ├── characters.md # 人物档案(全部角色) │ ├── world.md # 世界观规则 │ ├── foreshadowing.md # 伏笔台账 runs entirely locally. Works with Claude Code, Cursor, Cline and 23 more..
- Inputs: target material, constraints, expected output, and acceptance criteria.
- Evidence boundary: follow “文件结构 / 记忆分类 / 1. 静态设定(长期有效)” and do not present inference as author intent.
## PART B: Execution result
- **01** The card summarizes the use case; runtime output centers on “你已被注入 novel-memory 技能。本技能指导如何使用工作区文件系统作为小说创作的持久化记忆。 ├── plan.md # 总控大纲(由 novel-worldbuilding 生成) │ ├── characters.md # 人物档案(全部角色) │ ├── world.md # 世界观规则 │ ├── foreshadowing.md # 伏笔台账 runs entirely locally. Works with Claude Code, Cursor, Cline and 23 more.”.
- **02** When the source has headings, the agent prioritizes “文件结构 / 记忆分类 / 1. 静态设定(长期有效)” so the result follows the author’s structure.
- **03** Typical output includes task judgment, concrete steps, required commands or file edits, validation, and follow-up options.
- **04** Risk context follows the fingerprint: read files, write/modify files; mostly runs locally; usually needs no extra API key.
## Running Rules
- read files, write/modify files; mostly runs locally; usually needs no extra API key.
- Validate with a small sample before expanding scope.
- Return the result, validation criteria, and next iteration options. The source does not require a stable slash command. After installation, invoke the skill by name and describe the task.
Name target files or source material, expected output, forbidden changes, and whether network or shell access is allowed. Permission fingerprint: read files, write/modify files.
Start with a small task and check whether the result follows “文件结构 / 记忆分类 / 1. 静态设定(长期有效)”. Inspect diffs, logs, previews, or tests before expanding scope.
Confirm the final output includes a concrete result, evidence, and next action. If it stays generic, tighten inputs, boundaries, and acceptance criteria.
---
name: novel-memory
description: 你已被注入 novel-memory 技能。本技能指导如何使用工作区文件系统作为小说创作的持久化记忆。 ├── plan.md # 总控大纲(由 novel-worldbuilding 生成)…
category: other
source: wanikua/danghuangshang
---
# novel-memory
## When to use
- 你已被注入 novel-memory 技能。本技能指导如何使用工作区文件系统作为小说创作的持久化记忆。 ├── plan.md # 总控大纲(由 novel-worldbuilding 生成) │ ├── characters.md #…
- Use it when the task has clear inputs, repeatable steps, and validation criteria.
## What to provide
- Target material, scope, expected result, and forbidden changes.
- Whether network, commands, file writes, or external services are allowed.
## Execution rules
- Organize steps around “文件结构 / 记忆分类 / 1. 静态设定(长期有效)” and keep inference separate from source facts.
- read files, write/modify files; mostly runs locally; usually needs no extra API key.
- Validate with a small sample before expanding the task.
## Output requirements
- Return the deliverable, key evidence, validation method, and next action.
- Mark missing information as unknown; do not invent commands, platforms, or dependencies. The author source anchors workflow facts; repository files anchor sources and commands; Fluxly only adds fit, limitations, and quality judgment.
skill "novel-memory" {
input -> user goal + target files + boundaries + acceptance criteria
context -> 文件结构 / 记忆分类 / 1. 静态设定(长期有效)
rules -> SKILL.md triggers / order / output contract
runtime -> no special runtime | read files, write/modify files | mostly runs locally
guardrails -> usually needs no extra API key + small-sample validation + diff/log review
output -> copyable result + checklist + next iteration
} 小说记忆系统
你已被注入 novel-memory 技能。本技能指导如何使用工作区文件系统作为小说创作的持久化记忆。
文件结构
novel/{书名}/
├── plan.md # 总控大纲(由 novel-worldbuilding 生成)
├── 设定/
│ ├── characters.md # 人物档案(全部角色)
│ ├── world.md # 世界观规则
│ ├── foreshadowing.md # 伏笔台账
│ ├── timeline.md # 时间线
│ └── relations.md # 人物关系网络
├── 正文/
│ ├── 第1章_标题.md
│ └── ...
└── summary/
├── chapter_01.md # 章节摘要
└── ...
所有路径基于工作区根目录。文件即记忆,目录即分类。
记忆分类
1. 静态设定(长期有效)
存储于 novel/{书名}/设定/ 目录:
| 文件 | 内容 |
|---|---|
characters.md |
人物档案:姓名、年龄、外貌、性格、背景、动机、能力 |
world.md |
世界观:力量体系、科技水平、政治制度、地理环境 |
relations.md |
关系网络:角色间关系类型、阵营、势力层级 |
2. 动态日志(按章推进)
| 文件 | 内容 |
|---|---|
summary/chapter_XX.md |
每章摘要:核心事件、角色状态变化、新/回收伏笔 |
设定/foreshadowing.md |
伏笔台账:ID、描述、埋设章节、预计回收章节、状态 |
设定/timeline.md |
时间线:故事内时间进度、各章时间跨度 |
设定/characters.md |
角色当前状态(追加更新,不覆盖历史) |
操作规范
读取(每章开始前必做)
- 读取上一章摘要:
summary/chapter_XX.md - 读取角色当前状态:
设定/characters.md末尾的最新状态段 - 读取未回收伏笔:
设定/foreshadowing.md中状态为"未回收"的条目 - 读取时间线:
设定/timeline.md获取当前故事时间
查询技巧:当需要搜索特定设定时,用 grep 在 设定/ 目录下搜索关键词。
写入(每章完成后必做)
- 创建本章摘要文件:
summary/chapter_XX.md - 更新角色状态:在
设定/characters.md中追加变化记录 - 更新伏笔台账:
设定/foreshadowing.md中标记新增/回收 - 推进时间线:
设定/timeline.md中记录本章时间
初始化(新书启动时)
- 创建
novel/{书名}/设定/目录及所有初始文件 - 填入初始人物档案、世界观、空伏笔台账、时间线起点
- 创建
novel/{书名}/正文/和summary/目录
操作原则
- 即时记录:定义新实体/规则时立即写入对应文件
- 更新同步:设定演变时及时更新,保持文件与正文一致
- 避免冗余:只记录核心的、长期有效的信息
- 防遗忘:依赖文件而非记忆,第 100 章时读文件就能回忆第 1 章的设定
- 追加优先:角色状态变化用追加而非覆盖,保留变化历史
伏笔台账格式
设定/foreshadowing.md 中每条伏笔格式:
### F001: {伏笔描述}
- 埋设:第 X 章,{具体场景描述}
- 预计回收:第 Y 章
- 状态:未回收 / 已回收(第 Z 章)
- 关联角色:{角色名}
查询流程
需要核实设定 → 读取 设定/ 下对应文件 → grep 关键词定位 → 获取信息
需要前文回顾 → 读取 summary/ 下近几章摘要 → 了解上下文
需要全局检查 → 遍历 设定/ 全部文件 → 交叉验证一致性
Decide Fit First
Design Intent
How To Use It
Boundaries And Review