Skip to content
Development
Skill

/build-cli

Build the unity-mcp-cli TypeScript CLI tool and link it globally for terminal use.

From plugin
ivanmurzak-unity-mcp
3.8k80 skills
Install
$ npx -y skills add IvanMurzak/Unity-MCP --skill build-cli --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/build-cli

Context preview

The summary Claude sees to decide when to auto-load this skill.

Build the unity-mcp-cli TypeScript CLI tool and link it globally for terminal use.

SKILL.md

build-cli.SKILL.md
name: build-cli
description: "Build the unity-mcp-cli TypeScript CLI tool and link it globally for terminal use."
disable-model-invocation: true
argument-hint: "[optional: --link to also run npm link]"

Build CLI

Build the `unity-mcp-cli` TypeScript project and optionally link it globally.

Step 1 — Install Dependencies

cd cli && npm install

Only needed if `node_modules/` is missing or `package.json` changed.

Step 2 — Build TypeScript

cd cli && npm run build

This compiles `src/**/*.ts` → `dist/**/*.js` via `tsc`.

Step 3 — Link Globally (if `$ARGUMENTS` contains `--link` or first time)

cd cli && npm link

This creates a global symlink so `unity-mcp-cli` is available from any terminal. Only needed once — after that, `npm run build` alone is sufficient.

Step 4 — Verify

unity-mcp-cli --version

Confirm the CLI is accessible and shows the expected version.

Report

Print the version and confirm success. If any step failed, show the error output.

Ships withivanmurzak-unity-mcp

Get up and running in three steps: Install plugin — download the .unitypackage installer or run openupm add com.ivanmurzak.unity.mcp Alternative: npx unity-mcp-cli install-plugin ./MyUnityProject — see CLI documentation Pick an AI agent — Claude Code, Claude

Get the whole plugin
Stats
3,845
Stars
349
Forks
Active
Maintenance
C#
Language
Apache-2.0
License
12h ago
Last commit
1y ago
Created

Repo: IvanMurzak/Unity-MCP