uloop-execute-dynamic-code
Skill by CyberAgentGameEntertainment
Runs focused C# snippets with Unity APIs inside the active Unity Editor to inspect or change state that existing uloop tools cannot reach. It is for developers automating scene, prefab and menu tasks or running PlayMode checks.
Install uloop-execute-dynamic-code
Built from the published package, never by AI.
git clone --depth 1 https://github.com/CyberAgentGameEntertainment/NovaShader /tmp/NovaShader && mkdir -p ~/.claude/skills && cp -r /tmp/NovaShader/.claude/skills/uloop-execute-dynamic-code ~/.claude/skills/uloop-execute-dynamic-codeRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install uloop-execute-dynamic-code in Claude Code
git clone --depth 1 https://github.com/CyberAgentGameEntertainment/NovaShader /tmp/NovaShader && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/NovaShader/.claude/skills/uloop-execute-dynamic-code ~/.gemini/antigravity-cli/skills/uloop-execute-dynamic-codeAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install uloop-execute-dynamic-code in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill runs C# snippets in the active Unity Editor through the uloop execute-dynamic-code command. The assistant writes direct statements using Unity APIs, with no class or method wrapper, and the snippet can return a value. It is meant for cases where basic inspection tools are not enough, such as reading reachable scene and component state, editing values, automating scenes, prefabs and menus, and checking PlayMode behavior.
The skill also covers live state changes during a PlayMode session, such as writing a private field with reflection to get past a blocked path. It points to the uloop-pause-point skill for reading local variables in a paused method. Results come back as JSON with the return value, logs, compilation errors and partial results. The source says it works in both EditMode and PlayMode.
Written from the project's SKILL.md and checked against it.
What it can do
- execute-dynamic-codeRuns inline or file-based C# statements against Unity APIs in the active Editor.
- Scene and component inspectionReads reachable GameObjects, components, public properties, static values and method results.
- Scene, prefab and menu automationModifies Unity Editor state that existing uloop tools cannot change.
- Live PlayMode state fixesWrites fields directly during a running PlayMode session without recompiling or domain reload.
- Partial result captureSaves chosen values with UloopDynamicCodePartialResults.Set so they survive a later exception.
- Input tool routing guidanceExplains when to call UI handlers directly and when to use simulate-mouse-ui or simulate-mouse-input.
What you need
- Unity Editor running with the project open
- uloop command line interface
Try asking
- Use execute-dynamic-code to list the components on the selected GameObject.
- Set the private isReady flag to true in the running PlayMode session.
- Create a prefab from the selected scene object with a C# snippet.
Good to know
- Cannot read local variables or intermediate values inside an already-running method.
- Screen.width and Screen.height return Editor pixels, not Game View resolution.
- Snippets run synchronously on the main thread, so polling or sleeping inside them is not allowed.
- Progress may be throttled when Play Mode runs while the Editor is unfocused.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/uloop-execute-dynamic-code/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md8 KB -
references/shell-quoting.md1 KB -
references/transpiler-constraints.md710 B
Alternatives to uloop-execute-dynamic-code
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
uloop-execute-dynamic-code: common questions
Can this read local variables in a running Unity method?
Not directly. The source says local variables need the uloop-pause-point skill, which captures locals at a pause point without a code edit.
Does it work in PlayMode as well as EditMode?
Yes. The source says both EditMode and PlayMode are supported, and the snippet runs in whichever mode the Editor is in.
What happens to values if a snippet throws an exception?
Ordinary local variables are lost. Only values saved with UloopDynamicCodePartialResults.Set are returned in PartialResults.
How do I install uloop-execute-dynamic-code?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is uloop-execute-dynamic-code free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is uloop-execute-dynamic-code safe to use?
It scores 81 of 100. Grades: maintenance B, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to uloop-execute-dynamic-code?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
