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.
npx skills add ndisisnd/cook --skill macosgit clone --depth 1 https://github.com/ndisisnd/cookWrote 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.
[](https://agentmods.dev/skills/ndisisnd/cook/macos)<a href="https://agentmods.dev/skills/ndisisnd/cook/macos"><img src="https://agentmods.dev/badge/skills/ndisisnd/cook/macos/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.
<a href="https://agentmods.dev/skills/ndisisnd/cook/macos"><img src="https://agentmods.dev/badge/skills/ndisisnd/cook/macos.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00075 | $0.01671 |
| Opus 5.5 | $0.00030 | $0.00668 |
| Sonnet 5.5 | $0.00015 | $0.00334 |
| Haiku 4.5 | $0.00007 | $0.00167 |
Grade A, and why
macos 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 19d 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.
How it starts
The opening of the file, as written. The whole thing — 111 lines — stays where its author put it; the contents beside it link to each section on GitHub.
macOS Standards
Target: macOS 26+ deployment for new apps, built with Xcode 27 and the macOS 27 SDK. Default load: this file only.
Applies to macOS app targets only — never iOS/iPadOS/watchOS/visionOS, even when Info.plist/entitlements globs match; iOS/iPadOS → standards/ios/. Swift language rules → standards/swift/; universal rules → standards/global/; secret policy → global/refs/security.md.
Scope: full force for new targets. In existing code, match conventions; propose migrations (persistence stack, deployment target, architecture slices) as separate tasks.
P0 — Platform Correctness
Platform Baseline (Oct 2026)
- Build with Xcode 27 / macOS 27 SDK. SDK version ≠ deployment target. App Store Connect has required Xcode 26+ for uploads since 2026-04-28.
- New apps: deployment target macOS 26 (Liquid Glass APIs,
Observations). Go lower (15, or 14 as the@Observablefloor) only for a stated user-base reason. Never bump an existing target as a side effect. - Architectures: macOS 27 runs only on Apple silicon; macOS 26 is the last release for Intel Macs, and macOS 27 is the last with general Rosetta 2 support. Below a 27 deployment target
$(ARCHS_STANDARD)is universal (arm64 + x86_64); at 27+ it is arm64-only — addx86_64toARCHSexplicitly to stay universal. Verify withlipo -info→refs/distribution.md. - Ship a
PrivacyInfo.xcprivacy, and require one from every third-party SDK.
App Structure & Lifecycle
- SwiftUI lifecycle (
@main struct App: App); never@NSApplicationMain, hand-writtenmain.swift, orNSApplication.main()for new app code. @NSApplicationDelegateAdaptoronly for what SwiftUI can't do; keep it thin. Dock reopen, URL schemes →refs/windows-and-scenes.md.- AppKit bridging: SwiftUI-first; wrap only the missing control, never a whole screen; strict concurrency on (AppKit is
@MainActor-only). Gaps →refs/architecture-and-state.md.
Sandbox & File Access
- Sandbox on by default; narrowest entitlements (a missing entitlement means TCC never prompts).
- User files only via user intent (
NSOpenPanel/fileImporter, drag & drop); persist via security-scoped bookmarks, balancing everystart/stop. - Secrets go in the Keychain — never
UserDefaults, plists, or bundled files. Detail →refs/sandbox-and-tcc.md.
What ships with it
8 files 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.
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.
- 19d ago Changed · -9 lines bb8377435be2
- 2mo ago First seen · 120 lines · 75 tokens per session scan A 7ef698d4da55
macos is a skill published in the GitHub repository ndisisnd/cook (2 stars, last pushed 19d ago), licensed MIT. It adds 75 tokens to every session and 1,671 once invoked, about $0.0003 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-08-31.
macos compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| macosndisisnd/cook | Skill | 2 | 19d ago | MIT | A | 75 | Claude Code, Codex |
| ios-accessibility-validatorgygantskiyMatilyock/ios-developer-agents | Skill | 31 | 10mo ago | MIT | A | 0 | Claude Code |
| ios-security-auditorgygantskiyMatilyock/ios-developer-agents | Skill | 31 | 10mo ago | MIT | A | 0 | Claude Code |
| ios-app-store-validatorgygantskiyMatilyock/ios-developer-agents | Skill | 31 | 10mo ago | MIT | A | 0 | Claude Code |
| kotlin-specialistJeffallan/claude-skills | Skill | 12k | yesterday | MIT | A | 86 | Claude Code |
| offensive-mobileSnailSploit/Claude-Red | Skill | 11k | today | MIT | A | 185 | Claude Code, Codex |
| init-xcode-appglebis/claude-skills | Skill | 413 | yesterday | MIT | A | 88 | Claude Code, Codex |