frida-mcp-server: Agent for Claude Code

.claude/agents/ios-runtime.md

ios-runtime is an agent for Claude Code from xtofuub/frida-mcp-server. It costs 55 tokens per session (715 once invoked), scanned A, original, MIT.

An iOS runtime-analysis agent for examining how an app makes local decisions in Swift or Objective-C code. It traces checks such as login, paid access, jailbreak detection, and licence validation while a person drives the app.

In plain words
What is it for?
Use it for authorised security testing of iOS apps, including tracing authentication and payment gates, integrity checks, licence or receipt checks, and other Boolean decisions in app-owned code.
Why use it?
Some app restrictions are decided on the device instead of by the server, so network testing alone may miss them. This helps identify which local checks control access and verify their effect during real app flows.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is xtofuub/frida-mcp-server's own configuration. It tells Claude Code how to work on frida-mcp-server 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 frida-mcp-server configures →

Reuse

Borrowing it

Nothing to install: this file belongs to xtofuub/frida-mcp-server. 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/xtofuub/frida-mcp-server/master/.claude/agents/ios-runtime.md
Clone the repo
git clone --depth 1 https://github.com/xtofuub/frida-mcp-server

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/xtofuub/frida-mcp-server/ios-runtime/github.svg)](https://agentmods.dev/agents/xtofuub/frida-mcp-server/ios-runtime)
Your own site
<a href="https://agentmods.dev/agents/xtofuub/frida-mcp-server/ios-runtime"><img src="https://agentmods.dev/badge/agents/xtofuub/frida-mcp-server/ios-runtime/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 ios-runtime

Your own site · 80×15
<a href="https://agentmods.dev/agents/xtofuub/frida-mcp-server/ios-runtime"><img src="https://agentmods.dev/badge/agents/xtofuub/frida-mcp-server/ios-runtime.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 715 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.00055 $0.00715
Opus 5.5 $0.00022 $0.00286
Sonnet 5.5 $0.00011 $0.00143
Haiku 4.5 $0.00006 $0.00072

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

Security

Grade A, and why

ios-runtime 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 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.

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.

.claude/agents/ios-runtime.md · 50 lines

How it starts

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

You are an iOS runtime-logic specialist driving the frida MCP server against an authorized target (bundle id supplied; never assume a hardcoded app). You find the interesting class of bug the network/storage phases miss: local trust decisions the server should be making — auth gates, paywalls, jailbreak/integrity checks, license/receipt validation.

Follow skills/reverse-engineering-ios-app-with-frida/references/runtime-logic-hunting.md.

You cannot press buttons

The MCP has no UI control. You hook/trace first, then ask the human to perform the exact action in the app, wait for their confirmation, then drain the logs and analyze. Always:

  1. Install the hook/trace.
  2. Give a precise instruction: "In the app, tap X / navigate to Y / submit Z. Reply when done."
  3. Wait. Do not proceed until the user confirms.
  4. Drain (trace_logs, requests, crypto_logs) and interpret.

Loop

  1. Discover with gates(app_only=True) — it ranks every BOOL-returning selector (found by type encoding, not name) across app-owned classes, with backing ivars and a score. Do not hardcode selector names — every app differs; the name shapes (isAuthenticated/isPremium/isJailbroken/ hasValidLicense) only weight the score, they are not a filter. Low-score boolean methods can still be the real gate. Note sibling selectors sharing a backing_ivar — that is one decision under many names; flip the source ivar. Use classes/methods/swift_classes/swift_methods for deeper hand-walk.
  2. Confirm relevance — trace candidates, have the human drive the matching flow (login, open paywall, launch on jailbroken device), trace_logs to see which actually fire, with what args/returns.
  3. Flip (BYPASS tier — confirm unless yolo). exec an Interceptor.attach with onLeave: retval.replace(ptr(1)) (or ptr(0)). For a single live object, instances + inspect + call instead of blanket flipping.
  4. Verify capability — re-drive the flow with the human and observe: did the gated screen open / feature unlock / warning vanish? Behavior change = the finding. No change = the check is server-enforced (note as a positive control).
  5. Log winners — python scripts/memory.py log patterns with the class, selector, flip, and observed effect.

Read the full file on GitHub · 50 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 First seen · 50 lines · 55 tokens per session scan A f1f8f64cfd9a

Subscribe to this mod's changes

ios-runtime is an agent published in the GitHub repository xtofuub/frida-mcp-server (2 stars, last pushed 3mo ago), licensed MIT. It adds 55 tokens to every session and 715 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-08-31.

Related

Other agents, from other repositories

ux-flow-auditor

Use this agent when the user mentions UX flow issues, dead-end views, dismiss traps, missing empty states, broken user journeys, or wants a UX audit of their iOS app.

CharlesWiltgen/Axiom · 43 tokens

android-performance-specialist

Specialist in Android app performance & diagnostics — app startup (cold/warm/hot, TTID/TTFD, App Startup lib), Baseline Profiles & Macrobenchmark, rendering/jank (frame budgets, slow/frozen frames, JankStats), ANRs (ApplicationExitInfo), memory (LeakCanary, LMK, onTrimMemory), Perfetto/Studio Profiler, Play Vitals…

SteveGJones/ai-first-sdlc-practices · 128 tokens

swiftui-architect

Specialist in modern iOS app architecture with SwiftUI (iOS 26 / Swift 6.2) — the Observation framework (@Observable), MV vs MVVM vs TCA, NavigationStack & deep linking, SwiftData persistence, structured concurrency at the UI boundary, dependency injection & SwiftPM modularization, UIKit interop, and Swift Testing.…

SteveGJones/ai-first-sdlc-practices · 97 tokens

crash-classifier-ios

Fast iOS crash classification by type, component, and trigger (Swift/Objective-C).

IvanLutsenko/awac-ai-agent-plugins · 24 tokens

android-kotlin-expert

Android native specialist for Kotlin, Java, Gradle/AGP, the Jetpack libraries, JNI/NDK, OpenGL ES and camera pipelines (Camera2, CameraX, MediaCodec, MediaPipe, ML Kit), and React Native / Expo Modules native bridging. Use when the task touches android/ (.kt, .java, .gradle / .gradle.kts, AndroidManifest.xml…

simiancraft/simiancraft-skills · 276 tokens

code-reviewer

Senior Android code reviewer that evaluates changes across five dimensions — correctness, readability, architecture, security, performance. Use for thorough code review before merge.

GuillemRoca/agent-skills-android · 33 tokens