core: Instructions file for Claude Code

CLAUDE.md

core CLAUDE.md is an instructions file for Claude Code from ReactUnity/core. It costs 7,004 tokens per session, scanned A, original, MIT.

Repository instructions for ReactUnity/core, a project that lets React interfaces run inside Unity 3D, including its package layout, workspace commands, and release process. A monorepo is a single repository containing several related packages and projects.

In plain words
What is it for?
Use it when changing ReactUnity packages, pnpm workspace membership, Unity packages, GitHub Actions workflows, releases, or documentation.
Why use it?
It explains which parts of the repository belong to the npm and Unity package groups and points out workflow details that should be read before changing CI. This reduces mistakes in a repository merged from several earlier projects.

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 ReactUnity/core's own configuration. It tells Claude Code how to work on core 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 core configures →

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/reactunity/core/claude-md"><img src="https://agentmods.dev/badge/instructions/reactunity/core/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 7,004 This file is loaded in full into every session.
When invoked 7,004 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.07004 $0.07004
Opus 5.5 $0.02802 $0.02802
Sonnet 5.5 $0.01401 $0.01401
Haiku 4.5 $0.00700 $0.00700

Measured 3d ago against content hash 5169d826c570, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

core 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 3d 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 · 233 lines

How it starts

The opening of the file, as written. The whole thing — 233 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.

What this repo is

ReactUnity: a React renderer that draws UI inside Unity3D (UGUI, UIToolkit, and the Unity Editor) without a DOM. This is a monorepo formed by merging ~10 previously separate ReactUnity repos (renderer, scripts, material, create, core, jint, quickjs, clearscript, docs, tests, full-sample (now kitchen-sink/), samples) with their histories preserved — see the chore: merge X into Y commits. Much of the layout only makes sense in that light, and the workflow files under .github/workflows/ carry detailed comments explaining why each piece is shaped the way it is. Read those before changing CI.

Two package universes

npm (packages/*) UPM / Unity (unity/*)
Members @reactunity/renderer, scripts, material, create com.reactunity.core, jint, quickjs, clearscript
Consumed by the user's React app the user's Unity project
Published by .github/workflows/release-npm.yml (Tegami + npm OIDC) .github/workflows/release-upm.yml (manual dispatch, orphan branch per package)

All eight share one version number (currently 0.22.0). Tegami bumps packages/*; the syncUnityVersions plugin in scripts/tegami.mts copies that version into the four unity/*/package.json manifests.

unity/*/package.json files are UPM manifests, not npm manifests. Their dependencies are Unity package names (com.unity.editorcoroutines). They are deliberately excluded from the pnpm workspace — adding them would send pnpm to the npm registry looking for Unity packages.

pnpm workspace membership

Defined in pnpm-workspace.yaml, which documents every inclusion and exclusion. Members are: packages/*, unity/core/.react/* (three React apps embedded in the core Unity package; the .react dot-prefix hides them from Unity's asset importer), kitchen-sink/react, and docs.

Read the full file on GitHub · 233 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. 3d ago Changed · +35 tokens per session 5169d826c570
  2. 1mo ago Changed · +1 tokens per session b5f19eb8c86c
  3. 1mo ago Changed · +17 tokens per session 47255ce390be
  4. 1mo ago Changed · +40 tokens per session 61b097ca9d5a
  5. 1mo ago Changed · +17 lines · +837 tokens per session 42b65a58587f
  6. 2mo ago Changed · +39 tokens per session 66d7c9b63447
  7. 2mo ago Changed · +21 tokens per session 66ba777b02b5
  8. 2mo ago First seen · 216 lines · 6,014 tokens per session scan A 01b94082bdd2

Subscribe to this mod's changes

core CLAUDE.md is an instructions file published in the GitHub repository ReactUnity/core (904 stars, last pushed 4d ago), licensed MIT. It adds 7,004 tokens to every session, about $0.0280 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-30.

Related

core CLAUDE.md compared with instructions from other repositories

core CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
core CLAUDE.mdReactUnity/coreInstructions file9044d agoMITA7,004Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,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