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.
npx skills add jahro-console/unity-agent-skills --skill jahro-commandsgit clone --depth 1 https://github.com/jahro-console/unity-agent-skillsWrote 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.
[](https://agentmods.dev/skills/jahro-console/unity-agent-skills/jahro-commands)<a href="https://agentmods.dev/skills/jahro-console/unity-agent-skills/jahro-commands"><img src="https://agentmods.dev/badge/skills/jahro-console/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.
<a href="https://agentmods.dev/skills/jahro-console/unity-agent-skills/jahro-commands"><img src="https://agentmods.dev/badge/skills/jahro-console/unity-agent-skills/jahro-commands.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once 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 |
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 11d 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- jahro-commands — 100% identical, 0 lines differ
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
- Analyze the user's code — identify methods that are good command candidates
- Generate correct
[JahroCommand]attributes with proper syntax - Add registration if needed (instance methods require
RegisterObject) - 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);
}
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.
- 11d ago First seen · 244 lines · 66 tokens per session scan A 25dbff184d8c
jahro-commands is a skill published in the GitHub repository jahro-console/unity-agent-skills (16 stars, last pushed 5mo ago), 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. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
ui-click-debug
A Unity troubleshooting skill for UI elements that do not respond to clicks. It uses a runtime raycast, a test that shows which object receives a pointer event, to find obstructions or interaction settings.
error-diagnosis
A Unity troubleshooting skill for errors shown in the Unity Console, the editor window that displays messages and failures. It reads the error and nearby logs, then checks related code to identify the cause.
assets-shader-get-data
Get detailed data about a shader asset — properties, subshaders, passes, compilation messages, and supported status. Supports token-saving path-scoped reads via paths or viewQuery. Use 'assets-find' with t:Shader or 'assets-shader-list-all' to locate the shader first.
object-modify
Modify a Unity UnityEngine.Object's serializable fields/properties. Three modification surfaces are available (objectDiff, pathPatches, jsonPatch) — see the skill body. Use 'object-get-data' first to inspect the object structure.
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.
unity-skill-create
Create a new skill (MCP tool) for the Unity Editor by writing a C# (.cs) file that Unity compiles into the project. After compilation the new tool becomes callable through MCP. The file must be a partial class decorated with [AiToolType], each tool method must be decorated with [AiTool], the class name should match…