cursor-ad-agent: Skill for Claude Code

.agents/skills/typegpu/SKILL.md

typegpu is a skill for Claude Code, Codex from krusemediallc/cursor-ad-agent. It costs 64 tokens per session (1,718 once invoked), scanned A, a copy of typegpu, MIT.

A guide for using TypeGPU or WebGPU, browser technologies for rendering graphics on a computer’s graphics processor, in HyperFrames.

In plain words
What is it for?
Use it to build shader effects, particle systems, liquid-glass visuals, compute pipelines, and other GPU-rendered canvas layers.
Why use it?
It helps keep GPU animation aligned with HyperFrames’ timeline, including when seeking to an exact video frame.

Skill for Claude CodeCodex

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

This is krusemediallc/cursor-ad-agent's own configuration. It tells Claude Code and Codex how to work on cursor-ad-agent itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything cursor-ad-agent configures →

Reuse

Borrowing it

Nothing to install: this file belongs to krusemediallc/cursor-ad-agent. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/krusemediallc/cursor-ad-agent/main/.agents/skills/typegpu/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/krusemediallc/cursor-ad-agent

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 typegpu

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/krusemediallc/cursor-ad-agent/typegpu"><img src="https://agentmods.dev/badge/skills/krusemediallc/cursor-ad-agent/typegpu.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,718 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.00064 $0.01718
Opus 5.5 $0.00026 $0.00687
Sonnet 5.5 $0.00013 $0.00344
Haiku 4.5 $0.00006 $0.00172

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

Security

Grade A, and why

typegpu 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.

Origin

This is a copy

100% identical to typegpu — 0 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/typegpu/SKILL.md · 175 lines

How it starts

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

TypeGPU / WebGPU for HyperFrames

HyperFrames supports TypeGPU and raw WebGPU through its typegpu runtime adapter. The adapter does not own your pipeline. It publishes HyperFrames time and dispatches a seek event so your composition can render the exact GPU frame.

Contract

  • Initialize WebGPU asynchronously (await navigator.gpu.requestAdapter()), but register all GSAP tweens synchronously — before any await. The HyperFrames player reads the timeline immediately at page load.
  • Render from HyperFrames time, not performance.now().
  • Listen for the hf-seek event and re-render at exactly that time.
  • Guard against environments where WebGPU is unavailable — the adapter does not check for you.
  • For video renders, call await device.queue.onSubmittedWorkDone() after submitting GPU work to ensure the canvas is flushed before the frame is captured.

The adapter sets window.__hfTypegpuTime and dispatches new CustomEvent("hf-seek", { detail: { time } }) on each seek.

Basic Pattern

<canvas id="gpu-layer"></canvas>
<script>
  (async () => {
    if (!navigator.gpu) return;
    const adapter = await navigator.gpu.requestAdapter();
    if (!adapter) return;
    const device = await adapter.requestDevice();
    const canvas = document.getElementById("gpu-layer");
    canvas.width = 1920;
    canvas.height = 1080;
    const ctx = canvas.getContext("webgpu");
    const fmt = navigator.gpu.getPreferredCanvasFormat();
    ctx.configure({ device, format: fmt, alphaMode: "opaque" });

    // Build your pipeline, buffers, bind groups...
    const timeUniform = new Float32Array([0]);
    const timeBuf = device.createBuffer({
      size: 16,
      usage: GPUBufferUsage.UNIFORM | GPUBufferUsage.COPY_DST,
    });

    function render(t) {
      timeUniform[0] = t;
      device.queue.writeBuffer(timeBuf, 0, timeUniform);
      const enc = device.createCommandEncoder();
      const pass = enc.beginRenderPass({
        colorAttachments: [
          {
            view: ctx.getCurrentTexture().createView(),
            loadOp: "clear",
            clearValue: { r: 0, g: 0, b: 0, a: 1 },
            storeOp: "store",
          },
        ],
      });
      pass.setPipeline(pipeline);
      pass.setBindGroup(0, bindGroup);
      pass.draw(3);
      pass.end();
      device.queue.submit([enc.finish()]);
    }

    render(0);
    window.addEventListener("hf-seek", (e) => render(e.detail.time));
  })();
</script>

Read the full file on GitHub · 175 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. 1mo ago First seen · 175 lines · 64 tokens per session scan A 6a5036e107a0

Subscribe to this mod's changes

typegpu is a skill published in the GitHub repository krusemediallc/cursor-ad-agent (11 stars, last pushed 3mo ago), licensed MIT. It adds 64 tokens to every session and 1,718 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to typegpu, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

RunAPI Media Generator

A workflow for creating images, videos, music, and audio through RunAPI, a service that provides access to media-generation models. It checks the chosen model and request before submitting the job.

runapi-ai/mcp · 90 tokens

RunAPI Model Explorer

A RunAPI catalogue assistant that lists available AI models, explains their required inputs, and provides current pricing information.

runapi-ai/mcp · 71 tokens

distribea-media

Generate or place on-brand media (images, video, music, voice) with Distribea. Use whenever a project needs imagery or audio — a hero/illustration/avatar, a page full of placeholders, a video clip, background music, or a voice-over — instead of shipping stock photos, placeholders, CSS-gradient-only sections, or raw…

Distribea/distribea-mcp · 113 tokens

competitor-creative-audit

A process for creating a structured report about a mobile game's or game studio's advertising creatives using CreativeScope tools. An advertising creative is an ad's visual and message content.

creativescope/creativescope-mcp · 77 tokens

mobile-ua-creative-strategy

A planning method for mobile-game user-acquisition advertising, where user acquisition means getting new players through ads. It covers ad openings, creative testing, trend analysis, and production briefs.

creativescope/creativescope-mcp · 99 tokens

weekly-inspiration-brief

A recurring report of advertising ideas for mobile games, based on CreativeScope data about current game ads. It can focus on a game category, platform, country, or ad format.

creativescope/creativescope-mcp · 77 tokens