software-ios-runtime-debugging

software-ios-runtime-debugging is a skill for Claude Code, Codex from vasilyu1983/AI-Agents-public. It costs 46 tokens per session (4,833 once invoked), scanned A, original, MIT.

A guide to proving that the correct iOS app build has been built, installed, launched, and displayed on the intended simulator or device. It then helps diagnose crashes, hangs, slow animation, memory kills, and launch regressions.

In plain words
What is it for?
Use it to investigate stale installs, malformed app bundles, missing executables, simulator issues, crashes, watchdog kills, frame-rate problems, memory pressure, and slow launches.
Why use it?
It prevents debugging the wrong or outdated app binary and separates build problems from live runtime problems. This makes screenshots and performance reports easier to trust.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: mentions Claude Code; mentions Codex.

Part of the ai-agents plugin — 144 skills shipped together

Good fit Use it to investigate stale installs, malformed app bundles, missing executables, simulator issues, crashes, watchdog kills, frame-rate problems, memory pressure, and slow launches.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vasilyu1983/ai-agents-public/software-ios-runtime-debugging
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 vasilyu1983/AI-Agents-public --skill software-ios-runtime-debugging
Clone the repo
git clone --depth 1 https://github.com/vasilyu1983/AI-Agents-public

Made for: Claude Code, Codex.

Or install ai-agents, the plugin that ships this one along with the rest of its 144 skills.

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 software-ios-runtime-debugging

