manzanas: Skill for Claude Code

.agents/skills/park-thaw-semantics/SKILL.md

park-thaw-semantics is a skill for Claude Code, Codex from BariBariGood/manzanas. It costs 70 tokens per session (681 once invoked), scanned A, original, Apache-2.0.

A set of rules for managing parked simulator processes in a warm pool. Parked simulators are paused to use almost no CPU and must be resumed before they can safely respond to commands or shut down.

In plain words
What is it for?
Use it when inspecting, leasing, resetting, shutting down, or troubleshooting warm-pool simulators and their processes.
Why use it?
It prevents hangs and broken simulator pools caused by sending commands to paused simulators or stopping them in the wrong order.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is BariBariGood/manzanas's own configuration. It tells Claude Code and Codex how to work on manzanas itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything manzanas configures →

Reuse

Borrowing it

Nothing to install: this file belongs to BariBariGood/manzanas. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/BariBariGood/manzanas/main/.agents/skills/park-thaw-semantics/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/BariBariGood/manzanas

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 park-thaw-semantics

README.md
[![agentmods](https://agentmods.dev/badge/skills/baribarigood/manzanas/park-thaw-semantics/github.svg)](https://agentmods.dev/skills/baribarigood/manzanas/park-thaw-semantics)
Your own site
<a href="https://agentmods.dev/skills/baribarigood/manzanas/park-thaw-semantics"><img src="https://agentmods.dev/badge/skills/baribarigood/manzanas/park-thaw-semantics/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 park-thaw-semantics

Your own site · 80×15
<a href="https://agentmods.dev/skills/baribarigood/manzanas/park-thaw-semantics"><img src="https://agentmods.dev/badge/skills/baribarigood/manzanas/park-thaw-semantics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 681 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.00070 $0.00681
Opus 5 $0.00035 $0.00341
Sonnet 5 $0.00014 $0.00136
Haiku 4.5 $0.00007 $0.00068

Measured 11d ago against content hash 676be73d4545, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

park-thaw-semantics 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 11d 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.

.agents/skills/park-thaw-semantics/SKILL.md · 49 lines

How it starts

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

Park/thaw semantics

The warm pool (internal/warm) keeps pool sims booted+slimmed but PARKED: the whole process tree from launchd_sim down is SIGSTOPped, so an idle warm sim costs ~0 CPU. On lease grant the tree is SIGCONTed (thawed) using the PID list cached at park time (~25ms Apple Silicon / ~225ms Intel). On release+reset the sim is erased, re-booted, and parked again.

Hard invariants — violating these wedges the host

  1. ALWAYS thaw before shutdown. xcrun simctl shutdown on a parked sim wedges for ~34s. The daemon does this for you; never simctl shutdown a pool sim by hand.
  2. Never route actions at a parked sim. While parked, AXe fails and simctl spawn hangs. The daemon thaws on lease grant — acquire a lease instead of poking the sim directly.
  3. Never SIGKILL a parked tree. If a parked sim looks stuck, restart via the daemon (it thaws everything on shutdown — ThawAll — so trees are never left stopped behind a dead daemon).
  4. Double STOP / double CONT are harmless; Park/Thaw are idempotent.

How to recognize a parked sim

  • xcrun simctl list devices shows it Booted but it responds to nothing.
  • ps -axww -o pid,ppid,state,command | grep <UDID> shows state T (stopped) on the tree.

If you find a stopped tree and the daemon is NOT running (crashed without cleanup): kill -CONT each PID of the tree, then simctl shutdown. Only do this when you have verified no daemon owns the sim.

  • Footprint watchdog: sweeps pool sims (default every 1m); a sim whose tree phys_footprint exceeds --pool-footprint-cap-mb (default 3 GiB) is recycled (erase→boot→park). Footprint is measured with /usr/bin/footprint (kernel phys_footprint) — summing ps RSS overcounts ~8x on sim trees.
  • Orphan reaper: kills leftover launchd_sim trees the daemon itself parked earlier (ownership ledger keyed by PID+command, never a recycled PID). It does not touch trees it never owned.
  • Quarantine: if a post-lease reset fails or hangs (>10 min bound), the target is quarantined rather than handed out dirty. Clear with POST /v0/targets/{udid}/clear-quarantine after fixing the cause.

Read the full file on GitHub · 49 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. 11d ago First seen · 49 lines · 70 tokens per session scan A 676be73d4545

Subscribe to this mod's changes

park-thaw-semantics is a skill published in the GitHub repository BariBariGood/manzanas (20 stars, last pushed 9d ago), licensed Apache-2.0. It adds 70 tokens to every session and 681 once invoked, about $0.0003 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-08-30.

Related

Other skills, from other repositories

boutique-store

Create and use Boutique Store for Swift data persistence, including initialization, @Stored controllers, CRUD operations, operation chaining, and granular event monitoring. Use when persisting arrays of items, building data controllers, or working with Boutique's Store type.

mergesort/Boutique · 52 tokens

boutique-stored-values

Persist individual values with Boutique's @StoredValue (UserDefaults) and @SecurelyStoredValue (Keychain), including set, reset, toggle, bindings, keypath setters, array and dictionary helpers, and async observation. Use when storing preferences, settings, feature flags, or sensitive data like auth tokens.

mergesort/Boutique · 68 tokens

boutique-swiftui

Integrate Boutique with SwiftUI views using onChange, onStoreDidLoad, bindings, and preview stores. Use when building SwiftUI views that display or react to Boutique-persisted data.

mergesort/Boutique · 45 tokens

swift-expert

Expert-level Swift development for iOS, macOS with SwiftUI, Combine, and modern Swift 5.9+. Use when the user mentions iOS, macOS, SwiftUI, Combine, async await, or Apple platforms, or when the task involves Modern Swift Features, Basics and Optionals, Functions and Closures, or Structs and Classes.

personamanagmentlayer/pcl · 76 tokens

ios-simulator-interaction

Interaction with the iOS simulator using iosef, a CLI optimized for agent usage. Use when building or testing changes on the iOS Simulator — viewing the screen, tapping buttons, reading accessibility trees, finding elements by selector, asserting UI state, scripting multi-step test flows, installing and launching…

riwsky/iosef · 100 tokens

swift-focusengine-pro

Reviews, writes, and fixes focus management code for all Apple platforms (tvOS, iOS/iPadOS, watchOS, visionOS, macOS), covering SwiftUI, UIKit, AppKit, and RealityKit. Use when reading, writing, or reviewing apps that handle focus, hover, key view loops, or Digital Crown navigation.

mhaviv/Swift-FocusEngine-Agent-Skill · 74 tokens