Borrowing it
Nothing to install: this file belongs to keyboardgdy/woke_novel. 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/keyboardgdy/woke_novel/main/CLAUDE.mdgit clone --depth 1 https://github.com/keyboardgdy/woke_novelWrote 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/keyboardgdy/woke_novel/claude-md)<a href="https://agentmods.dev/instructions/keyboardgdy/woke_novel/claude-md"><img src="https://agentmods.dev/badge/instructions/keyboardgdy/woke_novel/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/keyboardgdy/woke_novel/claude-md"><img src="https://agentmods.dev/badge/instructions/keyboardgdy/woke_novel/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.03733 | $0.03733 |
| Opus 5 | $0.01867 | $0.01867 |
| Sonnet 5 | $0.00747 | $0.00747 |
| Haiku 4.5 | $0.00373 | $0.00373 |
Grade A, and why
woke_novel 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 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.
How it starts
The opening of the file, as written. The whole thing — 111 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.
项目定位
woke_novel 是一个作者掌舵、驱动 Claude CLI / Codex CLI 写中文网文的工作流工具。运行器先用单问题访谈把作者欲望锁进 00_baseline/作者叙事契约.json,再按流水线顺序调用模型,让后续产物服从这份契约。
内容原则集中在 steps/00 小说性与题材校准.md,执行契约集中在 steps/00 系统提示词.md;修改模板前再结合 steps/00 流程编排.md。创作步骤只加载这一份内容原则,避免多份负面规则叠加。
三层架构
文件分工:
workflow_runner.py—WorkflowRunner(workflow_runner.py:62)+STEP_FILES/STEP_NAMES(workflow_runner.py:17,39)+ 日志/session 调度。path_resolver.py—PathResolver.resolve()(path_resolver.py:61)做模板变量替换,STEP_FILE_MAP(path_resolver.py:16)必须与STEP_FILES同步维护。project_info.py—ProjectInfo读 / 写projects/<name>/.project_info.json,是断点依据。narrative_contract.py— 持久化作者原话和八项逐题裁决;契约未锁定时所有创作步骤 fail-closed。project_structure.py— 项目首次构造时自动建出00_baseline/~04_characters/6 个子目录(project_structure.py:13)。run_workflow.py— 顶层 CLI(init/loop/continue/single/session)。cli.py—run_workflow.py init用的交互式提示模块(ask_genre/ask_project_name/ask_user_description/print_banner),所有loop/continue跑前都会先调它。menu.py(+menu.bat)— 交互式菜单,封装single/full_loop/continue三种入口。
每个步骤都走同一条三段管线:
- 模板加载 —
path_resolver.PathResolver.load_step_template()(path_resolver.py:128)读steps/<编号 名称>.md。 - 变量替换 —
WorkflowRunner.resolve_prompt()(workflow_runner.py:114)→PathResolver.resolve()(path_resolver.py:61)把{project}、{round}、{option_index}、{act_num}、{ref_works}、{prev_act_skeleton}等替换为绝对路径或值。任何新步骤模板如果要写入文件,路径必须用这些变量,禁止硬编码绝对路径。 - CLI 执行 —
WorkflowRunner.execute_step()(workflow_runner.py:125)把渲染好的 prompt 写入临时文件,用claude "@<temp>" --session-id/--resume <uuid>子进程跑(Windows 上shutil.which也会找claude.cmd/claude.bat),超时 1800s(30 分钟)。每一步日志写到logs/<name>/<seq>_step_<step>[_A<act>]_R<round>_C<session>.log(logs/与projects/平级,不再放在项目目录里;老项目里的projects/<name>/logs/保持原样不动)。
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.
- 9d ago First seen · 111 lines · 3,733 tokens per session scan A 2e9f0afab6c6
woke_novel CLAUDE.md is an instructions file published in the GitHub repository keyboardgdy/woke_novel (15 stars, last pushed 1mo ago), licensed MIT. It adds 3,733 tokens to every session, about $0.0187 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).
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).
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.
deepseek-harness AGENTS.md
AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.