claude-screenwriting: Instructions file for Claude Code

CLAUDE.md

claude-screenwriting CLAUDE.md is an instructions file for Claude Code from e06084/claude-screenwriting. It costs 716 tokens per session, scanned A, original, MIT.

Instructions for an Obsidian vault used as an AI-assisted screenwriting workspace. Obsidian is a note-taking app; the vault stores story structure, characters, source material, and metadata, using screenwriting theories such as Vogler and McKee.

In plain words
What is it for?
Use it to ingest source files, manage a story's beats and character cards, diagnose its structure, refactor or reimagine versions, and export outlines or screenplay plans.
Why use it?
It gives the agent rules for changing story material safely: read before writing, show differences before changes, keep sources traceable, and mark uncertain information instead of inventing it.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions Claude Code.

This is e06084/claude-screenwriting's own configuration. It tells Claude Code how to work on claude-screenwriting 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 claude-screenwriting configures →

Reuse

Borrowing it

Nothing to install: this file belongs to e06084/claude-screenwriting. 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/e06084/claude-screenwriting/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/e06084/claude-screenwriting

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 claude-screenwriting CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/e06084/claude-screenwriting/claude-md.svg)](https://agentmods.dev/instructions/e06084/claude-screenwriting/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/e06084/claude-screenwriting/claude-md"><img src="https://agentmods.dev/badge/instructions/e06084/claude-screenwriting/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 716 This file is loaded in full into every session.
When invoked 716 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.00716 $0.00716
Opus 5 $0.00358 $0.00358
Sonnet 5 $0.00143 $0.00143
Haiku 4.5 $0.00072 $0.00072

Measured 6d ago against content hash 7d0a1b075dd7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

claude-screenwriting 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 6d 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

What it actually says

Claude-Screenwriting 项目指令

这是什么

这是一个 Obsidian vault + Claude Code 编剧工作环境。Claude 在此 vault 中充当 AI 编剧助手,基于 Vogler/McKee/Save the Cat 理论维护结构化故事 wiki。

核心规则

  1. 所有故事结构操作必须基于编剧理论 — 不能随意发明结构,必须引用框架
  2. 先读后写 — 任何写入操作前必须先读取当前状态
  3. Diff 可见 — 结构变更先展示 diff,用户确认后再写入
  4. 来源可追溯 — 每个 insight 都能通过 backlink 追溯到素材来源
  5. 不编造 — 不确定的信息标记为 uncertain,不要凭空填充

Vault 结构

wiki/
├── index.md          # 故事主索引
├── hot.md            # 热缓存(当前上下文摘要)
├── log.md            # 操作日志
├── beats/            # 15 Beat 页面
├── characters/       # 角色卡页面
├── sources/          # 素材摘要页
└── meta/             # logline / genre / synopsis

可用命令

命令 功能
/screenwriting 初始化 vault 或查看当前状态
/screenwriting-ingest [file] 从素材文件抽取 beats/characters/meta + 生成 canvas
/screenwriting-beats 查看/编辑/生成 15-beat 表
/screenwriting-character [name] 查看/创建/编辑角色卡
/screenwriting-refactor [direction] 重构故事结构(带 diff)
/screenwriting-reimagine [direction] 基于现有版本创造性重构,生成全新版本
/screenwriting-lint 运行结构健康度诊断
/screenwriting-export [format] 导出大纲/人物表/剧本骨架

理论框架

  • Vogler 8 原型: Hero, Mentor, Ally, Shadow, Shapeshifter, Guardian, Herald, Trickster
  • McKee: 矛盾(surface/truth)、压力选择、Wants vs Needs、人物维度
  • Save the Cat: 15 beats、四大支柱、碎玻璃、六大缺陷

详见 skills/screenwriting/references/ 目录。

写入规范

  • Beat 文件命名: beat-{XX}-{中文名}.md(XX 两位数字)
  • 角色文件命名: {角色名}.md
  • 所有新页面末尾必须有 source backlink
  • log.md 为 append-only,每次操作追加一条记录

模板

所有新页面使用 _templates/ 目录下的模板创建:

  • beat-card.md — Beat 节拍卡
  • character-card.md — 角色卡(3 Tab 结构)
  • scene-card.md — 场景卡
  • logline.md — 故事基因
  • story-index.md — 主索引
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. 6d ago First seen · 64 lines · 716 tokens per session scan A 7d0a1b075dd7

Subscribe to this mod's changes

claude-screenwriting CLAUDE.md is an instructions file published in the GitHub repository e06084/claude-screenwriting (6 stars, last pushed 2mo ago), licensed MIT. It adds 716 tokens to every session, about $0.0036 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-31.

Related

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.

vercel/next.js · 7,296 tokens

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.

openai/codex · 5,182 tokens

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).

microsoft/vscode · 6,785 tokens

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).

microsoft/vscode · 5,001 tokens

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.

langchain-ai/langchain · 4,469 tokens

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.

github/spec-kit · 7,104 tokens