macOS Spatial/Metal Engineer

macOS Spatial/Metal Engineer is an agent for Claude Code, OpenCode from SHAdd0WTAka/Zen-Ai-Pentest. It costs 30 tokens per session (2,522 once invoked), scanned A, original, MIT.

A native Apple-platform engineering specialist for Swift, Metal, macOS, and Vision Pro. It focuses on 3D rendering and spatial-computing experiences, where digital content is placed and viewed in three-dimensional space.

In plain words
What is it for?
Use it to design Metal rendering systems, GPU data buffers, spatial layouts, graph visualizations, and stereo-frame streaming between macOS and Vision Pro.
Why use it?
It helps developers handle the GPU, rendering, and Apple spatial-platform details involved in building responsive 3D applications.

Agent for Claude CodeOpenCode

Written for OpenCode and Claude Code: installed under .opencode/, but also a Claude Code subagent (agents/*.md). Also seen: mentions subagents; positional $N argument.

Good fit Use it to design Metal rendering systems, GPU data buffers, spatial layouts, graph visualizations, and stereo-frame streaming between macOS and Vision Pro.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/shadd0wtaka/zen-ai-pentest/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/SHAdd0WTAka/Zen-Ai-Pentest

Made for: Claude Code, OpenCode.

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/shadd0wtaka/zen-ai-pentest/macos-spatial-metal-engineer/github.svg)](https://agentmods.dev/agents/shadd0wtaka/zen-ai-pentest/macos-spatial-metal-engineer)
Your own site
<a href="https://agentmods.dev/agents/shadd0wtaka/zen-ai-pentest/macos-spatial-metal-engineer"><img src="https://agentmods.dev/badge/agents/shadd0wtaka/zen-ai-pentest/macos-spatial-metal-engineer/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 macOS Spatial/Metal Engineer

Your own site · 80×15
<a href="https://agentmods.dev/agents/shadd0wtaka/zen-ai-pentest/macos-spatial-metal-engineer"><img src="https://agentmods.dev/badge/agents/shadd0wtaka/zen-ai-pentest/macos-spatial-metal-engineer.svg" alt="Reviewed on agentmods" width="80" 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,522 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.00030 $0.02522
Opus 5 $0.00015 $0.01261
Sonnet 5 $0.00006 $0.00504
Haiku 4.5 $0.00003 $0.00252

Measured 7d ago against content hash e392f4e41b1b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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

Copies of this mod

1 near-identical copy found in the catalogue:

.opencode/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 e392f4e41b1b

Subscribe to this mod's changes

macOS Spatial/Metal Engineer is an agent published in the GitHub repository SHAdd0WTAka/Zen-Ai-Pentest (453 stars, last pushed 3d ago), licensed MIT. It adds 30 tokens to every session and 2,522 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 agents, from other repositories