Borrowing it
Nothing to install: this file belongs to chenyuxiaojin/cyxj-remotion-starter. 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/chenyuxiaojin/cyxj-remotion-starter/main/CLAUDE.mdgit clone --depth 1 https://github.com/chenyuxiaojin/cyxj-remotion-starterWrote 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/chenyuxiaojin/cyxj-remotion-starter/claude-md)<a href="https://agentmods.dev/instructions/chenyuxiaojin/cyxj-remotion-starter/claude-md"><img src="https://agentmods.dev/badge/instructions/chenyuxiaojin/cyxj-remotion-starter/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/chenyuxiaojin/cyxj-remotion-starter/claude-md"><img src="https://agentmods.dev/badge/instructions/chenyuxiaojin/cyxj-remotion-starter/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.01319 | $0.01319 |
| Opus 5 | $0.00660 | $0.00660 |
| Sonnet 5 | $0.00264 | $0.00264 |
| Haiku 4.5 | $0.00132 | $0.00132 |
Grade A, and why
cyxj-remotion-starter 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 — 51 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
本文件给 Claude Code 用,是这个 Remotion 工作台脚手架的根路由。
这是一个「用 Claude Code 指挥 Remotion 出口播视频」的方法论骨架:三层架构 + hooks 守规矩 + skills 编排流程。它本身不是单个 Remotion 工程——仓库根没有 package.json,也不是渲染入口。实际出片在 template/(或你从它复制出的工程)里。
这份文件只回答四件事:站在仓库根时——该进哪里、不能做什么、规则去哪读、这套骨架怎么用。具体规则不写在这,在下面索引指向的真源里。
硬规则
- 新片从
template/起手:复制template/到一个新目录 →npm install→ 改props.json→ 渲。别把.tsx/package.json/ 素材散落到仓库根。 - 续作/迭代进已有工程目录里改,不另开目录。
- 仓库根禁跑
npm/npx remotion——没package.json,命令一律先cd进template/或你复制出的工程。 - 进任一出片工程前先读它自己的
CLAUDE.md/README.md——视觉禁区、流程禁区、组件约定在那,本文件不重复。 - 改
.tsx/props.json/ 镜头前必走官方核查——三查提醒由official-check-reminderhook 每轮注入,写不出核查内容 = 没查 = 不许改。纯聊天/问答轮不强制。 - 用 React + Remotion 帧驱动体系(
interpolate/spring/Sequence/<Audio>为主)——所有动效必须useCurrentFrame()驱动;不用 GSAP / CSS 动画(红线见docs/HARD_RULES.md)。 - 造画面默认原生先行;复用是判断后的主动选择,不是开工反射。 用户说要「新镜头 / 新效果」时,默认就是真造——不许先翻库、拿「有个差不多的」把人劝退。完整 5 步判断在 overlay skill
cyxj-remotion-overlay。
三层真源索引(规则/资产都在这些里,本文件不复制)
- L0 官方层 —— 官方写法 / API / CLI 一律走这,别凭记忆:
skill
remotion-best-practices(npx skills add remotion-dev/skills)、MCPremotion-documentation(npx @remotion/mcp@latest) - L1 共享层(kit) —— 引擎级组件、5 个基础镜头、设计 token、schema、硬规则:
kit/CLAUDE.md(它自带"要找什么 / 在哪"的索引) - L2 出片层 —— 怎么开新片、怎么出片:
起手模板
template/CLAUDE.md+ 每个工程自己的CLAUDE.md/README.md
目录路由
| 在哪 | 是什么 |
|---|---|
kit/ |
L1 共享真源:引擎级组件 / 基础镜头 / 设计 token(占位)/ schema |
template/ |
起手模板(复制它开新片) |
docs/HARD_RULES.md |
硬规则唯一真源(框架红线) |
.claude/hooks/ |
7 个守规矩钩子(硬规则拦截 / 渲染前确认 / 收工 typecheck+进化闸) |
.claude/agents/ |
remotion-rule-reviewer(渲染前语义审) |
.claude/skills/ |
3 个流程 skill(produce 编排 / overlay 画面 / evolve 沉淀) |
这套骨架怎么用(hooks + skills)
- hooks(
.claude/settings.json已接好,7 个):写.tsx前拦机械红线(hard-rules-guard);每轮把官方核查顶到眼前(official-check-reminder);跑渲染命令前弹确认(render-guard);收工前在改过的工程里跑tsc(typecheck-on-stop)、并在动了代码没动文档时提醒沉淀(evolve-on-stop+ 两个record-*记账)。 - skills(
.claude/skills/):cyxj-remotion-produce管一条片的 8 阶段顺序;cyxj-remotion-overlay管一段画面怎么做(原生先行 vs 复用);cyxj-remotion-evolve管把学到的回写规则。
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 · 51 lines · 1,319 tokens per session scan A 25dc76b904f6
cyxj-remotion-starter CLAUDE.md is an instructions file published in the GitHub repository chenyuxiaojin/cyxj-remotion-starter (6 stars, last pushed 2mo ago), licensed MIT. It adds 1,319 tokens to every session, about $0.0066 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.
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).