Legends-Of-Heroes: Skill for Codex

.codex/skills/aibridge/SKILL.md

aibridge is a skill for Codex from FlameskyDexive/Legends-Of-Heroes. It costs 125 tokens per session (2,004 once invoked), scanned A, original, MIT.

A command-line connection between the coding agent and the Unity Editor or a running Unity game. Unity is a tool for building games and interactive 3D applications.

In plain words
What is it for?
Use it to compile projects, inspect logs and assets, change game objects and scenes, read properties, capture screenshots or GIFs, and test runtime input.
Why use it?
It lets development tasks use Unity's own editor and runtime instead of relying only on file edits.

Skill for Codex

Written for Codex: installed under .codex/. Also seen: mentions Codex.

This is FlameskyDexive/Legends-Of-Heroes's own configuration. It tells Codex how to work on Legends-Of-Heroes itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Legends-Of-Heroes configures →

Reuse

Borrowing it

Nothing to install: this file belongs to FlameskyDexive/Legends-Of-Heroes. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/FlameskyDexive/Legends-Of-Heroes/master/.codex/skills/aibridge/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/FlameskyDexive/Legends-Of-Heroes

Made for: 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 aibridge

README.md
[![agentmods](https://agentmods.dev/badge/skills/flameskydexive/legends-of-heroes/aibridge/github.svg)](https://agentmods.dev/skills/flameskydexive/legends-of-heroes/aibridge)
Your own site
<a href="https://agentmods.dev/skills/flameskydexive/legends-of-heroes/aibridge"><img src="https://agentmods.dev/badge/skills/flameskydexive/legends-of-heroes/aibridge/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 aibridge

Your own site · 80×15
<a href="https://agentmods.dev/skills/flameskydexive/legends-of-heroes/aibridge"><img src="https://agentmods.dev/badge/skills/flameskydexive/legends-of-heroes/aibridge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 125 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,004 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 high

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 →

  • high System Prompt Leakage · line 34
    Skill contains instructions that could directly expose system prompts, internal rules, or hidden instructions to users or external parties.
    Fix: Remove any instructions that reveal, print, or output system prompts or internal rules. System instructions should never be exposed to end users.
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.00125 $0.02004
Opus 5 $0.00063 $0.01002
Sonnet 5 $0.00025 $0.00401
Haiku 4.5 $0.00013 $0.00200

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

Security

Grade A, and why

aibridge 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 13d 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.

.codex/skills/aibridge/SKILL.md · 127 lines

How it starts

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

AI Bridge Unity Skill

Invocation

Run commands from the Unity project root.

CLI Path: ./.aibridge/cli/AIBridgeCLI.exe

Example Alias: $CLI is a shorthand for the platform-appropriate AIBridge CLI invocation. Examples use $CLI for consistency; replace it with the matching invocation form when running commands directly.

Invocation Forms:

  • Windows executable: ./.aibridge/cli/AIBridgeCLI.exe <command> [action] [options]
  • macOS/Linux DLL: dotnet ./.aibridge/cli/AIBridgeCLI.dll <command> [action] [options]
  • PowerShell call operator: & "./.aibridge/cli/AIBridgeCLI.exe" <command> [action] [options]

Most Unity-side commands require an action such as asset search or inspector set_property. CLI-only commands and helpers can differ: focus has no action, dialog uses status/click/wait, and multi uses --cmd or --stdin. Use --help or the generated command reference for the exact form.

Global Options:

  • --timeout <ms> - Timeout (default: 5000)
  • --on-dialog <mode> - When a Unity command is blocked by a modal dialog, optionally wait or click: none, wait, cancel, save, discard, ok, yes, no, delete, replace
  • --raw / --pretty - JSON output (default: raw)
  • --json <json> / --stdin - Complex parameters
  • --help - Show help

Cache Directory: .aibridge/ (Editor commands/results/screenshots and Runtime targets under .aibridge/runtime/targets/)

Dialog Output Rule: dialog status omits blockedByDialog and dialogs when no blocking Unity modal dialog is detected. Missing fields mean no dialog.

Operating Rules

  • Use compile unity for Unity validation. compile dotnet is an explicit extra solution-build check, not a fallback.
  • For Unity assets, prefer asset search/find --format paths; use host file reads for file contents, and asset read_text only when host reads are unavailable.
  • Resource edit order: use inspector set_property/set_properties for single or batched fields, aibridge-prefab-patch for complex Prefab structure edits it supports, Unity Editor scripts for high-level generated assets, and unity-yaml-editing only for unsupported serialized-file structure work.
  • For scene objects, Prefabs, and serialized Unity assets, discover targets with inspector get_components/get_properties/find_property, then write with AIBridge/Unity APIs when possible; avoid raw YAML unless no supported API can express the operation.
  • Direct YAML edits are acceptable only after loading unity-yaml-editing, including unsupported Scene/Prefab/ScriptableObjectTable/custom .asset operations. Preserve m_Script, fileID/guid/type references, YAML indentation, and paired .meta GUIDs; validate afterward with import, targeted inspection, compile unity, and Error logs.
  • For prefab asset edits, use assetPath + objectPath + componentName or componentIndex; componentInstanceId is scene-only.
  • For complex prefab asset edits, use the aibridge-prefab-patch skill and prefer prefab patch --ops <file> with dry-run first.
  • In PowerShell, avoid inline complex --json; build JSON in a variable, escape embedded quotes for native EXE argument passing, and pass command parameters directly, especially inspector set_properties --values $values.
  • focus is Windows CLI-only. dialog is CLI-only, uses Windows window APIs or macOS Accessibility permission, and omits dialog fields when no modal dialog is detected. screenshot game and screenshot gif require Play Mode; screenshot scene_view works in Edit mode when a Scene view is open.
  • input requires Play Mode and an active EventSystem; use it with gameview, screenshot, and get_logs for UI interaction checks.
  • runtime is CLI-only and talks to AIBridgeRuntime inside a Player or Play Mode target. Use runtime list_targets first, then target latest or a specific target id.
  • Code Index is a separate optional Skill. Use aibridge-code-index only when that Skill is installed and project rules say Code Index is enabled; otherwise use rg, file reads, and regular AIBridge commands.

Read the full file on GitHub · 127 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 13d ago First seen · 127 lines · 125 tokens per session scan A f6d2f669dfe1

Subscribe to this mod's changes

aibridge is a skill published in the GitHub repository FlameskyDexive/Legends-Of-Heroes (925 stars, last pushed 1mo ago), licensed MIT. It adds 125 tokens to every session and 2,004 once invoked, about $0.0006 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.

Related

Other skills, from other repositories

luban-dev

A guide for Luban, a game-configuration tool that turns spreadsheets and schemas into C# code and binary data for a TEngine project.

Alex-Rachel/TEngine · 149 tokens

html-to-ugui

A pipeline for turning HTML interface prototypes into Unity UGUI Prefabs, which are reusable Unity interface objects. It uses browser-rendered layout data to preserve positions, images, text, controls, and device-adaptation intentions.

Alex-Rachel/TEngine · 150 tokens

tengine-dev

A development guide for TEngine, a framework used to build Unity games. It covers the framework’s modules, user interfaces, events, asset loading, hot updates, configuration, and related tools.

Alex-Rachel/TEngine · 68 tokens

game-development

Game development patterns, architectures, and best practices.

miles990/claude-software-skills · 12 tokens

anti-cheat-systems

Analyze layered game integrity defenses and select repository resources for process-memory reports, acquired-memory forensics, callback scope, behavioral measurement and driver-policy evidence. Use for DMA versus host-mediated acquisition, input provenance, replay fidelity, collector health, detector rollout/recovery…

gmh5225/awesome-game-security · 90 tokens

game-hacking-techniques

Classify game-cheating threats across client memory, code injection, rendering, input, engines, kernels, DMA and remote transports. Use for repository-backed attack-surface maps, attacker prerequisites, state exposure, legitimate comparison baselines, and observable artifacts. Select engine source, capture or…

gmh5225/awesome-game-security · 95 tokens