fairygui-runtime

fairygui-runtime is a skill for Claude Code, Codex from OpenFairyGUI/FairyGUI-Skills. It costs 70 tokens per session (674 once invoked), scanned A, original, MIT.

A coding guide for using the FairyGUI user-interface framework across Unity, Cocos Creator, LayaAir, ThreeJS, and custom runtimes.

In plain words
What is it for?
It is for writing, reviewing, and troubleshooting FairyGUI code, including package loading, bindings, lists, events, animations, and UI ownership.
Why use it?
It helps developers follow the correct patterns for loading UI, connecting data, handling events, and managing component lifecycles.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the fairygui-skills plugin — 2 skills shipped together

Good fit It is for writing, reviewing, and troubleshooting FairyGUI code, including package loading, bindings, lists, events, animations, and UI ownership.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/openfairygui/fairygui-skills/fairygui-runtime
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 OpenFairyGUI/FairyGUI-Skills --skill fairygui-runtime
Clone the repo
git clone --depth 1 https://github.com/OpenFairyGUI/FairyGUI-Skills

Made for: Claude Code, Codex.

Or install fairygui-skills, the plugin that ships this one along with the rest of its 2 skills.

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 fairygui-runtime

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/openfairygui/fairygui-skills/fairygui-runtime"><img src="https://agentmods.dev/badge/skills/openfairygui/fairygui-skills/fairygui-runtime.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 674 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 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.00070 $0.00674
Opus 5 $0.00035 $0.00337
Sonnet 5 $0.00014 $0.00135
Haiku 4.5 $0.00007 $0.00067

Measured yesterday against content hash 45c66f3ea29b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

fairygui-runtime 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 yesterday.

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.

skills/fairygui-runtime/SKILL.md · 42 lines

How it starts

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

FairyGUI Runtime Skill

Maintenance status

Final edition v1.1.0 (2026-09-08). This repository is archived and no longer maintained. Runtime examples remain historical reference material; verify APIs and lifecycle behavior against the installed engine/SDK before applying them.

OpenFairyGUI maintains project SDK/CLI/MCP automation; FairyGUI-Maker provides Agent authoring and preview workflows. Neither fully replaces this Skill's multi-engine runtime coverage. Use the capabilities already available for the requested task; following these links does not authorize installation or imply a working tool connection. Discussion and review remain read-only.

Workflow

  1. Identify the engine/SDK version, language and load model from the project and installed dependencies: Unity C#, Unity Puerts, Cocos Creator, LayaAir, ThreeJS or custom. Ask only when a material choice remains unknown.
  2. Identify the runtime task: architecture, root setup, package loading, ownership, data refresh, generated binding, extension class, list rendering, events, transition control, window lifecycle, memory, or performance.
  3. If the task needs deeper details, read the relevant reference file:
    • Runtime setup: references/runtime-setup.md
    • Runtime architecture and UI system organization: references/runtime-architecture.md
    • Package loading: references/loading-packages.md
    • UI lifecycle, ownership, disposal, and async race boundaries: references/ui-lifecycle-and-ownership.md
    • Component binding and extensions: references/component-binding.md
    • Data binding, refresh, model-to-view rules, and stale async guards: references/data-binding-and-refresh.md
    • Lists and scrolling: references/lists-scrolling.md
    • Events and animation: references/events-animation.md
    • Engine-specific runtime patterns: references/engine-patterns.md
    • Unity condensed examples: references/unity-patterns.md
    • Cocos Creator condensed examples: references/cocoscreator-patterns.md
    • LayaAir condensed examples: references/layaair-patterns.md
    • Performance and lifecycle: references/performance-lifecycle.md
  4. Ground advice in the editor contract: package names, published file names, item URLs, child names, controllers, transitions, and generated binder order.
  5. Prefer business-state-driven UI updates: runtime code should drive named controllers, button states, loaders, and list data instead of manually patching many children.
  6. Provide code-level steps with lifecycle placement and cleanup.

Read the full file on GitHub · 42 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. yesterday Changed · +7 lines · -23 tokens per session 45c66f3ea29b
  2. 11d ago First seen · 35 lines · 93 tokens per session scan A 280ddf72da9c

Subscribe to this mod's changes

fairygui-runtime is a skill published in the GitHub repository OpenFairyGUI/FairyGUI-Skills (16 stars, last pushed 2d ago), licensed MIT. It adds 70 tokens to every session and 674 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.

Related

Other skills, from other repositories

worker-visualizer

A real-time data/particle/simulation visualizer whose heavy compute runs in a Web Worker (off the main thread), optionally sharing memory with the UI via SharedArrayBuffer, and renders to a canvas at 60fps. Produced as a single self-contained index.html. Use when the brief asks for a "web worker", "simulation"…

nexu-io/open-design · 123 tokens

react-three-fiber

React Three Fiber 3D renderer for json-render. Use when working with @json-render/react-three-fiber, building 3D scenes from JSON specs, rendering meshes/lights/models/environments, or integrating Three.js with json-render catalogs.

vercel-labs/json-render · 54 tokens

vgpu

Build, debug, test, and optimize WebGPU projects using vgpu, its CLI, or @vgpu packages. Use for vgpu API questions, WGSL workflows, browser or Node rendering, integrations, testing, and performance work.

vercel-labs/vgpu · 51 tokens

matterjs

Use when implementing 2D physics interactions with Matter.js, including Engine/World setup, Render/Runner configuration, adding bodies and constraints, and scroll/interaction-friendly canvas scenes.

MengTo/Skills · 39 tokens

threejs-game-director

Entrypoint for building, upgrading, and finishing Three.js browser games. Routes work across the sibling threejs- skills for gameplay, graphics, UI, 3D/image/audio asset generation, debugging, and release. Use for build-a-game, upgrade, polish, premium, AAA, high-fidelity, showcase, from-scratch, endless runner…

majidmanzarpour/threejs-game-skills · 86 tokens

sceneview-web

Build 3D and WebXR (AR/VR) experiences in the browser with SceneView for Web — Filament.js (WebGL2/WASM) wrapped in a Kotlin/JS DSL and a plain-JavaScript API on window.sceneview. Use whenever the user asks for "3D in the browser", "a web model viewer", "WebXR AR/VR", or any browser 3D/AR app where the dependency is…

sceneview/sceneview · 147 tokens