Borrowing it
Nothing to install: this file belongs to YuppyChen/ai-novelist. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/YuppyChen/ai-novelist/main/CLAUDE.mdgit clone --depth 1 https://github.com/YuppyChen/ai-novelistWrote 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.
[](https://agentmods.dev/instructions/yuppychen/ai-novelist/claude-md)<a href="https://agentmods.dev/instructions/yuppychen/ai-novelist/claude-md"><img src="https://agentmods.dev/badge/instructions/yuppychen/ai-novelist/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.
<a href="https://agentmods.dev/instructions/yuppychen/ai-novelist/claude-md"><img src="https://agentmods.dev/badge/instructions/yuppychen/ai-novelist/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01442 | $0.01442 |
| Opus 5 | $0.00721 | $0.00721 |
| Sonnet 5 | $0.00288 | $0.00288 |
| Haiku 4.5 | $0.00144 | $0.00144 |
Grade A, and why
ai-novelist 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 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.
How it starts
The opening of the file, as written. The whole thing — 145 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
项目概述
这是一个 AI 辅助中文小说创作工作站,集成多个 Claude Code Skills,支持从大纲规划到成稿输出的完整创作流程。
核心技能 (Skills)
项目集成了以下 Claude Code Skills,通过 /skill-name 调用:
- chinese-novelist - 分章节创作中文小说(3000-5000字/章)
- humanizer-zh - 去除 AI 生成痕迹,24 种模式检测
- novelist-analyst - 叙事结构分析和角色弧光评估
- docx - Word 文档生成和编辑
- planning-with-files - 文件化任务规划(task_plan.md, findings.md, progress.md)
- frontend-design - 前端界面设计(用于阅读器等)
Python 环境
必须使用 uv 运行所有 Python 脚本:
# 添加依赖
uv add <package-name>
# 执行脚本
uv run <script.py>
Python 版本要求:>= 3.12
关键脚本
字数检查
# 检查单章
uv run .claude/skills/chinese-novelist/scripts/check_chapter_wordcount.py novels/<小说名>/第01章.md
# 检查全部章节
uv run .claude/skills/chinese-novelist/scripts/check_chapter_wordcount.py --all novels/<小说名>
阅读器生成
每个小说目录下有 build_reader.py,用于生成单文件 HTML 阅读器:
cd novels/<小说名>
uv run build_reader.py
项目结构
novelist-test/
├── novels/ # 小说作品目录
│ └── <小说名>/
│ ├── 00-大纲.md # 故事概述、章节规划
│ ├── 01-人物档案.md # 主角、反派、配角档案
│ ├── 02-风格参考手册.md # 仿写风格分析(可选)
│ ├── 03-审查报告.md # 质量审查结果(可选)
│ ├── 第01章.md # 章节正文
│ ├── build_reader.py # 阅读器生成脚本
│ └── reader.html # 生成的阅读器
├── references/ # 仿写参考作品
│ └── *.txt # 参考小说原文
├── qimao/ # 七猫平台相关资料
├── .claude/skills/ # Claude Code Skills
└── pyproject.toml # Python 依赖配置
创作工作流
标准创作流程(3 阶段)
- 阶段 1:规划 - 使用
chinese-novelist生成大纲和人物档案 - 阶段 2:创作 - 使用
chinese-novelist逐章创作,每章 3000-5000 字 - 阶段 3:润色 - 使用
humanizer-zh去除 AI 痕迹
仿写工作流(6 阶段)
- Phase 1:拆书分析 - 分析参考作品风格 →
02-风格参考手册.md - Phase 2:骨架搭建 - 使用
chinese-novelist生成大纲和人物档案 - Phase 3:逐章创作 - 使用
chinese-novelist串行执行,短剧爽文节奏(2500-3500字/章) - Phase 4:润色去AI - 使用
humanizer-zh检测,可并行处理 - Phase 5:质量审查 - 8 维度评分 + 连贯性检查
- Phase 6:输出成稿 - 合并章节 + 生成 Word 文档
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.
- 11d ago First seen · 145 lines · 1,442 tokens per session scan A c6d9c6144253
ai-novelist CLAUDE.md is an instructions file published in the GitHub repository YuppyChen/ai-novelist (92 stars, last pushed 4mo ago), licensed MIT. It adds 1,442 tokens to every session, about $0.0072 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.
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.
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.
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).
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.
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.
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).