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 playcanvas/create-playcanvas --skill build-appgit clone --depth 1 https://github.com/playcanvas/create-playcanvasWrote 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/playcanvas/create-playcanvas/build-app)<a href="https://agentmods.dev/skills/playcanvas/create-playcanvas/build-app"><img src="https://agentmods.dev/badge/skills/playcanvas/create-playcanvas/build-app/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/playcanvas/create-playcanvas/build-app"><img src="https://agentmods.dev/badge/skills/playcanvas/create-playcanvas/build-app.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.00046 | $0.00534 |
| Opus 5.5 | $0.00018 | $0.00214 |
| Sonnet 5.5 | $0.00009 | $0.00107 |
| Haiku 4.5 | $0.00005 | $0.00053 |
Grade A, and why
build-app 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 23d 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:
- build-app — 100% identical, 0 lines differ
How it starts
The opening of the file, as written. The whole thing — 45 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Build an Engine application
Read package.json and the entry point, keep the surface that owns the lifecycle, and read only its
reference: direct Engine, React, or
Web Components. Choose from imports and markup, not dependencies.
Bootstrap
- Input is opt-in.
app.keyboard,mouse,touch,gamepads, andelementInputstaynullunless passed tonew Application(canvas, { ... }); UI buttons neednew ElementInput(canvas). - The Engine adds no window resize listener; call
app.resizeCanvas()from your own handler. graphicsDevice.maxPixelRatiodefaults to 1. Raise it, at most towindow.devicePixelRatio, only where the target holds its frame budget, callapp.resizeCanvas(), and confirm withcanvas.width / canvas.clientWidth.- Rigid bodies stay inert until Ammo loads through
WasmModule. Copy the loader from thephysics/falling-shapesexample withfind-examples. devtoolsdefaults totrue, so debugging tools can find the app (inspect-runtime). Set it tofalseonly to hide a production build.
Update loop
dtis already clamped byapp.maxDeltaTime(0.1 s); tune it instead of clamping by hand.app.timeScalescales it, and0pauses scaled time.- Keep app state explicit and owned in one place; advance time-dependent logic from
dt, and reset through the same setup used at start.
UI
- Render UI from app state; never keep the source of truth in the DOM or UI elements.
- Use a DOM or React overlay, or Engine
screenandelementcomponents adapted from auser-interfaceexample. - Hide unused elements with
enabled = false; an element at opacity 0 still draws.
Ownership
- Keep one owner for app creation, assets, entities, update callbacks, and teardown.
- Prefer the surface's declarative primitives. Put per-entity and per-frame behaviour in an Engine
Script. - Remove external events and resources in the lifecycle that created them.
What ships with it
3 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.
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.
- 23d ago Changed · +2 lines 2640dfa77d35
- 24d ago Changed · -1 lines · -8 tokens per session f36448048968
- 26d ago Changed · +2 lines 676e542131d7
- 1mo ago First seen · 42 lines · 54 tokens per session scan A 36cb0b469f56
build-app is a skill published in the GitHub repository playcanvas/create-playcanvas (61 stars, last pushed today), licensed MIT. It adds 46 tokens to every session and 534 once invoked, about $0.0002 per session on Opus 5.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
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.
ags-anti-cheat-dashboard
AntiCheat Dashboard is a server-side anti-cheat system for Roblox games paired with a web-based staff console for monitoring and enforcement. The game module is written in Luau and runs movement, char.
react-three-fiber-game
Build React-hosted 3D browser games with React Three Fiber. Use when the user wants pmndrs-based scene composition, shared React state, and 3D HUD integration inside a React app.
phaser-2d-game
Implement 2D browser games with Phaser. Use when the user wants a Phaser, TypeScript, and Vite stack for scenes, gameplay systems, cameras, sprite animation, and DOM-overlay HUD patterns.
web-3d-react-three-fiber
React Three Fiber (R3F) 3D rendering — Canvas, meshes, materials, lights, cameras, animations, events, physics, post-processing, performance.
design-lenses
Critique a game's design through Schell's lenses, MDA and systems thinking, ranking findings by severity with fixes. Design-level review, not bugs or feel tuning.