pixijs-scene-dom-container

pixijs-scene-dom-container is a skill for Claude Code from pixijs/pixijs-skills. It costs 96 tokens per session (2,000 once invoked), scanned A, original, MIT.

A PixiJS v8 guide for placing HTML elements, such as text inputs, videos, or iframes, over a PixiJS canvas while following an object's position and transforms.

In plain words
What is it for?
Use it when building HTML overlays, registering DOM support, synchronizing visibility, or handling pointer events in a PixiJS scene.
Why use it?
It explains the special setup needed to keep browser elements aligned with the canvas scene and notes limitations of the experimental API.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the pixijs-skills plugin — 26 skills shipped together

not rated 330repo +5 3mo ago A scan Socket: passSnyk: passSkillSpector: warn 96 tokens original MIT

Good fit Use it when building HTML overlays, registering DOM support, synchronizing visibility, or handling pointer events in a PixiJS scene.

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

Made for: Claude Code.

Or install pixijs-skills, the plugin that ships this one along with the rest of its 26 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 pixijs-scene-dom-container

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/pixijs/pixijs-skills/pixijs-scene-dom-container"><img src="https://agentmods.dev/badge/skills/pixijs/pixijs-skills/pixijs-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. Third-party audits
  • Socket pass 15 Apr 2026
  • Snyk pass 15 Apr 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Prompt Injection · line 39
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
How audits are shown
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.00096 $0.02000
Opus 5 $0.00048 $0.01000
Sonnet 5 $0.00019 $0.00400
Haiku 4.5 $0.00010 $0.00200

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

Security

Grade A, and why

pixijs-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 13d 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:

skills/pixijs-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. 13d ago First seen · 194 lines · 96 tokens per session scan A 6c65323e4099

Subscribe to this mod's changes

pixijs-scene-dom-container is a skill published in the GitHub repository pixijs/pixijs-skills (330 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. 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

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 52 tokens

frontend-visual-qa

Audits already-rendered web, landing-page, HTML deck/slide, browser tool/game, dashboard/admin, design-system, and desktop UIs using real-browser or native-app journeys, inspected screenshots, DOM geometry, responsive or projection viewports, and a bundled Playwright sweep. Use after UI implementation to find…

daymade/claude-code-skills · 145 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens

waitlist-page

A simple waitlist page for collecting email addresses from people interested in a new product or early-access release.

nexu-io/html-anything · 25 tokens

refactoring-ui

Audit and fix visual hierarchy, spacing, color, and depth in web UIs. Use when the user mentions "my UI looks off" (or amateur/unprofessional), "fix the design", "Tailwind styling", "color palette", "visual hierarchy", "design system", "spacing scale", or "component styling". Also trigger when building consistent…

wondelai/skills · 132 tokens