cursorrules

A set of project rules for building plugins for Ulanzi D200-series stream controllers using the Ulanzi Studio software kit. It describes plugin folders, entry points, runtime modes, actions, and settings screens.

In plain words
What is it for?
Use it to create or modify Ulanzi Studio plugins, including their manifest, HTML or Node.js entry point, actions, and property-inspector settings.
Why use it?
It gives the coding agent the expected project layout and device-specific conventions, reducing the chance of creating a plugin the controller cannot load or configure.

Cursor rule for Cursor

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 rules/ukinora/ulanzi-studio-plugin-skill/cursorrules
Clone the repo
git clone --depth 1 https://github.com/ukinora/ulanzi-studio-plugin-skill

Made for: Cursor.

Per session 4,615 This file is loaded in full into every session.
When invoked 4,615 The same file — it is already loaded in full.
Security scan A 2 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 $0.04615 $0.04615
Opus 5 $0.02308 $0.02308
Sonnet 5 $0.00923 $0.00923
Haiku 4.5 $0.00462 $0.00462

Measured 2d ago against content hash 4d2840532733, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cursorrules scanned grade A with 2 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 2d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

To check CORS: `curl -sI "URL" | grep -i "access-control"`

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

`child_process.exec`, a `.bat`, or PowerShell is a command-injection target. Whitelist it first -
.cursorrules · 541 lines

How it starts

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

Cursor Rules - Ulanzi Studio Plugin Development

Load this file as .cursorrules in your project root.

Reference: https://github.com/ukinora/ulanzi-studio-plugin-skill

Ulanzi Studio Plugin Development

Build plugins for Ulanzi D200H / D200 / D200X stream controllers using the Ulanzi Studio SDK.

TRIGGER when: user asks to create a Ulanzi Studio plugin/app, build a stream deck action, or modify an existing Ulanzi plugin.

Plugin Architecture

Two runtime modes (choose one per plugin):

Mode Entry Point Use Case
HTML plugin/app.html Canvas drawing, UI-driven, simpler setup
Node.js plugin/app.js System access, file I/O, complex logic

Directory Structure

com.ulanzi.{name}.ulanziPlugin/
  manifest.json                      # Plugin metadata (REQUIRED)
  plugin/
    app.html                         # Entry point (HTML mode)
    app.js                           # Main logic
    actions/
      {action}.js                    # Action class
  property-inspector/
    config/
      inspector.html                 # Settings UI
      inspector.js                   # Settings logic
  libs/
    js/
      constants.js                   # Event constants
      eventEmitter.js                # Pub/sub system
      timers.js                      # Web Worker timers
      utils.js                       # Utilities (fetch, form, canvas)
      ulanzideckApi.js               # SDK API ($UD object)
    css/
      udpi.css                       # Property Inspector styling
    assets/                          # UI icons (svg)
  assets/
    icons/
      icon.png                       # Plugin icon (72x72)
      categoryIcon.png               # Category icon (72x72)
      actionDefaultImage.png         # Default key image (196x196)
  en.json                            # English localization
  ko_KR.json                         # Korean localization
  zh_CN.json                         # Chinese localization

Read the full file on GitHub · 541 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. 2d ago First seen · 541 lines · 4,615 tokens per session scan A 4d2840532733

Subscribe to this mod's changes

cursorrules is a cursor rule published in the GitHub repository ukinora/ulanzi-studio-plugin-skill (2 stars, last pushed 1mo ago), licensed MIT. It adds 4,615 tokens to every session, about $0.0231 per session on Opus 5. A static security scan graded it A with 2 findings (makes network calls, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.