hera-agent-unity: Instructions file for Claude Code

CLAUDE.md

hera-agent-unity CLAUDE.md is an instructions file for Claude Code from NotNull92/hera-agent-unity. It costs 11,255 tokens per session, scanned A, original, Apache-2.0.

A project instruction file for a Unity command-line tool that lets coding agents control the Unity Editor. It also documents how Claude and Codex share development work.

In plain words
What is it for?
Use it when developing or maintaining the Unity tool, checking live Unity behavior, or handing work between Claude and Codex.
Why use it?
It gives different coding agents a shared set of rules, design decisions, and handoff notes, reducing conflicting changes and repeated investigation.

Instructions file for Claude Code

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

This is NotNull92/hera-agent-unity's own configuration. It tells Claude Code how to work on hera-agent-unity 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 hera-agent-unity configures →

Reuse

Borrowing it

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

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 hera-agent-unity CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/notnull92/hera-agent-unity/claude-md"><img src="https://agentmods.dev/badge/instructions/notnull92/hera-agent-unity/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11,255 This file is loaded in full into every session.
When invoked 11,255 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.11255 $0.11255
Opus 5.5 $0.04502 $0.04502
Sonnet 5.5 $0.02251 $0.02251
Haiku 4.5 $0.01125 $0.01125

Measured today against content hash d6a237cd288c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

hera-agent-unity 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 today.

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 · 543 lines

How it starts

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

hera-agent-unity

See AGENTS.md for the canonical cross-tool agent rules file (read natively by Codex, Claude Code, Cursor, Copilot, and 30+ tools).

CLI tool to control Unity Editor from the command line. Unified successor to hera-agent + hera-agent-pro. All features ship free under Apache-2.0.

협업 개발 (Claude ↔ Codex)

hera-agent-unity는 Claude(Claude Code)와 Codex가 협업해서 개발하는 프로젝트다. 목표는 완벽한 hera를 함께 만드는 것 — 한 에이전트가 놓친 것을 다른 에이전트가 잡는다. (이건 hera를 사용하는 이야기가 아니라 hera라는 도구 자체를 개발하는 협업 원칙이다.)

  • git 히스토리 = 공유 인계 채널. Codex는 대화 맥락이 아니라 git 커밋 히스토리로 프로젝트 상태를 파악한다. 그래서 작업은 명확한 conventional-commit 메시지로 커밋하고, 큰 기능은 docs/CODEX_HANDOFF_*.md 같은 인계 문서를 남겨 다음 에이전트가 이어받게 한다.
  • 교차검증. 한쪽이 구현하면 다른 쪽이 리뷰·검증하는 것을 기본으로 한다. 자기 작업을 자기가 승인하지 않는다.
  • 공통 규약 준수. 둘 다 이 CLAUDE.md(설계 의도·체크리스트·"이미 처리된 항목" 표)와 AGENTS.md(hera 사용 규약)를 따르고, 🔒 잠긴 설계 결정을 존중한다.
  • 정확성 우선. 추측 대신 실측으로 근거를 만든다 — hera-agent-unity로 라이브 Unity를 확인하고, 버전별 사실은 바이너리 리플렉션에서 뽑는다.

설계 의도

기존 Go CLI와 localhost HTTP Unity Connector가 실행 코어라는 결정은 유지한다 🔒. HttpServer, CommandRouter, ToolDiscovery, Heartbeat, Unity main-thread queue, 파일버스 복구 경로를 교체하거나 Unity Connector 안에 별도 프로토콜/실행 엔진을 구현하지 않는다.

CLI + MCP adapter migration의 M0부터 M17까지 PASS였다 🔒. 기존 바이너리 안의 선택적 Go stdio MCP adapter는 같은 실행 코어 앞에 있었고 Connector를 대체하거나 도구 정의를 분기하지 않았다. M17에서 열네 개 section 28.3 시나리오와 복구 증거를 완결하고 독립 PASS B 승인을 받았으며, 그 판단대로 Typed CLI와 기존 CLI가 production default이고 MCP는 experimental·default-off로 남았다. 이 lock은 Step 6 M1-d로 종료됐다: 사용자 승인 아래 CLI v0.3.0이 adapter와 HERA_MCP_* 표면을 제거했다(→ docs/report/plan-step6-application-2026-10-17.md). 남는 결정은 "에이전트 표면은 CLI 하나"이며, MCP 서버를 되살리거나 두 번째 프로토콜 경로를 만들자는 제안은 새 승인 없이는 모델 밖이다.

이유:

  • 런타임 의존성 0개 — 사용자는 바이너리 하나 + UPM 패키지 하나만 설치
  • Stateless — 모든 요청이 독립적이라 세션·재연결 로직 불필요
  • 도메인 리로드를 파일시스템 버스(~/.hera-agent-unity/instances/, status/)로 우회
  • 어떤 셸·AI 에이전트·스크립트에서도 호출 가능 (호스트 프로토콜에 묶이지 않음)

MCP migration ledger (historical, closed)

  • Authoritative implementation specification: docs/CODEX_MCP_MIGRATION_IMPLEMENTATION.md
  • Milestone evidence and rollback ledger: docs/MCP_MIGRATION_PROGRESS.md
  • 현재 상태: M0부터 M17까지 PASS였고, 이후 사용자 승인 아래 M1-d가 adapter를 제거했다. mcp 명령, HERA_MCP_* 환경변수, internal/mcpserver, server.json, mcp-publish.yml은 존재하지 않는다. 제거 이후 이 lock이 보존하는 것은 표면이 아니라 계약이다: 정규화된 tool contract registry, 승인, operation ledger, durable task 결과, 그리고 CLI=단일 진입점.
  • 보존 경계: 기존 Go CLI, localhost HTTP Connector, single-selected-target model, main-thread serialization, heartbeat discovery, package/test file bus, CLI/Connector 독립 버전은 계속 잠금 상태다.

Read the full file on GitHub · 543 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. today Changed · +78 tokens per session d6a237cd288c
  2. yesterday Changed · +1 lines · +75 tokens per session 0708ffd178b5
  3. 1mo ago First seen · 542 lines · 11,102 tokens per session scan A 3c245def87ba

Subscribe to this mod's changes

hera-agent-unity CLAUDE.md is an instructions file published in the GitHub repository NotNull92/hera-agent-unity (29 stars, last pushed today), licensed Apache-2.0. It adds 11,255 tokens to every session, about $0.0450 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

Other instructions, from other repositories

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 · 9,649 tokens

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,384 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, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 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,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens

deno copilot-instructions.md

Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.

denoland/deno · 3,077 tokens