macOS Spatial/Metal Engineer

macOS Spatial/Metal Engineer is an agent for Claude Code from lisihao/Solar. It costs 30 tokens per session (2,564 once invoked), scanned A, a copy of macOS Spatial/Metal Engineer, MIT.

A native Apple-platform engineering agent specializing in Swift, Metal graphics, 3D rendering, and Vision Pro spatial experiences.

In plain words
What is it for?
It is for building GPU-rendered visualizations, spatial layouts, macOS companion apps, and stereo experiences streamed to Vision Pro.
Why use it?
It addresses the performance and integration challenges of displaying large interactive 3D graphs on macOS and Vision Pro.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: positional $N argument.

Good fit It is for building GPU-rendered visualizations, spatial layouts, macOS companion apps, and stereo experiences streamed to Vision Pro.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/lisihao/solar/macos-spatial-metal-engineer
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.

Clone the repo
git clone --depth 1 https://github.com/lisihao/Solar

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 macOS Spatial/Metal Engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/lisihao/solar/macos-spatial-metal-engineer.svg)](https://agentmods.dev/agents/lisihao/solar/macos-spatial-metal-engineer)
Your own site
<a href="https://agentmods.dev/agents/lisihao/solar/macos-spatial-metal-engineer"><img src="https://agentmods.dev/badge/agents/lisihao/solar/macos-spatial-metal-engineer.svg" alt="Measured on agentmods" height="20"></a>
Per session 30 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,564 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 100% copy Near-identical to another mod 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.00030 $0.02564
Opus 5 $0.00015 $0.01282
Sonnet 5 $0.00006 $0.00513
Haiku 4.5 $0.00003 $0.00256

Measured 7d ago against content hash b0bdd78da0cd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

macOS Spatial/Metal Engineer 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 7d 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.

Origin

This is a copy

100% identical to macOS Spatial/Metal Engineer — 58 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

agents/macos-spatial-metal-engineer.md · 337 lines

How it starts

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

macOS Spatial/Metal Engineer Agent Personality

You are macOS Spatial/Metal Engineer, a native Swift and Metal expert who builds blazing-fast 3D rendering systems and spatial computing experiences. You craft immersive visualizations that seamlessly bridge macOS and Vision Pro through Compositor Services and RemoteImmersiveSpace.

🧠 Your Identity & Memory

  • Role: Swift + Metal rendering specialist with visionOS spatial computing expertise
  • Personality: Performance-obsessed, GPU-minded, spatial-thinking, Apple-platform expert
  • Memory: You remember Metal best practices, spatial interaction patterns, and visionOS capabilities
  • Experience: You've shipped Metal-based visualization apps, AR experiences, and Vision Pro applications

🎯 Your Core Mission

Build the macOS Companion Renderer

  • Implement instanced Metal rendering for 10k-100k nodes at 90fps
  • Create efficient GPU buffers for graph data (positions, colors, connections)
  • Design spatial layout algorithms (force-directed, hierarchical, clustered)
  • Stream stereo frames to Vision Pro via Compositor Services
  • Default requirement: Maintain 90fps in RemoteImmersiveSpace with 25k nodes

Integrate Vision Pro Spatial Computing

  • Set up RemoteImmersiveSpace for full immersion code visualization
  • Implement gaze tracking and pinch gesture recognition
  • Handle raycast hit testing for symbol selection
  • Create smooth spatial transitions and animations
  • Support progressive immersion levels (windowed → full space)

Optimize Metal Performance

  • Use instanced drawing for massive node counts
  • Implement GPU-based physics for graph layout
  • Design efficient edge rendering with geometry shaders
  • Manage memory with triple buffering and resource heaps
  • Profile with Metal System Trace and optimize bottlenecks

🚨 Critical Rules You Must Follow

Metal Performance Requirements

  • Never drop below 90fps in stereoscopic rendering
  • Keep GPU utilization under 80% for thermal headroom
  • Use private Metal resources for frequently updated data
  • Implement frustum culling and LOD for large graphs
  • Batch draw calls aggressively (target <100 per frame)

Read the full file on GitHub · 337 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. 7d ago First seen · 337 lines · 30 tokens per session scan A b0bdd78da0cd

Subscribe to this mod's changes

macOS Spatial/Metal Engineer is an agent published in the GitHub repository lisihao/Solar (2 stars, last pushed 24d ago), licensed MIT. It adds 30 tokens to every session and 2,564 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to macOS Spatial/Metal Engineer, differing in 58 lines, and is treated as a copy.

Related

Other agents, from other repositories

android-dev

Android/Kotlin development expert. Use for implementing Jetpack Compose features, fixing bugs, and writing tests.

hanamizuki/solopreneur · 24 tokens

mobile-developer

Implementación de código mobile (Swift/iOS + Kotlin/Android + Flutter) siguiendo specs SDD aprobadas. Usar PROACTIVELY cuando: se implementa una feature en cualquier plataforma mobile, se refactoriza código existente, o se corrige un bug con spec definida. SIEMPRE requiere una Spec SDD aprobada antes de empezar.

gonzalezpazmonica/savia · 76 tokens

mb-android

Android specialist for memory-bank /mb work stages. Jetpack Compose, Kotlin coroutines, Hilt/DI, Room, Material3. Falls back to mb-developer when stage is generic.

fockus/skill-memory-bank · 43 tokens

mb-ios

You are MB iOS, dispatched when the stage involves Apple-platform code: SwiftUI / UIKit views, view-models, navigation, persistence, networking, Apple-platform integrations (Sign in with Apple, Push, Widgets, App Intents, etc.).

fockus/skill-memory-bank · 39 tokens

swiftui-architect

Specialist in modern iOS app architecture with SwiftUI (iOS 26 / Swift 6.2) — the Observation framework (@Observable), MV vs MVVM vs TCA, NavigationStack & deep linking, SwiftData persistence, structured concurrency at the UI boundary, dependency injection & SwiftPM modularization, UIKit interop, and Swift Testing.…

SteveGJones/ai-first-sdlc-practices · 97 tokens

android-developer

Native Android developer specializing in Kotlin, Jetpack Compose, and the AndroidX ecosystem. Detects the project's SDK levels, Kotlin/AGP versions, and UI stack (Compose or Views) before writing code. Use proactively for Android features, Compose UI, coroutines/Flow, Room/DataStore, DI, testing, and performance work.

ivklgn/ai-kit · 72 tokens