README.md
[![agentmods](https://agentmods.dev/badge/skills/vasilyu1983/ai-agents-public/software-ios-runtime-debugging/github.svg)](https://agentmods.dev/skills/vasilyu1983/ai-agents-public/software-ios-runtime-debugging)
Your own site
<a href="https://agentmods.dev/skills/vasilyu1983/ai-agents-public/software-ios-runtime-debugging"><img src="https://agentmods.dev/badge/skills/vasilyu1983/ai-agents-public/software-ios-runtime-debugging/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 software-ios-runtime-debugging

Your own site · 80×15
<a href="https://agentmods.dev/skills/vasilyu1983/ai-agents-public/software-ios-runtime-debugging"><img src="https://agentmods.dev/badge/skills/vasilyu1983/ai-agents-public/software-ios-runtime-debugging.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,833 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 7 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Anti-Refusal · line 126
    Skill instructs the agent to omit warnings, disclaimers, or ethical commentary. Stripping safety caveats hides risk from the user and is a common jailbreak preamble.
    Fix: Remove instructions that suppress warnings, disclaimers, or ethical commentary. Let the agent surface safety-relevant caveats to the user.
  • medium Rogue Agent · line 21
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Rogue Agent · line 49
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Rogue Agent · line 68
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Rogue Agent · line 80
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Rogue Agent · line 151
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Rogue Agent · line 179
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
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.00046 $0.04833
Opus 5.5 $0.00018 $0.01933
Sonnet 5.5 $0.00009 $0.00967
Haiku 4.5 $0.00005 $0.00483

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

Security

Grade A, and why

software-ios-runtime-debugging scanned grade A with 1 finding 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 1mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| `dataCorrupted` + `<!DOCTYPE html>` response | API routing / auth bug | Log URL, curl it; do not conflate with push-open crashes |
skills/universal/software-ios-runtime-debugging/SKILL.md · 208 lines

How it starts

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

Native iOS Runtime Debugging

Use this skill when the core problem is not app architecture or visual design, but runtime truth: did the current binary build, install, launch, and render on the intended simulator or device — and once that's proven, is the live complaint a hang, a crash, jank, a memory kill, or a launch-time regression?

This skill owns stale-build suspicion, simulator drift, malformed .app bundles, missing executables, XcodeGen resource packaging mistakes, and the proof loop required before trusting screenshots, UI behavior, or downstream API/auth debugging. It also owns classifying and diagnosing live runtime performance and stability complaints once that proof exists: hangs and watchdog kills, crash symbolication, jank against frame budgets, Jetsam/memory pressure, and launch-time measurement traps.

Quick Reference

Symptom First Move Notes
Screenshot does not match source Preserve repro, then replace/install and launch the known artifact Reset or uninstall only after preserving evidence and isolating the suspected layer
Tool cannot read a simulator screenshot temp path Re-capture from the current simulator Temp screenshot files expire or move. Do not treat a missing temp path as invalidating the user's visible report
Install says app is missing executable Inspect built .app bundle Verify Info.plist and executable path before touching Swift
Simulator behaves inconsistently Prove destination, boot, install, launch state Do not debate UI until runtime truth exists
Auth appears to succeed but next screen is unauthenticated Inspect token persistence and auth propagation after fresh launch Do not redesign UI first
Push works on Xcode build but fails on TestFlight Inspect archived entitlements and newest backend device row Wrong APNs environment is more likely than feature-code regression
APNs returns BadDeviceToken for older installs Check device-row environment and staleness first Often stale tokens or env mismatch, not a current-device blocker
Push tap opens to black screen, freeze, or _performBlockAfterCATransactionCommitSynchronizes Start at references/swift-concurrency-crash-triage.md; web-search the exact symbol before any code review Root-cause candidates include a nonisolated delegate or completion callback mutating main-actor UI state, nested actor hops, or SceneKit updates. Task { } inherits the actor context where its closure is formed; inspect that creation context rather than assuming every task is detached. Separate transport proof from push-open proof
UITest env var is present but the wrong screen is captured Verify branch execution and a screen-specific accessibility marker Process env alone is not runtime proof
Route state changes but the destination never appears Prefer a direct presentation hook for isolated proof NavigationStack state is not the same as a visible screen
"cannot find X in scope" after adding new files XcodeGen project not regenerated Regenerate: scripts/generate-xcodeproj.sh or xcodegen generate
"cannot find X in scope" in a .pbxproj project after adding files New file not added to target membership Add the file to the target before touching Swift feature code
CoreSimulatorService "Connection refused" Simulator service crashed Use generic/platform=iOS destination instead of simulator; or restart Simulator.app
DerivedData write failure / sandbox error Check the denied path and active toolchain Use a writable project-specific DerivedData path; if platform services need wider access, use the runtime's scoped approval mechanism or Xcode.app
Swift "failed to produce diagnostic" Type inference overload in complex ViewBuilder Simplify: inline optional views, remove AnyView, split large computed properties
"Copy Bundle Resources contains entitlements" warning Check whether the entitlements file was added as a bundled resource Keep entitlements in signing configuration only; exclude them from copied app resources
Background xcodebuild … | tail -N output file stays 0 bytes until exit Looks like a stall; not one tail emits only when its input stream closes. In background execution, the output file appears empty for the entire build run, which looks stuck but is actually normal. Alternatives: 2>&1 | tee output.log for live progress, or drop tail entirely and accept the full output. The tail -N recipe trades live visibility for clean final output — pick based on whether you need progress signals during the run
Ld failed / missing file after project generation Check generated paths and target membership, then try an isolated clean build Cache drift is a hypothesis; a missing source or resource remains missing after a cache reset
App terminates with 0x8badf00d / WATCHDOG reason Not a code crash — a callback (scene-create, background task) failed to return in time Read the reason string for which subsystem timed out; treat as a hang that ran out the clock. See references/runtime-performance-triage.md
Process still alive but input goes unanswered Hang, not crash — no crash log will exist Capture a main-thread backtrace via the Hangs instrument or lldb bt all; do not search for a nonexistent crash report
Scrolling or animation stutters but the app stays responsive Jank — a missed frame budget, not a hang Profile with Hitches/SwiftUI instrument, not the Hangs template. 60 Hz = 16.67 ms/frame, ProMotion 120 Hz = 8.33 ms/frame (adaptive; measure the target device's active refresh rate)
App disappears with no crash log after memory growth Suspect a Jetsam kill Confirm via a jetsam event report or the memory diagnostic available in the target SDK; do not assume a normal crash was swallowed. Apple publishes no official per-device memory-limit table — treat any specific MB figure as empirical
"Main thread blocked" in a trace, but the code path looks fine Possible priority inversion, not main-thread overwork Check the QoS of every thread in the backtrace before moving work off main; a low-priority thread holding a lock the main thread needs looks identical to a slow main-thread task
Launch-time regression only shows up in some samples Prewarming skew The OS may prewarm the process before the user taps the icon — loads linked libraries, then suspends before any app code runs. No documented API detects it. Treat a single launch sample as unverified — use MetricKit's launch-type-bucketed metrics or a large field sample
MetricKit payload never arrives during local testing Distinguish field delivery from simulated payloads On a physical device, Xcode's Debug > Simulate MetricKit Payloads tests report handling with sample data; it does not measure the app's performance

Read the full file on GitHub · 208 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. 1mo ago Changed · -47 lines scan B → A b956aa7a723c
  2. 2mo ago Changed · -1 lines a4cea653e9a3
  3. 2mo ago First seen · 256 lines · 46 tokens per session scan B 2899f27d6ab5

Subscribe to this mod's changes

software-ios-runtime-debugging is a skill published in the GitHub repository vasilyu1983/AI-Agents-public (101 stars, last pushed 1mo ago), licensed MIT. It adds 46 tokens to every session and 4,833 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

software-ios-runtime-debugging compared with skills from other repositories

software-ios-runtime-debugging next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
software-ios-runtime-debuggingvasilyu1983/AI-Agents-publicSkill1011mo agoMITA46Claude Code, Codex
touch-audittonone-ai/tononeSkill842d agoMITA47Claude Code
debugging-strategieswshobson/agentsSkill43k5d agoMITA43Claude Code
parallel-debuggingwshobson/agentsSkill43k5d agoMITA44Claude Code
git-advanced-workflowswshobson/agentsSkill43k5d agoMITA54Claude Code
ios-simulatorcallstack/agent-deviceSkill5.6ktodayMITA69Claude Code, Codex
swiftui-debuggingrshankras/claude-code-apple-skillsSkill91521d agoMITA44Claude Code