apple-silicon

apple-silicon is a skill for Claude Code, Codex from OutlineDriven/outline-driven-development. It costs 52 tokens per session (1,962 once invoked), scanned A, original, Apache-2.0.

A guide to tuning and profiling native programs on Macs with Apple's M-series chips. It covers chip and memory details, native versus translated execution through Rosetta 2, and tools for finding performance or memory problems.

In plain words
What is it for?
Use it to inspect source or binaries, profile workloads, check memory behaviour, diagnose Rosetta 2 execution, and evaluate matrix or convolution work for Accelerate or Metal.
Why use it?
It helps identify issues caused by Apple Silicon differences, such as page-size assumptions or running Intel code through translation. It also ties measured hotspots to possible CPU, Accelerate, Metal, or threading changes.

Skill for Claude CodeCodex

Written for Claude Code and Codex: disable-model-invocation in frontmatter, but also agents/openai.yaml present.

Good fit Use it to inspect source or binaries, profile workloads, check memory behaviour, diagnose Rosetta 2 execution, and evaluate matrix or convolution work for Accelerate or Metal.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/outlinedriven/outline-driven-development/apple-silicon
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 OutlineDriven/outline-driven-development --skill apple-silicon
Clone the repo
git clone --depth 1 https://github.com/OutlineDriven/outline-driven-development

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 apple-silicon

README.md
[![agentmods](https://agentmods.dev/badge/skills/outlinedriven/outline-driven-development/apple-silicon/github.svg)](https://agentmods.dev/skills/outlinedriven/outline-driven-development/apple-silicon)
Your own site
<a href="https://agentmods.dev/skills/outlinedriven/outline-driven-development/apple-silicon"><img src="https://agentmods.dev/badge/skills/outlinedriven/outline-driven-development/apple-silicon/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 apple-silicon

Your own site · 80×15
<a href="https://agentmods.dev/skills/outlinedriven/outline-driven-development/apple-silicon"><img src="https://agentmods.dev/badge/skills/outlinedriven/outline-driven-development/apple-silicon.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,962 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00052 $0.01962
Opus 5.5 $0.00021 $0.00785
Sonnet 5.5 $0.00010 $0.00392
Haiku 4.5 $0.00005 $0.00196

Measured 2mo ago against content hash 936eba320007, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

apple-silicon 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 2mo 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.

.devin/skills/apple-silicon/SKILL.md · 134 lines

How it starts

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

Apple Silicon

Contract

Field Bound contract
Trigger Code runs on an M-series Mac and needs to be checked for page-size assumptions, moved onto Accelerate or Metal for matrix work, profiled with Instruments or the command-line memory tools, or diagnosed for Rosetta 2 translation.
Authority Read-only: reads the host through sysctl, arch, lipo, file, xctrace, vmmap, heap, leaks, and sample, and writes traces only under the output path the user names; rollback is deleting those trace files. No remote mutation.
Side effect Trace and sample files in the named output directory. Profiling attaches to the target process.
Done The report names the chip and its features from sysctl, states whether the binary runs native or translated, lists every page-size assumption found in the code with its fix, and points each hotspot at the Accelerate, Metal, or threading change that addresses it.

Inputs

  • The binary or source under review, and how it is launched.
  • Whether the workload is matrix or convolution heavy (Accelerate and Metal candidates) or general CPU work.
  • Output directory for traces.
  • Xcode command-line tools installed (xcode-select -p prints the path).

Procedure

  1. Read the hardware. All CPU cores, the GPU, and the Neural Engine share one DRAM pool, so a Metal buffer in shared storage mode needs no copy to reach the GPU, and one process's memory total includes its GPU allocations. Done when: chip name, core counts, memory size, cache line, and page size are recorded.

    sysctl -n machdep.cpu.brand_string
    sysctl hw.physicalcpu hw.logicalcpu hw.memsize
    sysctl hw.cachelinesize
    sysctl hw.pagesize            # 16384 on Apple Silicon macOS
    sysctl hw.optional.arm        # FEAT_* flags; grep for the one in question
    

    M4 exposes hw.optional.arm.FEAT_SME; no M-series chip through M4 exposes non-streaming SVE, so SVE intrinsics outside streaming mode raise SIGILL there (see arm-sve).

Read the full file on GitHub · 134 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago Changed · +1 lines 936eba320007
  2. 2mo ago First seen · 133 lines · 52 tokens per session scan A b37efcbea98f

Subscribe to this mod's changes

apple-silicon is a skill published in the GitHub repository OutlineDriven/outline-driven-development (54 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 52 tokens to every session and 1,962 once invoked, about $0.0002 per session on Opus 5.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-06.

Related

apple-silicon compared with skills from other repositories

apple-silicon next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
apple-siliconOutlineDriven/outline-driven-developmentSkill542mo agoApache-2.0A52Claude Code, Codex
gke-ai-troubleshooting-tpu-dynamic-slices-monitoringgoogle/skillsSkill25ktodayApache-2.0A107Claude Code, Codex
doca-flowNVIDIA/skillsSkill4.2k2d agoApache-2.0A224Claude Code
evpn-vxlan-fabricautomateyournetwork/netclawSkill739todayApache-2.0A74Claude Code
platform-device-modelmohitmishra786/low-level-dev-skillsSkill30410d agoMITA57Claude Code, Codex
esp32-pin-auditagodianel/esp32-claude-workbenchSkill8216d agoMITA202Claude Code, Codex
hw-debug-loopvibeic/vibe-icSkill32todayApache-2.0A192Claude Code