orklev2-vulkan

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

Answer questions about orkid's Vulkan backend, VkContext, device selection, swapchain (GLFW/DRM/offscreen), command buffers (primary/secondary), descriptor pools, pipeline caching, memory management, synchronization (semaphores/fences/timeline), dynamic rendering, validation layers, and platform specifics…

Skill for Claude CodeCodex

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 skills/tweakoz/orkid/orklev2-vulkan
Any agent
npx skills add tweakoz/orkid --skill orklev2-vulkan
Clone the repo
git clone --depth 1 https://github.com/tweakoz/orkid

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/tweakoz/orkid/orklev2-vulkan.svg)](https://agentmods.dev/skills/tweakoz/orkid/orklev2-vulkan)
Your own site
<a href="https://agentmods.dev/skills/tweakoz/orkid/orklev2-vulkan"><img src="https://agentmods.dev/badge/skills/tweakoz/orkid/orklev2-vulkan.svg" alt="Measured on agentmods" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,727 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00088 $0.01727
Opus 5 $0.00044 $0.00864
Sonnet 5 $0.00018 $0.00345
Haiku 4.5 $0.00009 $0.00173

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

Security

Grade A, and why

orklev2-vulkan 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 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.

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-vulkan/SKILL.md · 173 lines

How it starts

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

Orkid Vulkan Backend Reference

When answering questions about the Vulkan backend in orkid, consult the files below. All under ork.lev2/src/gfx/vulkan/.

Key Files

Component File
VkContext headers/vulkan_ctx.h (lines 664–912)
Synchronization headers/vk_synchro.h
Memory/Buffers headers/vk_memory.h
Pipelines headers/vk_pipeline.h
Images/Textures headers/vk_image.h
Render Targets headers/vk_rtgroup.h
DRM Swapchain headers/vk_swapchain_drm.h
Geometry headers/vk_geom.h
Misc/Utils headers/vk_misc.h
Type Aliases headers/vk_protos.h
Context Init vulkan_ctx.cpp
Instance/Device vulkan_vkimpl.cpp
Command Buffers vulkan_ctx_cb.cpp
Sync Impl vulkan_ctx_synchro.cpp
Swapchain vulkan_swapchain.cpp
DRM Swapchain vulkan_swapchain_drm.cpp
Offscreen vulkan_offscreen.cpp
FBI vulkan_fbi.cpp, vulkan_fbi_rtgroup.cpp
TXI vulkan_txi.cpp, vulkan_txi_from_data.cpp
FXI/Pipelines vulkan_fxi.cpp, vulkan_fxi_pipelines*.cpp
GBI vulkan_gbi.cpp
Compute vulkan_compute.cpp

Architecture

VkContext : public Context
├── VkSwapChain (GLFW window presentation)
├── VkOffscreen (headless rendering)
├── VkSwapChainDRM (Linux DRM direct rendering)
├── VkGeometryBufferInterface : GBI
├── VkTextureInterface : TXI
├── VkFxInterface : FXI
├── VkFrameBufferInterface : FBI
├── VkComputeInterface : CI
├── VkDrawingInterface : DWI
└── VkMatrixStackInterface : MTXI

VkContext Key Members

Member Description
_vkdevice Logical device
_vkphysicaldevice Physical device
_vkdeviceinfo Device capabilities
_vkqfid_graphics/compute/transfer Queue family indices
_vkqueue_graphics Graphics queue
_vkcmdpool_graphics Command pool
_vkDescriptorPool Global descriptor pool (262K descriptors)
_sampler_cache Sampler object cache
_defaultCommandBuffer Current primary CB
_pri_cmdbuf_pool 16-entry primary CB pool

Read the full file on GitHub · 173 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 · 173 lines · 88 tokens per session scan A 02f4974f842b

Subscribe to this mod's changes

orklev2-vulkan is a skill published in the GitHub repository tweakoz/orkid (35 stars, last pushed 22d ago), licensed MIT. It adds 88 tokens to every session and 1,727 once invoked, about $0.0004 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

luban-dev

Luban 游戏配置全栈工具,支持枚举/Bean/数据表的增删改查、代码生成、TEngine 集成。触发场景:(1) 编辑游戏配置数据(配置表/数据表/道具表/技能表/奖励表/活动表),(2) 新增/修改/删除配置表结构,(3) 定义枚举/Bean/字段,(4) 导表/生成配置代码,(5) 编写 luban.conf 或 Schema 定义,(6) Luban 类型系统/校验器问题。即使用户未明确说"Luban",只要是编辑游戏配置数据,也应使用此技能。.

Alex-Rachel/TEngine · 149 tokens

html-to-ugui

HTML 原型转 Unity UGUI 智能 Prefab 生成管线。通过 AI 生成符合 UI-DSL 的 HTML,用 Playwright/浏览器烘焙 JSON v2 坐标、图片和适配意图,再导入 Unity 由 HtmlToUGUIBaker 生成可维护、多终端适配的 UGUI Prefab。触发场景:(1) 需要从自然语言生成 Unity UGUI 界面 (2) 需要从 HTML 原型烘焙 UGUI (3) UI 中包含图片并希望一键导入/绑定 Sprite (4) 需要 PC/mobile/pad 多终端适配 Prefab。.

Alex-Rachel/TEngine · 150 tokens

host-pattern

Use when adding a new domain to Nuclear's plugin system, or implementing a host. Covers the host pattern (how player functionality is exposed to plugins), the host interface and API class structure, how hosts are implemented in the player, error handling conventions, and what files to create and modify. Trigger…

nukeop/nuclear · 86 tokens

creating-components

Use when creating new UI components in packages/ui. Covers component structure, tests, stories, and what to avoid.

nukeop/nuclear · 26 tokens

tengine-dev

TEngine Unity 游戏框架开发指导。触发词:TEngine, UIWindow, UIWidget, GameEvent, AddUIEvent, LoadAssetAsync, SetSprite, HybridCLR, YooAsset, Luban, GameModule, 热更, 资源加载, UI开发, 事件系统, 配置表.

Alex-Rachel/TEngine · 68 tokens

writing-docs

Use when writing or editing documentation in packages/docs. Covers Gitbook markdown syntax, special blocks, page structure, and the SUMMARY.md table of contents. Trigger phrases include "write docs", "add documentation", "docs page", "gitbook", "user manual".

nukeop/nuclear · 57 tokens