Agent skill

Unity Quickstart

by Nethereum in Nethereum/Nethereum

Integrate Ethereum into Unity games using Nethereum with async Web3 API, WebGL wallet support via EIP-6963 multi-wallet discovery and MetaMask (.NET/C).

MITAuto-check passedGame Development

Install Unity Quickstart

skills CLI
$ npx skills add Nethereum/Nethereum --skill unity-quickstart -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Nethereum/Nethereum unity-quickstart --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Nethereum/Nethereum.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/nethereum-skills/skills/unity-quickstart .claude/skills/unity-quickstart && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
unity-quickstart
GitHub stars
2.3k
Token cost
~1.6k tokens
SKILL.md length
268 words
Files
1
Skills in repo
71
Repo updated
First seen
Licence
MIT

At a glance

Integrate Ethereum into Unity games using Nethereum with async Web3 API, WebGL wallet support via EIP-6963 multi-wallet discovery and MetaMask (.NET/C).

  • The user asks about Unity blockchain integration
  • SKILL.md covers When to Use This Skill, Installation, Query Block Number (Async —… and Send ETH (Desktop/Mobile), plus 7 more sections
  • Calls dotnet; reaches package.openupm.com and ethereum-rpc.publicnode.com
  • Unity WebGL wallets

What it does

Unity Quickstart is an agent skill from Nethereum/Nethereum. Integrate Ethereum into Unity games using Nethereum with async Web3 API, WebGL wallet support via EIP-6963 multi-wallet discovery and MetaMask (.NET/C). Use this skill when the user asks about Unity blockchain integration, Unity WebGL wallets, Unity MetaMask, Unity Ethereum, Nethereum.Unity, game blockchain, NFT games, or Unity ERC-20 tokens.

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Game Development, covering Crypto and DeFi analysis and 3D graphics and WebGL. It works with Ethereum, Unity, C# and .NET. The repository describes itself as: Ethereum .Net cross platform integration library. The licence is MIT.

When your agent uses it

  • The user asks about Unity blockchain integration
  • Unity WebGL wallets
  • Nethereum.Unity
  • Game blockchain

Example prompts

  • “/unity-quickstart”

What it can do on your machine

Read from SKILL.md and the folder at commit 229f278. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • dotnet

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • package.openupm.com
    • ethereum-rpc.publicnode.com

    Also links to:

    • github.com
    • docs.nethereum.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Unity Quickstart loads about 1.6k tokens when it runs. Until then it costs about 91 tokens; SKILL.md has 268 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~91
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Nethereum/Nethereum at commit 229f278, republished under its MIT licence (© Nethereum). 268 words, ~1,600 tokens.

Download SKILL.mdSave it as .claude/skills/unity-quickstart/SKILL.md (or your agent's skills folder).
name
unity-quickstart
description
Integrate Ethereum into Unity games using Nethereum with async Web3 API, WebGL wallet support via EIP-6963 multi-wallet discovery and MetaMask (.NET/C#). Use this skill when the user asks about Unity blockchain integration, Unity WebGL wallets, Unity MetaMask, Unity Ethereum, Nethereum.Unity, game blockchain, NFT games, or Unity ERC-20 tokens.
user-invocable
true

Unity Integration

Integrate Ethereum into Unity games. Nethereum provides Unity-compatible libraries with the async Web3 API (preferred) and coroutine wrappers, WebGL wallet connectivity (EIP-6963 multi-wallet, MetaMask), and typed contract services.

When to Use This Skill

  • Building a Unity game that reads or writes blockchain data
  • Connecting browser wallets in Unity WebGL builds
  • Deploying or interacting with smart contracts from Unity
  • Querying ERC-20/ERC-721 token balances in a game

Installation

Add to Packages/manifest.json:

json
{
  "scopedRegistries": [
    {
      "name": "package.openupm.com",
      "url": "https://package.openupm.com",
      "scopes": ["com.nethereum.unity"]
    }
  ],
  "dependencies": {
    "com.nethereum.unity": "5.0.0",
    "com.unity.nuget.newtonsoft-json": "3.2.1"
  }
}

Important notes:

  • WebGL + async/await requires WebGLThreadingPatcher package
  • For IL2CPP builds: set IL2CPP Code Generation to Faster (smaller) builds in Player Settings

Query Block Number (Async — Preferred)

csharp
using UnityEngine;
using Nethereum.Web3;
using Nethereum.Unity.Rpc;
using System;

public class GetBlockNumber : MonoBehaviour
{
    public string Url = "https://ethereum-rpc.publicnode.com";

    async void Start()
    {
        var web3 = new Web3(new UnityWebRequestRpcTaskClient(new Uri(Url)));
        var blockNumber = await web3.Eth.Blocks.GetBlockNumber.SendRequestAsync();
        Debug.Log($"Block: {blockNumber.Value}");
    }
}

UnityWebRequestRpcTaskClient uses Unity's UnityWebRequest for HTTP — required for WebGL builds.

Send ETH (Desktop/Mobile)

csharp
using Nethereum.Web3;
using Nethereum.Web3.Accounts;

var account = new Account("0xYOUR_PRIVATE_KEY", chainId: 31337);
var web3 = new Web3(account, "http://localhost:8545");

var receipt = await web3.Eth.GetEtherTransferService()
    .TransferEtherAndWaitForReceiptAsync("0xRecipient", 0.1m);
Debug.Log($"TX: {receipt.TransactionHash}");

EIP-6963 discovers all installed browser wallets — MetaMask, Rainbow, Coinbase, etc.:

csharp
using Nethereum.Unity.EIP6963;
using Nethereum.EIP6963WalletInterop;

var walletProvider = EIP6963WebglHostProvider.CreateOrGetCurrentInstance();

// Discover all installed wallets
var wallets = await walletProvider.GetAvailableWalletsAsync();
foreach (var wallet in wallets)
    Debug.Log($"Found: {wallet.Name} ({wallet.Rdns})");

// Select and connect
if (wallets.Length > 0)
{
    await walletProvider.SelectWalletAsync(wallets[0].Uuid);
    var account = await walletProvider.EnableProviderAsync();
    Debug.Log($"Connected: {account}");

    // Get Web3 — wallet handles signing
    var web3 = await walletProvider.GetWeb3Async();
    var balance = await web3.Eth.GetBalance.SendRequestAsync(walletProvider.SelectedAccount);
    Debug.Log($"Balance: {Web3.Convert.FromWei(balance.Value)} ETH");
}
Listen to Account/Network Changes

Events use Func<T, Task> delegates — handlers must return Task:

csharp
walletProvider.SelectedAccountChanged += async (newAccount) =>
{
    Debug.Log($"Account switched: {newAccount}");
    return;  // implicit Task.CompletedTask
};

walletProvider.NetworkChanged += async (newChainId) =>
{
    Debug.Log($"Network switched: {newChainId}");
    return;
};

WebGL: MetaMask Direct (Fallback)

csharp
using Nethereum.Unity.Metamask;

var metamask = MetamaskWebglHostProvider.CreateOrGetCurrentInstance();
await metamask.EnableProviderAsync();
var web3 = await metamask.GetWeb3Async();

var receipt = await web3.Eth.GetEtherTransferService()
    .TransferEtherAndWaitForReceiptAsync("0xRecipient", 0.1m);

ERC-20 Token Interaction

Use built-in typed services — no ABI or code generation needed:

csharp
var erc20 = web3.Eth.ERC20.GetContractService(tokenAddress);

var name = await erc20.NameQueryAsync();
var symbol = await erc20.SymbolQueryAsync();
var decimals = await erc20.DecimalsQueryAsync();
var balance = await erc20.BalanceOfQueryAsync(ownerAddress);

Debug.Log($"{name} ({symbol}): {Web3.Convert.FromWei(balance, decimals)}");

Similarly, web3.Eth.ERC721 and web3.Eth.ERC1155 provide typed access to NFT and multi-token contracts.

Cross-Platform Architecture

Use conditional compilation to handle WebGL vs desktop:

csharp
private async Task<IWeb3> GetWeb3Async()
{
#if UNITY_WEBGL
    var walletProvider = EIP6963WebglHostProvider.CreateOrGetCurrentInstance();
    await walletProvider.EnableProviderAsync();
    return await walletProvider.GetWeb3Async();
#else
    var account = new Account(privateKey, chainId);
    return new Web3(account, url);
#endif
}

Once you have IWeb3, all web3.Eth.* calls work identically regardless of platform.

Code Generation (Shared Projects)

Generate typed C# contract services from Solidity ABI:

bash
dotnet tool install -g Nethereum.Generator.Console

Nethereum.Generator.Console generate from-abi \
    -abi ./out/MyToken.abi \
    -bin ./out/MyToken.bin \
    -o ./SharedContracts \
    -ns MyGame.Contracts \
    -cn MyToken

Share the generated code between Unity and .NET test projects using a netstandard2.0 project with package.json + .asmdef files. Reference from Unity via file: dependency in manifest.json.

Platform Support

PlatformSigningWallet Connection
WebGLBrowser wallet (EIP-6963, MetaMask)EIP-6963 or MetaMask interop
Windows/macOS/LinuxPrivate keyRPC endpoint
iOS/AndroidPrivate keyRPC endpoint

Resources

For full documentation, see: https://docs.nethereum.com/docs/unity/overview

© Nethereum, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/nethereum-skills/skills/unity-quickstart of Nethereum/Nethereum.

Open the folder on GitHubat commit 229f278

Compare with similar skills

Unity Quickstart next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Unity Quickstart compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Unity Quickstart this skillNethereum/Nethereum2.3k—~1.6kAutomated safety check: PassMIT
Locus Unity BridgeMisaka-Mikoto-Tech/agent-skills275—~4kAutomated safety check: PassMIT
Unity PluginTomLeeLive/openclaw-unity-plugin106—~5.1kAutomated safety check: PassApache-2.0
Sokol Netelix22/Sokol.NET154—~2.8kAutomated safety check: PassMIT
Godot 3D Essentialsjame581/GodotPrompter792—~3.7kAutomated safety check: PassMIT
Unity Version SplitIvanMurzak/Unity-MCP4.4k—~1.1kAutomated safety check: PassApache-2.0

Similar skills

  • Locus Unity Bridge

    Misaka-Mikoto-Tech/agent-skills

    A skill your agent uses when an agent needs to inspect or control a real Unity Editor through Locus, especially when Unity MCP is unavailable, named-pipe discovery is needed, C must be executed, or…

    275 GitHub stars~4k tokensUpdated 16 days ago
    Game DevelopmentAuto-check passed
  • Unity Plugin

    TomLeeLive/openclaw-unity-plugin

    Control Unity Editor via OpenClaw Unity Plugin. An agent skill from TomLeeLive/openclaw-unity-plugin.

    106 GitHub stars~5.1k tokensUpdated 28 days ago
    Game DevelopmentAuto-check passed
  • Sokol Net

    elix22/Sokol.NET

    Sokol.NET framework development — use for ANY work in this repo: creating or debugging examples, building/running for desktop/Android/iOS/Web, writing or compiling shaders, adding a new C/C++…

    154 GitHub stars~2.8k tokensUpdated yesterday
    Game DevelopmentAuto-check passed
  • Godot 3D Essentials

    jame581/GodotPrompter

    Covers Godot 4.3+ 3D systems such as materials, lighting, shadows, environment, global illumination, fog, LOD, occlusion culling and decals, with GDScript first and C# second.

    792 GitHub stars~3.7k tokensUpdated yesterday
    Game DevelopmentAuto-check passed
  • Unity Version Split

    IvanMurzak/Unity-MCP

    Split a C file into Unity 6.5+ and pre-Unity 6.5 variants. An agent skill from IvanMurzak/Unity-MCP.

    4.4k GitHub stars~1.1k tokensUpdated 3 days ago
    Game DevelopmentAuto-check passed
  • Uloop Compile Check

    hatayama/unity-cli-loop

    Compile C with the Unity-bundled Roslyn compiler without launching or contacting the Unity Editor; reports errors and warnings only.

    576 GitHub stars~1.4k tokensUpdated today
    Game DevelopmentAuto-check passed

More from Nethereum/Nethereum

All 71 skills in this repo
  • Aa Batching Paymasters

    Nethereum/Nethereum

    Help users batch multiple calls into a single UserOperation and sponsor gas with paymasters using Nethereum Account Abstraction.

    2.3k GitHub stars~1.5k tokensUpdated 2 days ago
    Auto-check passed
  • Aa Bundler

    Nethereum/Nethereum

    Help users run an ERC-4337 bundler using Nethereum — set up in-process or standalone bundlers with mempool, validation, reputation, and JSON-RPC server.

    2.3k GitHub stars~1.2k tokensUpdated 2 days ago
    Auto-check passed
  • Abi Encoding

    Nethereum/Nethereum

    Encode and decode Ethereum ABI data with Nethereum. An agent skill from Nethereum/Nethereum.

    2.3k GitHub stars~1.3k tokensUpdated 2 days ago
    Auto-check passed
  • Abi Retrieval

    Nethereum/Nethereum

    Fetch contract ABIs from Sourcify, Etherscan, and 4Byte Directory using the composite ABIInfoStorage pattern (.NET/C).

    2.3k GitHub stars~1.5k tokensUpdated 2 days ago
    Auto-check passed
  • Account Abstraction

    Nethereum/Nethereum

    Help users implement ERC-4337 Account Abstraction with Nethereum — send UserOperations, use smart accounts, route contract calls through a bundler, enable gasless transactions, or work with AA in…

    2.3k GitHub stars~1.7k tokensUpdated 2 days ago
    Auto-check passed
  • Address Utils

    Nethereum/Nethereum

    Validate and format Ethereum addresses with Nethereum. An agent skill from Nethereum/Nethereum.

    2.3k GitHub stars~1.2k tokensUpdated 2 days ago
    Auto-check passed

Questions about Unity Quickstart

What does Unity Quickstart do?

Integrate Ethereum into Unity games using Nethereum with async Web3 API, WebGL wallet support via EIP-6963 multi-wallet discovery and MetaMask (.NET/C). Unity Quickstart is an agent skill from Nethereum/Nethereum.NET/C).

When should I use Unity Quickstart?

Unity Quickstart fits situations like: the user asks about Unity blockchain integration; unity WebGL wallets; nethereum.Unity; game blockchain.

How do I install Unity Quickstart in Claude Code?

Run `npx skills add Nethereum/Nethereum --skill unity-quickstart -a claude-code`. Or copy the skill folder (plugins/nethereum-skills/skills/unity-quickstart in Nethereum/Nethereum) into .claude/skills/unity-quickstart in your project. Claude Code loads it when a task matches its description.

How do I install Unity Quickstart in Codex?

Run `npx skills add Nethereum/Nethereum --skill unity-quickstart -a codex`. Or copy the skill folder (plugins/nethereum-skills/skills/unity-quickstart in Nethereum/Nethereum) into .agents/skills/unity-quickstart in your project. Codex loads it when a task matches its description.

Can I use Unity Quickstart in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Nethereum/Nethereum --skill unity-quickstart -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/unity-quickstart, .gemini/skills/unity-quickstart, .github/skills/unity-quickstart and .opencode/skills/unity-quickstart in your project.

What does Unity Quickstart need to run?

Going by SKILL.md and its folder, Unity Quickstart needs the command-line tools its instructions call (dotnet).

Does Unity Quickstart access the network?

SKILL.md names 4 domains. In commands or code: package.openupm.com and ethereum-rpc.publicnode.com; the agent is likely to contact these when it follows the instructions. As links in the text: github.com and docs.nethereum.com. This is read from the text; nothing was executed.

Is Unity Quickstart safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Unity Quickstart use?

Unity Quickstart is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Unity Quickstart use?

About 1.6k tokens (SKILL.md is roughly 6.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Unity Quickstart?

Skills that share tags, products or a category with Unity Quickstart: Locus Unity Bridge (Misaka-Mikoto-Tech/agent-skills, 275 stars), Unity Plugin (TomLeeLive/openclaw-unity-plugin, 106 stars), Sokol Net (elix22/Sokol.NET, 154 stars) and Godot 3D Essentials (jame581/GodotPrompter, 792 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Unity Quickstart?

Nethereum (a GitHub organization) maintains it in Nethereum/Nethereum, which has 2,260 GitHub stars. The repository holds 71 skills in this directory. The repository was last updated on October 5, 2026.

Source: Nethereum/Nethereum on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.