cyxj-remotion-starter: Instructions file for Claude Code

CLAUDE.md

cyxj-remotion-starter CLAUDE.md is an instructions file for Claude Code from chenyuxiaojin/cyxj-remotion-starter. It costs 1,319 tokens per session, scanned A, original, MIT.

Repository instructions for a Remotion starter project, where React code is used to create videos frame by frame. The repository is a workflow guide rather than a complete video-rendering project.

In plain words
What is it for?
Use it to start or update Remotion video projects, prepare scenes and props, follow the project’s checks, and render videos from the correct project directory.
Why use it?
It explains where new video projects belong, which files contain the real rules and assets, and which animation and review practices the project expects.

Instructions file for Claude Code

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

This is chenyuxiaojin/cyxj-remotion-starter's own configuration. It tells Claude Code how to work on cyxj-remotion-starter 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 cyxj-remotion-starter configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/chenyuxiaojin/cyxj-remotion-starter/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/chenyuxiaojin/cyxj-remotion-starter

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 cyxj-remotion-starter CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/chenyuxiaojin/cyxj-remotion-starter/claude-md/github.svg)](https://agentmods.dev/instructions/chenyuxiaojin/cyxj-remotion-starter/claude-md)
Your own site
<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.

agentmods 80×15 button for cyxj-remotion-starter CLAUDE.md

Your own site · 80×15
<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>
Per session 1,319 This file is loaded in full into every session.
When invoked 1,319 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.01319 $0.01319
Opus 5 $0.00660 $0.00660
Sonnet 5 $0.00264 $0.00264
Haiku 4.5 $0.00132 $0.00132

Measured 11d ago against content hash 25dc76b904f6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

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.

CLAUDE.md · 51 lines

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/(或你从它复制出的工程)里。

这份文件只回答四件事:站在仓库根时——该进哪里、不能做什么、规则去哪读、这套骨架怎么用。具体规则不写在这,在下面索引指向的真源里。

硬规则

  1. 新片从 template/ 起手:复制 template/ 到一个新目录 → npm install → 改 props.json → 渲。别把 .tsx / package.json / 素材散落到仓库根。
  2. 续作/迭代进已有工程目录里改,不另开目录。
  3. 仓库根禁跑 npm / npx remotion——没 package.json,命令一律先 cdtemplate/ 或你复制出的工程。
  4. 进任一出片工程前先读它自己的 CLAUDE.md / README.md——视觉禁区、流程禁区、组件约定在那,本文件不重复。
  5. .tsx / props.json / 镜头前必走官方核查——三查提醒由 official-check-reminder hook 每轮注入,写不出核查内容 = 没查 = 不许改。纯聊天/问答轮不强制。
  6. 用 React + Remotion 帧驱动体系(interpolate/spring/Sequence/<Audio> 为主)——所有动效必须 useCurrentFrame() 驱动;不用 GSAP / CSS 动画(红线见 docs/HARD_RULES.md)。
  7. 造画面默认原生先行;复用是判断后的主动选择,不是开工反射。 用户说要「新镜头 / 新效果」时,默认就是真造——不许先翻库、拿「有个差不多的」把人劝退。完整 5 步判断在 overlay skill cyxj-remotion-overlay

三层真源索引(规则/资产都在这些里,本文件不复制)

  • L0 官方层 —— 官方写法 / API / CLI 一律走这,别凭记忆: skill remotion-best-practices(npx skills add remotion-dev/skills)、MCP remotion-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 管把学到的回写规则。

Read the full file on GitHub · 51 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. 11d ago First seen · 51 lines · 1,319 tokens per session scan A 25dc76b904f6

Subscribe to this mod's changes

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.

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,153 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

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,126 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

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