orkid: Skill for Claude Code

.claude/skills/orklev2-dwi/SKILL.md

orklev2-dwi is a skill for Claude Code from tweakoz/orkid. It costs 68 tokens per session (1,183 once invoked), scanned A, original, MIT.

A reference for Orkid's DrawingInterface, a graphics API for drawing lines and 2D or 3D rectangles and images. It covers screen-space rendering helpers and Python bindings.

In plain words
What is it for?
Use it to draw lines, screen-space quads, fullscreen quads, tiled quads, and other 2D graphics.
Why use it?
It helps developers use the project's existing drawing functions for overlays, user interfaces, post-processing, and visual debugging.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

This is tweakoz/orkid's own configuration. It tells Claude Code how to work on orkid 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 orkid configures →

Reuse

Borrowing it

Nothing to install: this file belongs to tweakoz/orkid. 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/tweakoz/orkid/develop/.claude/skills/orklev2-dwi/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/tweakoz/orkid

Made for: Claude Code.

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 orklev2-dwi

README.md
[![agentmods](https://agentmods.dev/badge/skills/tweakoz/orkid/orklev2-dwi.svg)](https://agentmods.dev/skills/tweakoz/orkid/orklev2-dwi)
Your own site
<a href="https://agentmods.dev/skills/tweakoz/orkid/orklev2-dwi"><img src="https://agentmods.dev/badge/skills/tweakoz/orkid/orklev2-dwi.svg" alt="Measured on agentmods" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,183 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 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.00068 $0.01183
Opus 5 $0.00034 $0.00592
Sonnet 5 $0.00014 $0.00237
Haiku 4.5 $0.00007 $0.00118

Measured 5d ago against content hash 45d07067223a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

orklev2-dwi 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 5d 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.

.claude/skills/orklev2-dwi/SKILL.md · 96 lines

How it starts

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

Orkid DrawingInterface (DWI) Reference

When answering questions about 2D drawing, screen-space quads, or line rendering in orkid, consult the files below. All under ork.lev2/.

Key Files

Component File
DWI Interface inc/ork/lev2/gfx/dwi.h (lines 9–56)
Vulkan DWI src/gfx/vulkan/headers/vulkan_ctx.h (lines 139–142)
Python Bindings pyext/src/pyext_gfx.cpp (lines 298–322)

DWI Interface (dwi.h:9–56)

The DrawingInterface provides methods for rendering 2D/3D quads and lines, primarily used for post-processing, UI overlays, and debug visualization.

Line Drawing

  • line2DEML(v0, v1, vertex_color, depth) — 2D line with fvec2 endpoints and fvec4 color

2D Quad Drawing (Screen-Space)

Method Description
quad2DEML(quadrect, uvA, uvB, depth) Basic screen quad with dual UV sets
quad2DEML2(quadrect, uvA, uvB, depth) Variant 2
quad2DEMLCCL(quadrect, uvA, uvB, depth) CCL winding variant
quad2D(quadrect, uvA, uvB, depth) Auto-winding (uses RenderingConventions)
fullscreenQuad(uvA, uvB, depth) Fills entire viewport

Parameters:

  • quadrectfvec4(x, y, w, h) in screen space
  • uvA, uvBfvec4(u0, v0, u1, v1) UV rectangles for two texture channels
  • depth — Z depth value (default 0.0)

3D Quad Drawing

  • quad3DEML(V0, V1, V2, V3, Uv0, Uv1, Uv2, Uv3, color) — 4 fvec3 vertices with per-vertex UV and uint32 color

Advanced 2D Quad (Per-Vertex UVs)

  • quad2DEML(v0..v3, uvA0..uvA3, uvB0..uvB3, color, depth) — 4 fvec2 vertices, 4+4 fvec2 UVs per channel, fvec4 color

Tiled Quad Drawing

  • quad2DEMLTiled(quadrect, uvA, uvB, numtiles) — subdivided quad (legacy)
  • quadTiled2D(quadrect, uvA, uvB, numtiles) — auto-winding tiled quad

Notes

  • EML suffix = "Eulerian-like Materials" — direct draw, bypasses material pass management
  • Auto-winding methods (quad2D, fullscreenQuad, quadTiled2D) adjust vertex order based on Context::renderingConventions() to handle Y-flip differences between backends
  • All quad methods use the SVtxV12C4T16 vertex format internally (position + color + 2 UV sets)

Read the full file on GitHub · 96 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. 5d ago First seen · 96 lines · 68 tokens per session scan A 45d07067223a

Subscribe to this mod's changes

orklev2-dwi is a skill published in the GitHub repository tweakoz/orkid (35 stars, last pushed 25d ago), licensed MIT. It adds 68 tokens to every session and 1,183 once invoked, about $0.0003 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-09-01.

Related

Other skills, from other repositories

game-ui-patterns

Skill "game-ui-patterns" from HermeticOrmus/LibreGameDev-Claude-Code, covering game ui patterns, hud health bar, health bar with smooth tween animation and damage flash, menu state stack and push-down automaton for menu navigation.

HermeticOrmus/LibreGameDev-Claude-Code · 0 tokens

figma-generate-design

Use this skill alongside figma-use when the task involves translating an application page, view, or multi-section layout into Figma. Triggers: 'write to Figma', 'create in Figma from code', 'push page to Figma', 'take this app/page and build it in Figma', 'create a screen', 'build a landing page in Figma', 'update the…

warpdotdev/warp · 160 tokens

figma-create-design-system-rules

Generates custom design system rules for the user's codebase. Use when user says "create design system rules", "generate rules for my project", "set up design rules", "customize design system guidelines", or wants to establish project-specific conventions for Figma-to-code workflows. Requires Figma MCP server…

warpdotdev/warp · 71 tokens

figma-generate-library

Build or update a professional-grade design system in Figma from a codebase. Use when the user wants to create variables/tokens, build component libraries, set up theming (light/dark modes), document foundations, or reconcile gaps between code and Figma. This skill teaches WHAT to build and in WHAT ORDER — it…

warpdotdev/warp · 95 tokens

figma-implement-design

Translates Figma designs into production-ready application code with 1:1 visual fidelity. Use when implementing UI code from Figma files, when user mentions "implement design", "generate code", "implement component", provides Figma URLs, or asks to build components matching Figma specs. For Figma canvas writes via…

warpdotdev/warp · 81 tokens

edit-figma-design

Create or update Figma designs directly from a written product or UI description using the Figma MCP authoring tools. Use when the user wants a mockup, wireframe, screen, component, flow, or concept designed in Figma from text, or wants to iterate on an existing Figma file from textual feedback. Despite the name, this…

warpdotdev/warp · 134 tokens