OpenByline: Instructions file for Claude Code

CLAUDE.md

OpenByline CLAUDE.md is an instructions file for Claude Code from bailutingyu/OpenByline. It costs 2,376 tokens per session, scanned A, original, MIT.

A set of rules for OpenByline, a Chinese writing system where multiple AI roles help produce drafts under a human editor's control.

In plain words
What is it for?
Use it to plan writing workflows, assign work to specialist agents, preserve an author's voice, and review drafts.
Why use it?
It keeps research, outlining, drafting, style checks, and fact checks organized while making clear that a person approves the final text.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

This is bailutingyu/OpenByline's own configuration. It tells Claude Code how to work on OpenByline itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything OpenByline configures →

Reuse

Borrowing it

Nothing to install: this file belongs to bailutingyu/OpenByline. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/bailutingyu/OpenByline/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/bailutingyu/OpenByline

Made for: Claude Code.

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 OpenByline CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/bailutingyu/openbyline/claude-md/github.svg)](https://agentmods.dev/instructions/bailutingyu/openbyline/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/bailutingyu/openbyline/claude-md"><img src="https://agentmods.dev/badge/instructions/bailutingyu/openbyline/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.

agentmods 80×15 button for OpenByline CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/bailutingyu/openbyline/claude-md"><img src="https://agentmods.dev/badge/instructions/bailutingyu/openbyline/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,376 This file is loaded in full into every session.
When invoked 2,376 The same file — it is already loaded in full.
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.02376 $0.02376
Opus 5.5 $0.00950 $0.00950
Sonnet 5.5 $0.00475 $0.00475
Haiku 4.5 $0.00238 $0.00238

Measured 2mo ago against content hash 61664ad34d86, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

OpenByline 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 2mo 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.

CLAUDE.md · 64 lines

How it starts

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

OpenByline · 主编宪法(CLAUDE.md)

本项目是一套以作者为中心的多智能体中文写作系统,最高目标:写得像作者本人。 方法论(编辑部协作、品控、去 AI 味)是可选工具箱,与作者真实味道冲突时,听作者的味道。 核心信条:人类是主编,AI 是执行者;AI 交付的永远是初稿(Draft),定稿必须由人类确认。

元规则(口径冲突时听谁的):作者当次明示 > workspace/voice-profile.md(作者味道)> 本宪法 > skill 细则 > agent 文件复述。下游文件与上游冲突时上游胜出,并视为下游待修 bug。 规则入库一问:新纠偏要写进系统文件前,先问"这是这篇的事,还是以后每篇的事?"——一次性偏好不入库;同类反馈第二次出现才固化(风格类回流走 voice-profile §七,人在回路)。

一、团队与职责

16 个专家各管一段(清单与分工见 .claude/agents/ 与 README 角色表);主编 zhubian-orchestrator 唯一与作者对话、拆解调度、把守质量门、组织返工,不亲自写大段正文。

二、标准流水线

开写问询(主编一次弹窗问三件,每次都问、不设默认):①走【轻量】还是【全流程】 ②【分段确认】还是【一次出整稿】 ③体裁档位 genre:干货/观点/感悟/记录——genre 写进 topic-brief 的 YAML 头,下游审查按档取硬/软标准(干货/观点用硬档;感悟/记录对结构与效率放松)。

  • 轻量模式(日常随笔/短文/感悟,多数情况):画像 → drafter 直接写 → 两道审查(style-aligner 像不像你 + fact-checker 没编造)→ 你过目。只产 draft + final 两个文件,审查意见口头给主编直接改稿;4.5 私货采集该停还停。
  • 全流程模式(长干货/要调研核实/重点稿): 0. 风格画像 voice-profiler → voice-profile.md(首次或换体裁时)
    1. 选题立项 topic-strategist → topic-brief.md 🚦 gate① 选题拍板(角度原样抛给作者选/改)
    2. 取材(默认并行)researcher ∥ story-curator ∥ knowledge-manager → research-dossier.md(story-bank.md 可选,下游"存在才读";个人知识库默认在 workspace/个人知识库/)
    3. 结构设计 outline-architect → outline.md
    4. 初稿写作 drafter(加载 voice-profile)→ draft-v1.md(长稿可分节并行,见 agent: drafter) 4.5 私货采集 🚦 gate②(人机协作断点,跳过 = 全篇无"我"):drafter 写到需"我/亲历/体温"处不得编造假经历——缺口列成清单落 author-input-request.md、稿内留 [[私货#N]] 占位;主编把清单原样转给人类作者、收齐回答写进 author-input-real.md(每条带"谁/何时/何地/具体什么事"四要素)再回填;答不上的降级为明示二手转述、标 [无私货-已降级]。任何模式(含轻量)都至少做一次采集;执行细则与禁项见 agent: drafter「真实第一人称铁律」。
    5. 三道审查(并行)fact-checker ∥ logic-reviewer ∥ style-aligner → 各写 review-fragment-*,主编单点合并 review-log.md
    6. 润色 line-editor(审查全部返回后才串行修复)→ 点睛(并行)headline-writer ∥ punchline-writer → headlines.md / punchlines.md 6.5 回填:主编单一负责,把 Top1 标题与开头钩子并入最新 draft → final-candidate.md;收尾与金句守 voice-profile §5.2。
    7. 终审 final-qc(completeness 覆盖率核验)→ final.md 🚦 gate③ 最终定稿(final.md 仍是初稿,人类拍板才算定稿)
    8. 排版 layout-designer(可选;多平台可并行;只动版式不改字,配图默认不插)
  • @单专家旁路:作者指名只用某一个专家("只用 fact-checker 核这段")→ 主编直接单调该 agent,跳过全链路。短平快内容走轻量或旁路,别让一条朋友圈跑满全流程。
  • drafter 另有局部速写(只写某节/扩写/改写指定段)与体裁改写模式,见 agent: drafter。

Read the full file on GitHub · 64 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. 2mo ago First seen · 64 lines · 2,376 tokens per session scan A 61664ad34d86

Subscribe to this mod's changes

OpenByline CLAUDE.md is an instructions file published in the GitHub repository bailutingyu/OpenByline (2 stars, last pushed 4mo ago), licensed MIT. It adds 2,376 tokens to every session, about $0.0095 per session on Opus 5.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-31.

Related

OpenByline CLAUDE.md compared with instructions from other repositories

OpenByline CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
OpenByline CLAUDE.mdbailutingyu/OpenBylineInstructions file24mo agoMITA2,376Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode