axiom-metal-migration-ref

axiom-metal-migration-ref is a skill for Claude Code, Codex from ComeOnOliver/skillshub. It costs 43 tokens per session (5,693 once invoked), scanned A, original, MIT.

A reference for translating graphics shaders and rendering setup between OpenGL, DirectX, and Apple's Metal system. Shaders are small programs that calculate how graphics are drawn.

In plain words
What is it for?
Use it when converting GLSL or HLSL shaders to Metal Shading Language or mapping OpenGL and DirectX APIs to Metal.
Why use it?
It helps resolve differences in data types, shader syntax, graphics APIs, and Metal view or pipeline setup.

Skill for Claude CodeCodex

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

Good fit Use it when converting GLSL or HLSL shaders to Metal Shading Language or mapping OpenGL and DirectX APIs to Metal.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/comeonoliver/skillshub/axiom-metal-migration-ref
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 ComeOnOliver/skillshub --skill axiom-metal-migration-ref
Clone the repo
git clone --depth 1 https://github.com/ComeOnOliver/skillshub

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 axiom-metal-migration-ref

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/comeonoliver/skillshub/axiom-metal-migration-ref"><img src="https://agentmods.dev/badge/skills/comeonoliver/skillshub/axiom-metal-migration-ref.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,693 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.00043 $0.05693
Opus 5 $0.00022 $0.02847
Sonnet 5 $0.00009 $0.01139
Haiku 4.5 $0.00004 $0.00569

Measured 8d ago against content hash 773a671b3832, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

axiom-metal-migration-ref 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 8d 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/CharlesWiltgen/Axiom/axiom-metal-migration-ref/SKILL.md · 651 lines

How it starts

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

Metal Migration Reference

Complete reference for converting OpenGL/DirectX code to Metal.

When to Use This Reference

Use this reference when:

  • Converting GLSL shaders to Metal Shading Language (MSL)
  • Converting HLSL shaders to MSL
  • Looking up GL/D3D API equivalents in Metal
  • Setting up MTKView or CAMetalLayer
  • Building render pipelines
  • Using Metal Shader Converter for DirectX

Part 1: GLSL to MSL Conversion

Type Mappings

GLSL MSL Notes
void void
bool bool
int int 32-bit signed
uint uint 32-bit unsigned
float float 32-bit
double N/A Use float (no 64-bit float in MSL)
vec2 float2
vec3 float3
vec4 float4
ivec2 int2
ivec3 int3
ivec4 int4
uvec2 uint2
uvec3 uint3
uvec4 uint4
bvec2 bool2
bvec3 bool3
bvec4 bool4
mat2 float2x2
mat3 float3x3
mat4 float4x4
mat2x3 float2x3 Columns x Rows
mat3x4 float3x4
sampler2D texture2d<float> + sampler Separate in MSL
sampler3D texture3d<float> + sampler
samplerCube texturecube<float> + sampler
sampler2DArray texture2d_array<float> + sampler
sampler2DShadow depth2d<float> + sampler

Built-in Variable Mappings

GLSL MSL Stage
gl_Position Return [[position]] Vertex
gl_PointSize Return [[point_size]] Vertex
gl_VertexID [[vertex_id]] parameter Vertex
gl_InstanceID [[instance_id]] parameter Vertex
gl_FragCoord [[position]] parameter Fragment
gl_FrontFacing [[front_facing]] parameter Fragment
gl_PointCoord [[point_coord]] parameter Fragment
gl_FragDepth Return [[depth(any)]] Fragment
gl_SampleID [[sample_id]] parameter Fragment
gl_SamplePosition [[sample_position]] parameter Fragment

Read the full file on GitHub · 651 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. 8d ago First seen · 651 lines · 43 tokens per session scan A 773a671b3832

Subscribe to this mod's changes

axiom-metal-migration-ref is a skill published in the GitHub repository ComeOnOliver/skillshub (63 stars, last pushed 2mo ago), licensed MIT. It adds 43 tokens to every session and 5,693 once invoked, about $0.0002 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-03.

Related

Other skills, from other repositories

asset-management

Manage ServiceNow hardware assets, software licenses, and lifecycle states on almhardware/almlicense — license allocation, CMDB-to-asset linking, warranty tracking, inventory aggregation (HAM/SAM).

serac-labs/serac · 43 tokens

deploy-docker-compose

Run the Omnigent server as a Docker compose stack (server + Postgres) on any Docker host — your laptop, a VPS, EC2 by hand, or as the base layer of any container-platform deploy. Invoke when the user wants to build the image, bring up the compose stack, debug the stack on a host they already have, or extend the stack…

omnigent-ai/omnigent · 84 tokens

tmux-lane-orchestrator

Manage one tmux agent lane from its matching ops pane, inspect live pane state and Codex logs on cold start, and produce concise manager summaries for OpenClaw and adjacent project work.

vincentkoc/dotskills · 46 tokens

plan-validate

Deterministic plan.json validation via Python script, replacing most plan-validator agent calls. Performs JSON parsing, schema validation, task checkbox regex, required section checks, sync validation, and data extraction. Only semantic consistency checks (storage/query alignment) require the LLM agent. Triggers on…

closedloop-ai/claude-plugins · 89 tokens

opik-optimizer

Optimize LLM prompts, tools, and agents in Opik using standardized optimizer workflows (prompt optimization, tool optimization, and parameter tuning), dataset/metric wiring, and result interpretation.

vincentkoc/dotskills · 41 tokens

graincrawl

Maintain, verify, and release graincrawl, the local-first Granola archive CLI, including SQLite archive behavior, read-only Granola source boundaries, Homebrew tap packaging, and crawlkit-powered TUI/snapshot surfaces.

vincentkoc/dotskills · 47 tokens