Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/Xiaoyangy/novel-studionpx agentmods add skills/xiaoyangy/novel-studio/reviewWrote 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/skills/xiaoyangy/novel-studio/review)<a href="https://agentmods.dev/skills/xiaoyangy/novel-studio/review"><img src="https://agentmods.dev/badge/skills/xiaoyangy/novel-studio/review/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/skills/xiaoyangy/novel-studio/review"><img src="https://agentmods.dev/badge/skills/xiaoyangy/novel-studio/review.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.00242 | $0.08578 |
| Opus 5.5 | $0.00097 | $0.03431 |
| Sonnet 5.5 | $0.00048 | $0.01716 |
| Haiku 4.5 | $0.00024 | $0.00858 |
Grade A, and why
ai-novel-audit 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 3mo 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.
This is a copy
88% identical to smart-search — 347 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 296 lines — stays where its author put it; the contents beside it link to each section on GitHub.
小说 AI 创作度审核
帮助评估一段叙事性文本(小说、故事、散文片段、网文章节等)有多大可能由 AI 生成,或 AI 参与了多少创作。产出一份带证据的概率性评估报告,而非一句「是/否」的判决。
先读这一段:关于可靠性(非常重要)
任何 AI 文本检测都不可靠,本技能也不例外。 在写报告和与用户沟通时,必须始终守住这条底线,原因是:
- 会误伤:非母语写作者、刚学写作的人、翻译腔文本、某些本就高度套路化的类型文(言情、玄幻网文)天然会触发很多「AI 信号」,但完全是人写的。
- 会漏判:AI 被特意提示「写得像人」、或人工把 AI 初稿改透了,信号会被抹掉。
- 人能写得像 AI,AI 能写得像人:文风信号是统计倾向,不是指纹。
- 后果严重:用它去指控学生作弊、判定参赛作品、否定一个作者,可能造成真实伤害。
因此:
- 报告永远给出**「AI 创作度区间 + 置信度」**,而不是一个精确的、像是铁证的数字。
- 措辞用「呈现出与 AI 生成一致的特征」「疑似」「倾向于」,不要用「这就是 AI 写的」。
- 凡是高风险用途(学术诚信、比赛、合同纠纷),明确告知用户:文风分析不能单独作为定论依据,需要配合来源证据(写作过程稿、版本历史、修改痕迹、当场复现能力)。
- 如果文本太短(少于约 300 字)或信号互相矛盾,如实说置信度低,不要硬给高分。
工作流程
仓库内规范入口是 quality/audit/scripts/ 与 quality/audit/references/。本 skill 目录只保留流程说明,审核脚本和参考资料只维护在 quality/audit/。通过 novel-studio skills export --to <dir> 导出时,CLI 会把这些审核资源装配进导出产物的 review/ 目录。
1. 拿到文本
- 若用户上传了文件,先读它(
.txt/.md直接读;.docx/.pdf用对应技能提取纯文本)。 - 若文本已在对话里,直接用。
- 若文本很长(超过约 2 万字),不必逐字精读全文:全文跑量化脚本,同时抽取代表性样本精读——取开头、中段、结尾各 1–2 段,外加 1–2 段对话密集处和 1–2 段描写密集处。在报告里说明抽样方式。
2. 跑量化信号脚本
对全文运行(脚本只依赖标准库,无需联网):
python3 quality/audit/scripts/aigc_value.py <文本文件路径> --target 4
python3 quality/audit/scripts/text_signals.py <文本文件路径>
# 需要结构化结果时加 --json
# 只有用户主动给出腾讯朱雀/AIGC 外部平台抽查值时才原样带入;不得代替用户调用平台
python3 quality/audit/scripts/text_signals.py <文本文件路径> --external-aigc 0.8252
aigc_value.py 会给出本地自研 自研AIGC值(0-1 小数 + 百分比),也就是本文的最终 AI占比;引擎名为 codex-local-aigc-v4。它融合概率曲率、弱语言模型一致性、局部熵/TTR、风格计量、全局/局部语义、叙事动力、内容完整性和分片代理。text_signals.py 会给出句长突发度(CV)、用字多样度、套路措辞、重复长片段、标点习惯、本地与综合风险分。这些是客观可复算的风险证据,但不是作者身份判决。
2.0 内容优先硬原则
审核不是为了让低分文本看起来像合格正文。降 AI 味回改必须先保证剧情、人物、场景和读者读感,再处理检测通过性。以下内容一律视为内容完整性问题,不能作为降 AI 味手段:
- 无语义 OCR 脏码、随机汉字串、字符汤、无语法的长串名词。
- 连续堆叠的稀有神怪名词/怪字串,例如把“魑魅魍魉、饕餮、赑屃、狴犴、貔貅”等连成一行但不承担剧情信息。
- 密集拟声/重复符号长串,且不承担真实场景信息。
- 为制造熵波动而插入的无信息清单、乱码、词表或格式块。
- 数词与正文事实不一致的明显硬伤,例如“几个字:……”后面的实际汉字数量对不上。这类问题必须先改正文,不能被低 AIGC 分数覆盖。
- 顺序词悬空导致句意不明,例如“挂钟先停了”但后文没有“再/然后/随后”的参照。必须改成明确状态或补足顺序关系。
- 状态说明堆成逗号长句,例如“屏幕还亮着,表停在最后一行,批注还在”。这类句子信息没错但读感发硬,必须拆成清楚的动作/视线节奏。
- 开篇、章末或关键转折处硬贴库存明喻,例如“像一根刺”“像一把刀”“像被谁掐住喉咙”。这类句子不一定是 AIGC 证据,但属于读感问题,必须优先改成动作、声音、物件状态或后果。
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 3mo ago First seen · 296 lines · 242 tokens per session scan A 6525f3c5e237
ai-novel-audit is a skill published in the GitHub repository Xiaoyangy/novel-studio (169 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 242 tokens to every session and 8,578 once invoked, about $0.0010 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 88% identical to smart-search, differing in 347 lines, and is treated as a copy.
ai-novel-audit compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ai-novel-auditXiaoyangy/novel-studio | Skill | 169 | 2mo ago | Apache-2.0 | A | 242 | Claude Code, Codex |
| golang-patternsdeepelementlab/clawcode | Skill | 126 | 6mo ago | GPL-3.0 | A | 27 | Claude Code, Codex |
| golang-testingaffaan-m/ECC | Skill | 313k | 7d ago | MIT | A | 37 | Claude Code, Kiro |
| golang-patternsaffaan-m/ECC | Skill | 313k | 7d ago | MIT | A | 45 | Claude Code, Kiro |
| story-deslopzenstory-ai/oh-story-claudecode | Skill | 9.0k | yesterday | MIT | A | 70 | Claude Code |
| storyzenstory-ai/oh-story-claudecode | Skill | 9.0k | yesterday | MIT | A | 63 | Claude Code |
| ax-go-agent-optimizeax-llm/ax | Skill | 3.0k | today | Apache-2.0 | A | 51 | Claude Code, Codex |