live-editor

live-editor is a skill for Claude Code, Codex from NotNull92/hera-agent-unity. It costs 21 tokens per session (475 once invoked), scanned A, original, Apache-2.0.

A skill for controlling and checking a running Unity Editor, the application used to build Unity games and interactive projects. It uses the hera-agent-unity command-line tool to inspect scenes, assets, code, tests, and console errors.

In plain words
What is it for?
Use it to inspect or change Unity scenes and assets, refresh compilation, read console errors, run Play Mode tests, and capture the game view.
Why use it?
It gives an agent a repeatable way to verify changes in the actual Unity project, including compilation, play mode, and recent errors.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/notnull92/hera-agent-unity/live-editor
Any agent
npx skills add NotNull92/hera-agent-unity --skill live-editor
Clone the repo
git clone --depth 1 https://github.com/NotNull92/hera-agent-unity

Made for: Claude Code, Codex.

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 live-editor

README.md
[![agentmods](https://agentmods.dev/badge/skills/notnull92/hera-agent-unity/live-editor.svg)](https://agentmods.dev/skills/notnull92/hera-agent-unity/live-editor)
Your own site
<a href="https://agentmods.dev/skills/notnull92/hera-agent-unity/live-editor"><img src="https://agentmods.dev/badge/skills/notnull92/hera-agent-unity/live-editor.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 475 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00021 $0.00475
Opus 5 $0.00010 $0.00237
Sonnet 5 $0.00004 $0.00095
Haiku 4.5 $0.00002 $0.00047

Measured 3d ago against content hash 8544b7f5832b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

live-editor 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.

plugins/hera-unity/skills/live-editor/SKILL.md · 53 lines

What it actually says

Hera Unity live editor

Use hera-agent-unity whenever work depends on the real Unity Editor state. Prefer dedicated commands over arbitrary C# execution.

Bootstrap

Run these commands in order when first connecting:

hera-agent-unity doctor --json
hera-agent-unity status
hera-agent-unity list --compact

Report the project, port, Unity version, state, and tool count. If more than one Editor is open, bind later calls with the full normalized --project path. If Unity is unreachable, ask the user to open the project with the connector installed.

Working loop

  1. Read only the state needed for the task.
  2. Apply the scene, Inspector, asset, or code change.
  3. Compile or re-read the changed state.
  4. Check recent console errors.
  5. Run focused tests or Play Mode checks when behavior changed.

Useful commands:

hera-agent-unity scene info
hera-agent-unity console --type error --lines 20
hera-agent-unity editor refresh --compile
hera-agent-unity editor play --wait
hera-agent-unity test --mode PlayMode
hera-agent-unity screenshot --view game

Efficiency and safety

  • Use list --compact, bounded console reads, and shallow exec --depth 1 responses.
  • Prefer scene, console, editor, test, describe_type, and other dedicated commands over exec.
  • Batch related side effects into one exec; return null or omit the return.
  • Never return a UnityEngine.Object directly. Return only the fields needed.
  • Prefer call <tool> --json ... when a dynamic tool needs strict live-schema validation.
  • Branch on structured error code, not message text; refresh discovery after CATALOG_STALE.
  • Throw or use --strict when a logical failure must produce a non-zero exit.
  • Treat input commands as Unity EventSystem QA, not proof of a physical OS click.

The complete command and agent guide is at https://github.com/NotNull92/hera-agent-unity/blob/main/AGENTS.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. 3d ago First seen · 53 lines · 21 tokens per session scan A 8544b7f5832b

Subscribe to this mod's changes

live-editor is a skill published in the GitHub repository NotNull92/hera-agent-unity (28 stars, last pushed 15d ago), licensed Apache-2.0. It adds 21 tokens to every session and 475 once invoked, about $0.0001 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-30.

Related

Other skills, from other repositories

unity-cli

Drive a live Unity Editor or Player with unity-cli. Use when a task must inspect or change Unity scenes, GameObjects, components, transforms, prefabs, materials, ScriptableObjects, project assets, play mode, screenshots, profiler recording, Unity Test Framework runs, or execute C# inside Unity; also use for Unity…

niqibiao/unity-cli-skill · 105 tokens

unity-mcp-orchestrator

Orchestrate Unity Editor via MCP (Model Context Protocol) tools and resources. Use when working with Unity projects through MCP for Unity - creating/modifying GameObjects, editing scripts, managing scenes, running tests, or any Unity Editor automation. Provides best practices, tool schemas, and workflow patterns for…

CoplayDev/unity-mcp · 72 tokens

blender-to-unity

Hand off a model from Blender (via BlenderMCP) into Unity (via MCP for Unity) — export the current Blender model, import it through importmodelfile, and place it in the open scene. Use when the user has BlenderMCP and MCP for Unity both connected and wants to bring a Blender model into Unity. Does NOT drive Blender's…

CoplayDev/unity-mcp · 91 tokens

mcp-source

Switch MCP for Unity package source in connected Unity projects. Use /mcp-source [main|beta|branch|local] to swap between upstream releases, your remote branch, or local dev checkout.

CoplayDev/unity-mcp · 44 tokens

unity

Compile, test, and drive Unity for this repo's C# packages (unity/core, jint, quickjs, clearscript) and the two Unity projects (tests/, kitchen-sink/). Use when a change touches C# under unity/, when Unity test results are needed, when a rendering snapshot has to be checked or regenerated, or when the app has to be…

ReactUnity/core · 108 tokens

uloop-execute-dynamic-code

Execute C# with Unity APIs when existing uloop tools cannot inspect or edit enough. Use for reachable scene/component state, scene/prefab/menu automation, and PlayMode checks.

hatayama/unity-cli-loop · 43 tokens