jahro-commands

jahro-commands is a skill for Claude Code, Codex from Logiiiii/unity-agent-skills. It costs 66 tokens per session (2,012 once invoked), scanned A, a copy of jahro-commands, MIT.

A helper for adding callable debug commands to C# classes in Unity, a game engine. It adds Jahro command annotations and the registration code needed for instance methods.

In plain words
What is it for?
Use it to expose actions such as spawning, teleporting, healing, changing difficulty, or printing diagnostic state while the game is running.
Why use it?
It removes the need to remember the annotation syntax, registration pattern, and command grouping rules when exposing game actions for testing.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to expose actions such as spawning, teleporting, healing, changing difficulty, or printing diagnostic state while the game is running.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/logiiiii/unity-agent-skills/jahro-commands
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 Logiiiii/unity-agent-skills --skill jahro-commands
Clone the repo
git clone --depth 1 https://github.com/Logiiiii/unity-agent-skills

Made for: Claude Code, 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 jahro-commands

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/logiiiii/unity-agent-skills/jahro-commands"><img src="https://agentmods.dev/badge/skills/logiiiii/unity-agent-skills/jahro-commands.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,012 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 100% copy Near-identical to another mod 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.00066 $0.02012
Opus 5 $0.00033 $0.01006
Sonnet 5 $0.00013 $0.00402
Haiku 4.5 $0.00007 $0.00201

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

Security

Grade A, and why

jahro-commands 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 10d 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.

Origin

This is a copy

100% identical to jahro-commands — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/jahro-commands/SKILL.md · 244 lines

How it starts

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

Jahro Commands

Help users add runtime-callable debug commands to Unity code using Jahro's [JahroCommand] attribute system.

Workflow

  1. Analyze the user's code — identify methods that are good command candidates
  2. Generate correct [JahroCommand] attributes with proper syntax
  3. Add registration if needed (instance methods require RegisterObject)
  4. VERIFY — "Enter Play Mode, press ~, check the Commands tab"

Analyzing Code for Command Candidates

When the user shares a class, identify methods worth exposing as commands:

Good candidates:

  • Public methods that change game state (damage, heal, spawn, teleport, reset)
  • Methods used for testing and tuning (set difficulty, add currency, skip level)
  • Diagnostic methods (print stats, dump state, force GC)
  • Methods with simple parameter types (int, float, bool, string, Vector2, Vector3, enum)

Skip these:

  • Unity lifecycle methods (Update, Start, Awake, OnEnable, OnDisable, OnDestroy)
  • Private implementation details the developer wouldn't want to call manually
  • Methods with complex parameter types (custom classes, interfaces, delegates)
  • Property getters/setters (use [JahroWatch] for monitoring instead)

Attribute Syntax

[JahroCommand("command-name", "GroupName", "Short description of what it does")]

Constructor: [JahroCommand(string name, string group, string description)]

All parameters are optional. Defaults: name = method name, group = "Default", description = "".

Naming conventions

  • Command name: kebab-case ("spawn-enemy", "add-gold", "set-difficulty")
  • Group name: PascalCase or Title Case ("Cheats", "Spawning", "Game")
  • Description: Imperative, concise ("Spawn enemy at position", "Add gold to player")

Complete example

using JahroConsole;
using UnityEngine;

public class PlayerController : MonoBehaviour
{
    public float health = 100f;

    [JahroCommand("heal", "Player", "Restore health by amount")]
    public void Heal(float amount) { health = Mathf.Min(health + amount, 100f); }

    [JahroCommand("teleport", "Player", "Teleport to position")]
    public void Teleport(Vector3 position) { transform.position = position; }

    [JahroCommand("reset-pos", "Player", "Reset to origin")]
    public void ResetPosition() { transform.position = Vector3.zero; }

    void OnEnable()  => Jahro.RegisterObject(this);
    void OnDisable() => Jahro.UnregisterObject(this);
}

Read the full file on GitHub · 244 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. 10d ago First seen · 244 lines · 66 tokens per session scan A 25dbff184d8c

Subscribe to this mod's changes

jahro-commands is a skill published in the GitHub repository Logiiiii/unity-agent-skills (3 stars, last pushed yesterday), licensed MIT. It adds 66 tokens to every session and 2,012 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to jahro-commands, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

game-unity-specialist

Invoke when the user works with Unity or asks about C#, MonoBehaviour, DOTS/ECS, Shader Graph, Addressables, UI Toolkit, URP/HDRP, or ScriptableObjects. Triggers on: "Unity", "MonoBehaviour", "DOTS", "ECS", "Shader Graph", "Addressables", "UI Toolkit", "URP", "HDRP", "ScriptableObject", ".unity", ".cs". Do NOT invoke…

AlterLab-IEU/AlterLab_GameForge · 130 tokens

reflection-method-call

Call a C# method by reflection — including private methods. Requires a method schema obtained via 'reflection-method-find'. Supports static methods, instance methods (with optional target deserialization), and main-thread / off-thread execution.

IvanMurzak/Unity-MCP · 48 tokens

script-execute

Compiles and executes C# code dynamically using Roslyn. Supports a full-code mode (default) and a body-only mode — see the skill body for the difference and for how to pass Unity object references as parameters.

IvanMurzak/Unity-MCP · 48 tokens

reflection-method-find

Find C# methods across every loaded assembly by name / type / parameters — including private methods. Returns serialized MethodData entries usable as schemas for 'reflection-method-call'.

IvanMurzak/Unity-MCP · 39 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

csharp-developer

Use when building C# applications with .NET 8+, ASP.NET Core APIs, or Blazor web apps. Builds REST APIs using minimal or controller-based routing, configures database access with Entity Framework Core, implements async patterns and cancellation, structures applications with CQRS via MediatR, and scaffolds Blazor…

Jeffallan/claude-skills · 102 tokens