renderer

renderer is a skill for Claude Code, Codex from dzhng/skills. It costs 42 tokens per session (411 once invoked), scanned A, original, MIT.

A guide for building, debugging, and reviewing WebGPU renderers in three.js or raw WGSL. WebGPU is a browser API for using the graphics processor, while WGSL is its shader language.

In plain words
What is it for?
Use it when changing GPU resources, render or compute passes, node materials, shaders, bind groups, frame sequencing, depth behavior, device capabilities, or performance.
Why use it?
GPU code can fail when buffers, textures, shaders, depth handling, or rendering stages disagree. The guide helps trace those contracts and verify the rendered result in a browser.

Skill for Claude CodeCodex

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

Good fit Use it when changing GPU resources, render or compute passes, node materials, shaders, bind groups, frame sequencing, depth behavior, device capabilities, or performance.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dzhng/skills/renderer
View source ↗ dzhng/skills
About the project

dzhng/skills is a collection of reusable instructions that guide AI coding agents through software work. Agents use the skills to explore ideas, write specifications, implement and review code, and conduct autonomous research; the catalogue lists 30 of these skills.

dzhng/skills · 1,525 stars · on GitHub

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 dzhng/skills --skill renderer
Clone the repo
git clone --depth 1 https://github.com/dzhng/skills

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 renderer

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/dzhng/skills/renderer"><img src="https://agentmods.dev/badge/skills/dzhng/skills/renderer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 411 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
  • 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 MCP Rug Pull · line 193
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
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.00042 $0.00411
Opus 5.5 $0.00017 $0.00164
Sonnet 5.5 $0.00008 $0.00082
Haiku 4.5 $0.00004 $0.00041

Measured 1mo ago against content hash 26cecc54290a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

renderer 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 1mo 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.

skills/graphics/renderer/SKILL.md · 34 lines

What it actually says

GPU renderer

The renderer is TypeGPU over WebGPU. It draws plain frame inputs the application hands it and never reaches into simulation or app state. These are the flaws that sink a 3D experience; check a change against each before writing it.

  • Fixed-view cost never grows with world size. For a fixed camera and render size, submitted geometry, shadow casters, and per-frame lists are bounded by what the view can see or cast into, and screen-space work by pixels. Store the world map-wide; select from it spatially. Frustum clipping does not make vertices free. Compare equal local content and finite view distance: admitting more world changes the workload.
  • Detail follows projected size. Correct culling can still admit thousands of tiny meshes. Bound each visible instance’s geometry by its screen footprint as well as bounding the selected population.
  • One owner per contract. Frame orchestration, camera, depth convention, targets, culling, lighting, timing, and resource lifetime each have one owner every pass shares. Extend it; a second copy drifts.
  • Shared contracts change together. Depth and lighting are engine-wide: every pass reads the same convention and every material the same shading path. A per-pass exception is a future visual bug.
  • No GPU resource without a lifetime owner. Everything is allocated through the registry, rebuilds swap in whole, and repeated resize/rebuild/reset returns to baseline.
  • Pixels prove correctness, not counters. An optimization is accepted only with an interleaved A/B on the real GPU and an image that shows the subject still drawn correctly.
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. 1mo ago Changed · +4 lines 26cecc54290a
  2. 1mo ago Changed · -86 lines · -19 tokens per session a76dee533780
  3. 2mo ago Changed · +36 lines 84cecdc69466
  4. 2mo ago Changed · +11 lines c77f6552cb54
  5. 2mo ago Changed · +4 lines 5195d8356c4f
  6. 2mo ago Changed · -215 lines · -14 tokens per session 038e92888d9b
  7. 3mo ago First seen · 280 lines · 75 tokens per session scan A 961ab2a82aec

Subscribe to this mod's changes

renderer is a skill published in the GitHub repository dzhng/skills (1,525 stars, last pushed 17d ago), licensed MIT. It adds 42 tokens to every session and 411 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.

Related

renderer compared with skills from other repositories

renderer next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rendererdzhng/skillsSkill1.5k17d agoMITA42Claude Code, Codex
agent-code-review-swarmruvnet/rufloSkill83ktodayMITA22Claude Code
github-pr-workflowpaperclipai/paperclipSkill118ktodayMITA39Claude Code, Codex
agent-reviewerruvnet/rufloSkill83ktodayMITA15Claude Code
github-automationruvnet/rufloSkill83ktodayMITA61Claude Code
gh-issuesspinabot/brigadeSkill11k18d agoMITA116Claude Code
githubspinabot/brigadeSkill11k18d agoMITA101Claude Code, Codex