unity-script

unity-script is a skill for Claude Code from dyCuong03/unity-agent-team. It costs 241 tokens per session (3,093 once invoked), scanned A, original, MIT.

A Unity toolset for creating, reading, editing, searching, renaming, moving, and deleting C# scripts. It also reports compiler feedback and Unity Domain Reload state, which is the process Unity uses to reload code changes in the editor.

In plain words
What is it for?
It helps create gameplay or editor scripts, inspect and update existing C# files, search their contents, rename or move them, delete them, and review compile feedback.
Why use it?
It gives agents defined operations for changing scripts and checking whether those changes compile, while accounting for reloads and approval requirements.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is **DESIGN-FIRST**: Before creating gameplay scripts, actively consider coupling, performance, and maintainability. In an existing project, load `../project-scout.

Good fit It helps create gameplay or editor scripts, inspect and update existing C# files, search their contents, rename or move them, delete them, and review compile feedback.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/dyCuong03/unity-agent-team
agentmods
npx agentmods add skills/dycuong03/unity-agent-team/script

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 unity-script

README.md
[![agentmods](https://agentmods.dev/badge/skills/dycuong03/unity-agent-team/script/github.svg)](https://agentmods.dev/skills/dycuong03/unity-agent-team/script)
Your own site
<a href="https://agentmods.dev/skills/dycuong03/unity-agent-team/script"><img src="https://agentmods.dev/badge/skills/dycuong03/unity-agent-team/script/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 unity-script

Your own site · 80×15
<a href="https://agentmods.dev/skills/dycuong03/unity-agent-team/script"><img src="https://agentmods.dev/badge/skills/dycuong03/unity-agent-team/script.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 241 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,093 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.00241 $0.03093
Opus 5.5 $0.00096 $0.01237
Sonnet 5.5 $0.00048 $0.00619
Haiku 4.5 $0.00024 $0.00309

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

Security

Grade A, and why

unity-script 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 1mo 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/skills/unity-skills/skills/script/SKILL.md · 259 lines

How it starts

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

Unity Script Skills

BATCH-FIRST: Use script_create_batch when creating 2+ scripts. DESIGN-FIRST: Before creating gameplay scripts, actively consider coupling, performance, and maintainability. In an existing project, load ../project-scout/SKILL.md first. If the user is asking for architecture or refactoring advice, load ../architecture/SKILL.md and then ../patterns/SKILL.md, ../async/SKILL.md, ../inspector/SKILL.md, ../performance/SKILL.md, ../script-roles/SKILL.md, ../scene-contracts/SKILL.md, ../testability/SKILL.md, or ../scriptdesign/SKILL.md as needed.

Operating Mode

  • Approval(默认): 只读类 skill(script_read / script_list / script_find_in_file / script_get_info / script_get_compile_feedback,标 SkillMode.SemiAuto)直接执行;写型 skill(script_create / script_create_batch / script_replace / script_append / script_rename / script_move / script_delete,默认 SkillMode.FullAuto)需用户 grant,grant 后服务端一步执行返结果。
  • Auto / Bypass: 直接执行。
  • 本模块含 Delete / Reload 类高危 skill:script_create / script_create_batch / script_replace / script_append / script_delete 会触发 Domain Reload(且多标 RiskLevel=high),script_delete 同时是 Delete 操作 —— 这些 skill 在 Approval / Auto 下被 IsForbiddenInSemi 自动拦截,仅 Bypass 或 Allowlist 命中可执行。

DO NOT (common hallucinations):

  • script_edit / script_update do not exist → use script_replace for find-and-replace
  • script_write does not exist → use script_create (new file) or script_replace (modify existing)
  • scriptName parameter must NOT include .cs extension
  • Templates only accept: MonoBehaviour, ScriptableObject, Editor, EditorWindow

Routing:

  • To modify existing script content → script_replace (find/replace) or script_append (add lines)
  • To read script → script_read
  • To check compile errors → script_get_compile_feedback
  • To analyze script API → use perception module's script_analyze

Skills Overview

Single Object Batch Version Use Batch When
script_create script_create_batch Creating 2+ scripts

Read the full file on GitHub · 259 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. 1mo ago First seen · 259 lines · 241 tokens per session scan A c24264f8230e

Subscribe to this mod's changes

unity-script is a skill published in the GitHub repository dyCuong03/unity-agent-team (8 stars, last pushed 4mo ago), licensed MIT. It adds 241 tokens to every session and 3,093 once invoked, about $0.0010 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-10-02.

Related

unity-script compared with skills from other repositories

unity-script next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
unity-scriptdyCuong03/unity-agent-teamSkill84mo agoMITA241Claude Code
godot-csharpgamedev-skills/awesome-gamedev-agent-skillsSkill13kyesterdayApache-2.0A111Claude Code
unity-csharp-scriptinggamedev-skills/awesome-gamedev-agent-skillsSkill13kyesterdayApache-2.0A91Claude Code
scenario-unity-architecturescenario-labs/skillsSkill4.4kyesterdayMITA133Claude Code
gdextensionjame581/GodotPrompterSkill1.0kyesterdayMITA38Claude Code
unity-vrc-udon-sharpniaka3dayo/agent-skills-vrc-udonSkill37320d agoMITA210Claude Code
unity-developmentCoWork-OS/CoWork-OSSkill559todayMITA36Claude Code, Codex