# Axiom graphics

> Axiom graphics is an open-source agent skill for developer tools. Routes an agent to Metal, shader, RealityKit, USD and display-performance guidance. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/CharlesWiltgen/Axiom/tree/main/axiom-cursor/skills/axiom-graphics
- **Repository:** https://github.com/charleswiltgen/axiom
- **GitHub stars:** 1,278
- **License:** MIT
- **Skill name:** axiom-graphics
- **Collection:** https://github.com/CharlesWiltgen/Axiom
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

This skill acts as a router for GPU and 3D graphics work. It points the agent to deeper reference files covering porting OpenGL, OpenGL ES or DirectX code to Metal, converting GLSL and HLSL shaders into Metal Shading Language, and diagnosing problems such as black screens or wrong colors after a port. Other reference files cover frame-rate tuning on 120Hz ProMotion displays, rendering that holds up when a window resizes or moves between screens, HDR color handling, and 3D content in non-game SwiftUI apps through RealityKit and RealityView.

The skill is organized as a decision tree that maps common questions to the right reference file, so the agent loads only the material relevant to the task. It also includes a table of common rationalizations with the corrective guidance for each. It contains no scripts; its value comes from the instructions and reference material it sends the agent to.

The content is written around recent system releases and assumes Apple platforms and Swift. Game-specific RealityKit work is redirected to a separate games router.

## When your agent uses it

> Use when working with ANY GPU rendering, Metal, OpenGL migration, shaders, 3D content, RealityKit, AR, USD/USDZ files, or display performance. Covers Metal migration, shader conversion, RealityKit ECS, RealityView, USDKit, ProMotion.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/CharlesWiltgen/Axiom/tree/HEAD/axiom-cursor/skills/axiom-graphics)
- [License: MIT](https://github.com/CharlesWiltgen/Axiom/tree/HEAD/axiom-cursor/skills/axiom-graphics)

## Features

- **Metal migration guidance:** Covers deciding between a translation layer and a native Metal rewrite, plus planning a port.
- **Shader conversion tables:** Provides mappings from GLSL and HLSL types and functions to Metal Shading Language.
- **Rendering diagnostics:** Walks through black screens, shader compile errors, wrong colors and performance regressions after porting.
- **Display frame-rate tuning:** Explains MTKView and CADisplayLink configuration for 120Hz and variable refresh rate.
- **Resizable rendering fixes:** Addresses stretching or blur when windows resize or scenes move between displays.
- **RealityKit for SwiftUI:** Covers RealityView, Model3D, AR anchoring and the entity-component architecture.
- **USD and USDZ handling:** Describes opening, editing and compressing USD stages in Swift via USDKit.

## Good for

- Port an OpenGL ES renderer to Metal
- Convert a GLSL fragment shader to Metal Shading Language
- Debug a black screen after moving rendering to Metal
- Make a SwiftUI app render a 3D model with RealityView
- Raise a Metal render loop to 120fps on ProMotion displays
- Edit or compress a USDZ file from Swift code

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/axiom-graphics` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/axiom-graphics &&
cp -R "$tmp/axiom-cursor/skills/axiom-graphics" ~/.claude/skills/axiom-graphics &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/axiom-graphics` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/axiom-graphics` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/axiom-graphics &&
cp -R "$tmp/axiom-cursor/skills/axiom-graphics" ~/.agents/skills/axiom-graphics &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/axiom-graphics` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/axiom-graphics` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/axiom-graphics &&
cp -R "$tmp/axiom-cursor/skills/axiom-graphics" ~/.cursor/skills/axiom-graphics &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/axiom-graphics` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/CharlesWiltgen/Axiom.git --path axiom-cursor/skills/axiom-graphics
```

Or copy the folder to `~/.gemini/skills/axiom-graphics` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/axiom-graphics`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/axiom-graphics &&
cp -R "$tmp/axiom-cursor/skills/axiom-graphics" ~/.copilot/skills/axiom-graphics &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/axiom-graphics` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git
```

Then copy `Axiom/axiom-cursor/skills/axiom-graphics` into your agent's skills folder as `axiom-graphics`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Does Axiom graphics include scripts?

No, the skill has no scripts. It consists of instructions and reference files that the agent loads as needed.

### When does the skill trigger?

It is meant for tasks involving GPU rendering, Metal, OpenGL migration, shaders, 3D content, RealityKit, AR, USD/USDZ files or display performance.

### Is Axiom graphics meant for game development?

No. Game-specific RealityKit patterns are sent to a separate axiom-games router instead.

### How do I install Axiom graphics in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/axiom-graphics to use it in all your projects, or to .claude/skills/axiom-graphics in one project.

### Does Axiom graphics run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Axiom graphics?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Axiom graphics?

The closest alternatives to Axiom graphics are Axiom games, Axiom design, Axiom swiftui, Axiom macOS and Axiom uikit.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Axiom games](https://ai-powered.com/skills/axiom-games-charleswiltgen-2): Axiom games is an open-source agent skill for developer tools.
- [Axiom design](https://ai-powered.com/skills/axiom-design-charleswiltgen-2): Axiom design is an open-source agent skill for design and media.
- [Axiom swiftui](https://ai-powered.com/skills/axiom-swiftui-charleswiltgen-2): Axiom swiftui is an open-source agent skill for developer tools.
- [Axiom macOS](https://ai-powered.com/skills/axiom-macos-charleswiltgen-2): Axiom macOS is an open-source agent skill for developer tools.
- [Axiom uikit](https://ai-powered.com/skills/axiom-uikit-charleswiltgen-2): Axiom uikit is an open-source agent skill for developer tools.
- [Axiom media](https://ai-powered.com/skills/axiom-media-charleswiltgen-2): Axiom media is an open-source agent skill for developer tools.
- [Design](https://ai-powered.com/skills/design-rshankras): Design is an open-source agent skill for design and media.
- [Axiom swift](https://ai-powered.com/skills/axiom-swift-charleswiltgen-2): Axiom swift is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/axiom-graphics-charleswiltgen
