pixi-scene-dom-container

pixi-scene-dom-container is a skill for Claude Code, Codex from bullish0x/GameStudio. It costs 96 tokens per session (2,000 once invoked), scanned A, a copy of pixijs-scene-dom-container, MIT.

A guide to placing regular HTML elements, such as text fields, videos, or iframes, on top of a PixiJS canvas so they follow objects in the scene.

In plain words
What is it for?
Use it to add native form controls, embedded pages, videos, or other HTML overlays to a PixiJS game or visual application.
Why use it?
It explains how to keep HTML content aligned with moving or transformed PixiJS objects instead of positioning it by hand.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to add native form controls, embedded pages, videos, or other HTML overlays to a PixiJS game or visual application.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bullish0x/gamestudio/pixi-scene-dom-container
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 bullish0x/GameStudio --skill pixi-scene-dom-container
Clone the repo
git clone --depth 1 https://github.com/bullish0x/GameStudio

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 pixi-scene-dom-container

README.md
[![agentmods](https://agentmods.dev/badge/skills/bullish0x/gamestudio/pixi-scene-dom-container/github.svg)](https://agentmods.dev/skills/bullish0x/gamestudio/pixi-scene-dom-container)
Your own site
<a href="https://agentmods.dev/skills/bullish0x/gamestudio/pixi-scene-dom-container"><img src="https://agentmods.dev/badge/skills/bullish0x/gamestudio/pixi-scene-dom-container/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 pixi-scene-dom-container

Your own site · 80×15
<a href="https://agentmods.dev/skills/bullish0x/gamestudio/pixi-scene-dom-container"><img src="https://agentmods.dev/badge/skills/bullish0x/gamestudio/pixi-scene-dom-container.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,000 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 100% copy Near-identical to another mod 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.00096 $0.02000
Opus 5 $0.00048 $0.01000
Sonnet 5 $0.00019 $0.00400
Haiku 4.5 $0.00010 $0.00200

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

Security

Grade A, and why

pixi-scene-dom-container 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 9d 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

This is a copy

100% identical to pixijs-scene-dom-container — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/pixi-scene-dom-container/SKILL.md · 194 lines

How it starts

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

DOMContainer positions an HTML element over the PixiJS canvas and drives its CSS transform from the scene graph. Use it for native inputs, iframes, videos, or rich HTML that needs to follow a display object's position. The default pixi.js browser bundle registers the DOMPipe automatically; custom builds add a side-effect import 'pixi.js/dom'.

DOMContainer is marked EXPERIMENTAL in PixiJS v8. The API may change between minor releases.

Assumes familiarity with pixijs-scene-core-concepts. DOMContainer extends ViewContainer, so it's a leaf: do not nest PixiJS children inside it. Nest DOM content inside the HTML element itself, or wrap multiple DOMContainer instances in a Container. Not available in Web Workers; a worker has no DOM to overlay.

Quick Start

import "pixi.js/dom";

const input = document.createElement("input");
input.type = "text";
input.placeholder = "Enter name...";

const dom = new DOMContainer({
  element: input,
  anchor: 0.5,
});
dom.position.set(app.screen.width / 2, app.screen.height / 2);

app.stage.addChild(dom);

Related skills: pixijs-scene-core-concepts (scene graph basics), pixijs-scene-container (wrap multiple DOM overlays), pixijs-events (pointer handling on canvas vs DOM), pixijs-accessibility (screen-reader overlays).

Constructor options

All Container options (position, scale, tint, label, filters, zIndex, etc.) are also valid here — see skills/pixijs-scene-core-concepts/references/constructor-options.md.

Leaf-specific options added by DOMContainerOptions:

Option Type Default Description
element HTMLElement document.createElement('div') The HTML element the container drives. Any element is valid: input, textarea, iframe, video, div, etc. If omitted, a bare <div> is created.
anchor PointData | number 0 Origin of the element relative to its own dimensions. 0 is top-left, 0.5 centers, 1 is bottom-right. A single number sets both axes; { x, y } sets each independently.

Read the full file on GitHub · 194 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. 9d ago First seen · 194 lines · 96 tokens per session scan A 51ff27589805

Subscribe to this mod's changes

pixi-scene-dom-container is a skill published in the GitHub repository bullish0x/GameStudio (12 stars, last pushed 3mo ago), licensed MIT. It adds 96 tokens to every session and 2,000 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to pixijs-scene-dom-container, differing in 2 lines, and is treated as a copy.

Related

Other skills, from other repositories

accessibility-a11y

WCAG 2.2 compliance, ARIA patterns, keyboard navigation, screen readers, automated testing.

travisjneuman/.claude · 26 tokens

flutter-development

Cross-platform development with Flutter and Dart for iOS, Android, Web, Desktop, and embedded. Use when building Flutter apps, implementing Material/Cupertino design, or optimizing Dart code.

travisjneuman/.claude · 41 tokens

game-development

Game development with Unity, Unreal Engine, and Godot. Use when building games, implementing game mechanics, physics, AI, or working with game engines.

travisjneuman/.claude · 34 tokens

electron-desktop

Desktop application development with Electron for Windows, macOS, and Linux. Use when building cross-platform desktop apps, implementing native OS features, or packaging web apps for desktop.

travisjneuman/.claude · 38 tokens

generic-react-feature-developer

Guide feature development for React applications with architecture focus. Covers Zustand/Redux patterns, IndexedDB usage, component systems, lazy loading strategies, and seamless integration. Use when adding new features, refactoring existing code, or planning major changes.

travisjneuman/.claude · 53 tokens

generic-react-ux-designer

Professional UI/UX design expertise for React applications. Covers design thinking, user psychology (Hick's/Fitts's/Jakob's Law), visual hierarchy, interaction patterns, accessibility, performance-driven design, and design critique. Use when designing features, improving UX, solving user problems, or conducting design…

travisjneuman/.claude · 69 tokens