build-app

build-app is a skill for Claude Code, Codex from playcanvas/create-playcanvas. It costs 54 tokens per session (466 once invoked), scanned A, original, MIT.

A PlayCanvas workflow for creating or restructuring an application using the direct engine API, React, or web components. PlayCanvas is a browser game engine, while React and web components are different ways to build its interface.

In plain words
What is it for?
Use it to inspect a project, select its authoring approach, set up the application, manage lifecycle and assets, configure display density, and verify the real canvas resolution.
Why use it?
It helps preserve the project’s existing lifecycle and choose the right startup, ownership, asset-loading, and engine-connection patterns.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

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.

agentmods
npx agentmods add skills/playcanvas/create-playcanvas/build-app
Any agent
npx skills add playcanvas/create-playcanvas --skill build-app
Clone the repo
git clone --depth 1 https://github.com/playcanvas/create-playcanvas

Made for: Claude Code, 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 build-app

README.md
[![agentmods](https://agentmods.dev/badge/skills/playcanvas/create-playcanvas/build-app.svg)](https://agentmods.dev/skills/playcanvas/create-playcanvas/build-app)
Your own site
<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="Measured on agentmods" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 466 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00054 $0.00466
Opus 5 $0.00027 $0.00233
Sonnet 5 $0.00011 $0.00093
Haiku 4.5 $0.00005 $0.00047

Measured 6d ago against content hash 36cb0b469f56, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

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 6d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • build-app — 100% identical, 12 lines differ
skills/build-app/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.

Build an Engine application

Read package.json and the application entry point before changing its structure. Choose the authoring surface from the code being edited:

Installed dependencies alone are insufficient when a project contains more than one surface. Preserve the surface that owns the current entry point and lifecycle.

Render at an intentional density

PlayCanvas defaults graphicsDevice.maxPixelRatio to 1 for predictable fill-rate cost. In a quality-oriented browser app, set it deliberately after the application exists and before its initial automatic resize; Math.min(window.devicePixelRatio, 2) is a practical high-DPI starting point. Keep 1 only as a measured performance decision, and resize the canvas again after changing the value.

Verify the real backbuffer in a browser: for automatic resolution, canvas.width / canvas.clientWidth and the height ratio should match the chosen pixel ratio. CSS dimensions and a screenshot filepath do not prove rendering density.

For every surface:

  • verify version-sensitive APIs against installed declarations or source;
  • keep one owner for application creation, assets, entities, update callbacks, and teardown;
  • prefer the surface's declarative or lifecycle primitives before reaching into the Engine;
  • put per-entity and per-frame behavior in an Engine Script when page or view state is not its natural owner;
  • clamp the per-frame delta before advancing gameplay, timers, physics, or a state clock, so a backgrounded tab or a slow frame cannot inject one large integration step;
  • clean up external events and resources in the lifecycle that created them.

Read the full file on GitHub · 42 lines

Files

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.

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. 6d ago First seen · 42 lines · 54 tokens per session scan A 36cb0b469f56

Subscribe to this mod's changes

build-app is a skill published in the GitHub repository playcanvas/create-playcanvas (53 stars, last pushed yesterday), licensed MIT. It adds 54 tokens to every session and 466 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

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

unity

Compile, test, and drive Unity for this repo's C# packages (unity/core, jint, quickjs, clearscript) and the two Unity projects (tests/, kitchen-sink/). Use when a change touches C# under unity/, when Unity test results are needed, when a rendering snapshot has to be checked or regenerated, or when the app has to be…

ReactUnity/core · 108 tokens

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.

openai/plugins · 47 tokens

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.

openai/plugins · 48 tokens

web-3d-react-three-fiber

React Three Fiber (R3F) 3D rendering — Canvas, meshes, materials, lights, cameras, animations, events, physics, post-processing, performance.

agents-inc/skills · 42 tokens

design-lenses

Structured game-design critique: review a game through Schell's design lenses, Wright's systems-and-emergence lenses, and the MDA framework, producing severity-ranked findings with concrete fixes. Use when the user asks 'is my game fun?', 'review my game design', 'why is it boring?', 'critique this game', 'what's…

kyh/vibedgames · 118 tokens