type-get-json-schema

type-get-json-schema is a skill for Claude Code from IvanMurzak/Unity-MCP. It costs 54 tokens per session (1,024 once invoked), scanned A, original, Apache-2.0.

A tool that creates a JSON Schema from a named C# type loaded in Unity. JSON Schema describes the allowed shape and values of JSON data.

In plain words
What is it for?
Use it to generate schemas for Unity or application types, with options for nested definitions and descriptions.
Why use it?
It saves you from manually documenting the fields, collections, dictionaries, enums, and nested objects accepted by a type.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to generate schemas for Unity or application types, with options for nested definitions and descriptions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ivanmurzak/unity-mcp/type-get-json-schema
About the project

Unity-MCP connects AI coding agents to the Unity game engine through MCP, letting them work with the Unity Editor and running games. It is used by game developers to generate code, automate development and testing, debug projects, and add AI-driven behavior to games. The catalogue entries provide skills, instructions, an MCP integration, and settings for operating this workflow.

IvanMurzak/Unity-MCP · 4,223 stars · on GitHub · ai-game.dev

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 IvanMurzak/Unity-MCP --skill type-get-json-schema
Clone the repo
git clone --depth 1 https://github.com/IvanMurzak/Unity-MCP

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 type-get-json-schema

README.md
[![agentmods](https://agentmods.dev/badge/skills/ivanmurzak/unity-mcp/type-get-json-schema/github.svg)](https://agentmods.dev/skills/ivanmurzak/unity-mcp/type-get-json-schema)
Your own site
<a href="https://agentmods.dev/skills/ivanmurzak/unity-mcp/type-get-json-schema"><img src="https://agentmods.dev/badge/skills/ivanmurzak/unity-mcp/type-get-json-schema/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 type-get-json-schema

Your own site · 80×15
<a href="https://agentmods.dev/skills/ivanmurzak/unity-mcp/type-get-json-schema"><img src="https://agentmods.dev/badge/skills/ivanmurzak/unity-mcp/type-get-json-schema.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,024 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 45
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
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.00054 $0.01024
Opus 5 $0.00027 $0.00512
Sonnet 5 $0.00011 $0.00205
Haiku 4.5 $0.00005 $0.00102

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

Security

Grade A, and why

type-get-json-schema 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 6d 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.

Unity-MCP-Plugin/.claude/skills/type-get-json-schema/SKILL.md · 114 lines

How it starts

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

Type / Get Json Schema

Generates a JSON Schema for a given C# type name using reflection. Supports primitives, enums, arrays, generic collections, dictionaries, and complex objects. The type must be present in any loaded assembly. Use the full type name (e.g. 'UnityEngine.Vector3') for best results.

Inputs

  • typeName — full type name preferred (e.g. UnityEngine.Vector3, System.Collections.Generic.List<System.Int32>). Simple names work when unambiguous.
  • descriptionMode (default Ignore) — controls type-level description: Include keeps it on the target only, IncludeRecursively also keeps it inside $defs, Ignore strips all.
  • propertyDescriptionMode (default Ignore) — controls property/field/item description: Include keeps on the target's own properties/items only, IncludeRecursively also keeps inside $defs, Ignore strips all.
  • includeNestedTypes (default false) — when true, complex nested types are extracted into $defs and referenced via $ref. Useful for recursive or large types.
  • writeIndented (default false) — pretty-print the output JSON.

How to Call

unity-mcp-cli run-tool type-get-json-schema --input '{
  "typeName": "string_value",
  "descriptionMode": "string_value",
  "propertyDescriptionMode": "string_value",
  "includeNestedTypes": false,
  "writeIndented": false
}'

For complex input (multi-line strings, code), save the JSON to a file and use:

unity-mcp-cli run-tool type-get-json-schema --input-file args.json

Or pipe via stdin (recommended):

unity-mcp-cli run-tool type-get-json-schema --input-file - <<'EOF'
{"param": "value"}
EOF

Troubleshooting

If unity-mcp-cli is not found, either install it globally (npm install -g unity-mcp-cli) or use npx unity-mcp-cli instead. Read the /unity-initial-setup skill for detailed installation instructions.

Input

Name Type Required Description
typeName string Yes Full C# type name to generate the schema for. Examples: 'System.String', 'UnityEngine.Vector3', 'System.Collections.Generic.List<System.Int32>'. Simple names like 'Vector3' are also accepted when unambiguous.
descriptionMode string No Controls the type-level 'description' field. Include: keep on the target type only. IncludeRecursively: keep on the target type and inside $defs entries. Ignore: strip all type-level descriptions. Default: Ignore.
propertyDescriptionMode string No Controls 'description' fields on properties, fields, and array items. Include: keep on the target type's own properties/items only. IncludeRecursively: keep on all properties/items including those inside $defs entries. Ignore: strip all property/item descriptions. Default: Ignore.
includeNestedTypes boolean No When true, complex nested types are extracted into '$defs' and referenced via '$ref' instead of being inlined. Useful for large or recursive types. Default: false.
writeIndented boolean No Whether to format the output JSON with indentation for readability. Default: false.

Read the full file on GitHub · 114 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. 6d ago First seen · 114 lines · 54 tokens per session scan A 685e91d9db34

Subscribe to this mod's changes

type-get-json-schema is a skill published in the GitHub repository IvanMurzak/Unity-MCP (4,223 stars, last pushed 5d ago), licensed Apache-2.0. It adds 54 tokens to every session and 1,024 once invoked, about $0.0003 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-09-03.

Related

Other skills, from other repositories

gaming-expert

Build comprehensive game systems including gameplay mechanics, multiplayer infrastructure, analytics tracking, and monetization features. Use when the user mentions game development, Unity or Unreal, gameplay mechanics, multiplayer netcode, game analytics, or in-game monetization.

personamanagmentlayer/pcl · 51 tokens

professional-game-developer

Universal production game engineering skill — design, build, profile, test, and ship games across Unreal Engine 5, Unity 6 (DOTS), Godot 4.3+, Roblox (Luau), and Web/Custom engines with senior studio-grade architectural discipline. Encompasses all 42 specialized game studio job roles across 6 departments: Game Design…

chahat1709/professional-game-developer.skill · 103 tokens

steam-mcp

Steam-MCP exposes Valve Steam data through FastMCP 3.2 portmanteau tools on ports 11020 (backend) and 11021 (frontend).

sandraschi/steam-mcp · 0 tokens

unity-engineer

!cat skills/shared/protocols/3d-spatial-foundations.md 2>/dev/null || true !cat skills/shared/game-visual-foundations.md 2>/dev/null || echo "=== Visual Foundations not loaded ===" !cat skills/shared/protocols/ux-protocol.md 2>/dev/null || true !cat skills/shared/protocols/input-validation.md 2>/dev/null || true !cat…

buiphucminhtam/forgewright · 66 tokens

uw-ui-toolkit-binder

Generate Unity 6+ UI Toolkit Runtime Data Binding code using MVVM pattern with [CreateProperty], DataBinding, and PropertyPath. Use when creating UI screens, HUDs, menus, inventories, settings panels, or any data-bound UI elements with UI Toolkit. Triggers on requests like "create a health bar", "build the HUD", "make…

devdavv/unity-ai-workflow · 177 tokens

uw-unity-test-runner

Generates EditMode and PlayMode tests using NUnit, mapped from GDD Gherkin scenarios. Use when writing tests, validating features, ensuring code quality, or verifying behavior after changes. Triggers on requests like "write tests for this", "test the health system", "add unit tests", "verify this works", "add PlayMode…

devdavv/unity-ai-workflow · 136 tokens