yiuimcp

yiuimcp is a skill for Codex from LiShengYang-yiyi/YIUI-UnityMCP. It costs 109 tokens per session (1,444 once invoked), scanned A, original, Apache-2.0.

A project-specific automation skill for Unity projects that include the `Packages/cn.etetet.yiuimcp` package. It uses PowerShell scripts as command-line entry points to drive Unity tasks.

In plain words
What is it for?
Compiling Unity projects, reading console logs and compile errors, running package-defined command-line flows, and calling YIUI MCP tools through scripts.
Why use it?
It avoids breaking Unity work into many separate low-level tool calls. A single script can handle a complete flow and return the result.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Compiling Unity projects, reading console logs and compile errors, running package-defined command-line flows, and calling YIUI MCP tools through scripts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lishengyang-yiyi/yiui-unitymcp/yiuimcp
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.

Any agent
npx skills add LiShengYang-yiyi/YIUI-UnityMCP --skill yiuimcp
Clone the repo
git clone --depth 1 https://github.com/LiShengYang-yiyi/YIUI-UnityMCP

Made for: 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 yiuimcp

README.md
[![agentmods](https://agentmods.dev/badge/skills/lishengyang-yiyi/yiui-unitymcp/yiuimcp/github.svg)](https://agentmods.dev/skills/lishengyang-yiyi/yiui-unitymcp/yiuimcp)
Your own site
<a href="https://agentmods.dev/skills/lishengyang-yiyi/yiui-unitymcp/yiuimcp"><img src="https://agentmods.dev/badge/skills/lishengyang-yiyi/yiui-unitymcp/yiuimcp/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 yiuimcp

Your own site · 80×15
<a href="https://agentmods.dev/skills/lishengyang-yiyi/yiui-unitymcp/yiuimcp"><img src="https://agentmods.dev/badge/skills/lishengyang-yiyi/yiui-unitymcp/yiuimcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 109 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,444 The whole file, excluding the scripts and references it only reads on demand.
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.00109 $0.01444
Opus 5 $0.00055 $0.00722
Sonnet 5 $0.00022 $0.00289
Haiku 4.5 $0.00011 $0.00144

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

Security

Grade A, and why

yiuimcp 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.

cn.etetet.yiuimcp/skills/yiuimcp/SKILL.md · 152 lines

How it starts

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

Yiuimcp

Overview

Packages/cn.etetet.yiuimcp/Config/*.ps1 视为首选自动化入口。优先使用“一条 CLI 流程命令返回最终结果”的方式,而不是把任务拆成多个低层 RPC 式调用。

这个 skill 只适用于包含 Packages/cn.etetet.yiuimcp 的 Unity 工程,不是通用 Unity skill。

Workflow

1. 先确认当前工程支持这个 skill

检查当前工作区里是否存在这些路径:

  • Packages/cn.etetet.yiuimcp/Config
  • Packages/cn.etetet.yiuimcp/UTO
  • Packages/cn.etetet.yiuimcp/UTO/.port

如果这些路径不存在,就不要继续使用这个 skill,回退到普通代码分析流程。

2. 优先使用最高层的 CLI 入口

优先选择语义最完整、最贴近任务目标的脚本:

  • 编译 / 编译验证: Packages/cn.etetet.yiuimcp/Config/compile-unity-flow.ps1

  • 读取控制台日志: Packages/cn.etetet.yiuimcp/Config/get_console_log.ps1

  • 读取编译结果风格的错误摘要: Packages/cn.etetet.yiuimcp/Config/get_console_error.ps1

  • 以自定义参数调用单个工具: Packages/cn.etetet.yiuimcp/Config/invoke-uto-tool.ps1

只有在下面这些情况才往下层走:

  • 用户明确要求修改编排实现
  • 当前需要的 flow 还不存在
  • 脚本本身行为异常或明显损坏

3. 从项目根目录执行脚本

工作目录使用项目根目录,调用方式类似:

powershell -ExecutionPolicy Bypass -Command "& '.\Packages\cn.etetet.yiuimcp\Config\compile-unity-flow.ps1' -Force 0 -NoWait 1"

注意:

  • 这些脚本使用的是 [bool] 参数
  • 命令行里优先传 10
  • 不要把 "$True""$False" 这种字面量字符串直接当普通文本传进去

4. 先理解每个脚本真实在做什么

  • compile-unity-flow.ps1 实际执行 StopPlayMode -> TriggerCompile -> GetCompileResult

  • get_console_log.ps1 实际调用 GetConsoleLog

  • get_console_error.ps1 虽然名字看起来像“获取错误日志”,但当前实际上调用的是 GetCompileResult,因此它更像“编译结果摘要”,不是原始错误日志抓取器

  • invoke-uto-tool.ps1 实际调用 UTO /call,是自定义工具调用的通用兜底入口

5. 自定义参数场景优先用 invoke-uto-tool.ps1

传参前,先把 JSON 参数编码成 UTF-8 Base64:

$json = '{"message":"Hello from script"}'
$base64 = [Convert]::ToBase64String([Text.Encoding]::UTF8.GetBytes($json))
& '.\Packages\cn.etetet.yiuimcp\Config\invoke-uto-tool.ps1' -Tool 'Log' -ParamsBase64 $base64 -NoWait 1

常见参数示例:

{"message":"text"}
{"Force":false}
{"menuPath":"Assets/Refresh"}
{"keyword":"编译完毕"}

6. 了解当前真实可用的工具面

这个包当前暴露的 Unity 侧工具包括:

  • Log
  • LogError
  • EnterPlayMode
  • StopPlayMode
  • TriggerCompile
  • GetCompileResult
  • GetConsoleLog
  • ExecuteMenu
  • AssertConsoleContains

Read the full file on GitHub · 152 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 152 lines · 109 tokens per session scan A 8fa91c59cbbe

Subscribe to this mod's changes

yiuimcp is a skill published in the GitHub repository LiShengYang-yiyi/YIUI-UnityMCP (58 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 109 tokens to every session and 1,444 once invoked, about $0.0005 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

gameobject-component-destroy

Destroy one or more Components from a target GameObject. Missing (null) components are skipped — they cannot be destroyed. Use 'gameobject-find' and 'gameobject-component-get' to identify the components first.

IvanMurzak/Unity-MCP · 49 tokens

unity-version-split

Split a C# file into Unity 6.5+ and pre-Unity 6.5 variants. Use when a file needs different implementations for different Unity versions due to API changes (e.g., EntityId vs int, GetEntityId vs GetInstanceID).

IvanMurzak/Unity-MCP · 59 tokens

godot-signals-groups

Build event-driven, decoupled Godot 4.7 gameplay with signals and node groups: declare and emit custom signals, connect with Callables (incl. bind/one-shot), and broadcast to many nodes via groups and callgroup. Use when wiring node communication in a Godot project, replacing tight references with signals…

gamedev-skills/awesome-gamedev-agent-skills · 95 tokens

unity-addressables

Manage Addressables groups, entries, profiles and content builds (com.unity.addressables, reflection-based).

Besty0728/Unity-Skills · 25 tokens

motion

How an agent turns a character mesh into a usable animated FBX — and how to judge whether the result is shippable.

OpenDCAI/GameFactory-3A · 0 tokens

threejs-exposure-color-grading

Build a measured exposure and grading path in Three.js. Use for a 64x36 encoded luminance meter, asynchronous readback, weighted log-average exposure, asymmetric adaptation, single tone-map ownership, and a generated 32-cube post-tone-map LUT.

scottstts/Threejs-Awesome-Graphics-Agent-Skills · 60 tokens