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.
curl -O https://raw.githubusercontent.com/FlameskyDexive/Legends-Of-Heroes/master/.codex/skills/aibridge-prefab-patch/SKILL.mdgit clone --depth 1 https://github.com/FlameskyDexive/Legends-Of-HeroesWrote 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/flameskydexive/legends-of-heroes/aibridge-prefab-patch)<a href="https://agentmods.dev/skills/flameskydexive/legends-of-heroes/aibridge-prefab-patch"><img src="https://agentmods.dev/badge/skills/flameskydexive/legends-of-heroes/aibridge-prefab-patch/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/flameskydexive/legends-of-heroes/aibridge-prefab-patch"><img src="https://agentmods.dev/badge/skills/flameskydexive/legends-of-heroes/aibridge-prefab-patch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00073 | $0.01232 |
| Opus 5 | $0.00036 | $0.00616 |
| Sonnet 5 | $0.00015 | $0.00246 |
| Haiku 4.5 | $0.00007 | $0.00123 |
Grade A, and why
aibridge-prefab-patch 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.
How it starts
The opening of the file, as written. The whole thing — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AIBridge Prefab Patch
Use prefab patch for complex Prefab asset edits that need multiple operations in one load/save cycle. Use inspector set_property for a single simple serialized field, and inspector set_properties for small batched field edits. Use gameobject、transform、inspector for scene objects. If the requested Prefab/Scene/custom .asset operation is not supported by AIBridge, load unity-yaml-editing and follow its direct UnityYAML rules.
$CLI means the platform-appropriate AIBridge CLI invocation, usually ./.aibridge/cli/AIBridgeCLI.exe on Windows.
参数选择
- Prefer
--ops <file>for multi-step edits, nested JSON, arrays, references, or anything run from PowerShell. - Use
--ops-json <json>only for one or two very small operations. - Put temporary operation files under
.aibridge/patch_ops/. - Always run
--dryRun truebefore writing the prefab.
标准流程
- Find the target prefab with
asset find/search --format paths. - Inspect structure with
prefab get_hierarchy --prefabPath "<prefab>". - Create
.aibridge/patch_ops/<task>.json. - Run dry-run:
$CLI prefab patch --prefabPath "Assets/Prefabs/Player.prefab" --ops ".aibridge/patch_ops/player_hp_patch.json" --dryRun true
- If dry-run succeeds, run the same command without
--dryRun true. - Re-check hierarchy/properties, then run
compile unityandget_logs --logType Error.
操作示例
[
{ "op": "ensure_child", "path": "Player/HP" },
{ "op": "ensure_component", "path": "Player/HP", "typeName": "Animator" },
{
"op": "set_property",
"target": { "path": "Player/HP", "componentName": "Animator" },
"propertyName": "m_Enabled",
"value": true
},
{
"op": "set_array",
"target": { "path": "Player", "componentName": "YourComponent" },
"propertyName": "items",
"items": [
{ "key": "HP", "value": { "$gameObject": "Player/HP" } },
{
"key": "HPAnimator",
"value": {
"$component": { "path": "Player/HP", "typeName": "Animator" }
}
}
]
}
]
What ships with it
1 file 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.
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 · 107 lines · 73 tokens per session scan A 3333ac865ee3
aibridge-prefab-patch is a skill published in the GitHub repository FlameskyDexive/Legends-Of-Heroes (925 stars, last pushed 1mo ago), licensed MIT. It adds 73 tokens to every session and 1,232 once invoked, about $0.0004 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
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.
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.
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.
game-development
Game development patterns, architectures, and best practices.
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…
windows-kernel-security
Analyze Windows driver trust boundaries and kernel evidence for game-security research. Use for IOCTL authorization, callbacks and IRQL, driver provenance, DSE/PatchGuard, VBS/HVCI, build-specific internals, and crash or memory forensics; select repository resources for symbol comparison, ETW metadata, driver-unit…