ios-android-logs

ios-android-logs is a skill for Claude Code from Cap-go/capgo-skills. It costs 250 tokens per session (2,035 once invoked), scanned B, original, MIT.

A guide to viewing logs from iOS and Android devices while developing Capacitor apps. Logs are text messages from the app and operating system that can reveal what went wrong.

In plain words
What is it for?
Use it to access, filter, and stream device logs through command-line tools or graphical applications during debugging.
Why use it?
It helps find errors and follow what an app is doing when a problem cannot be understood from the interface alone.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the capacitor-quality plugin — 7 skills shipped together

Good fit Use it to access, filter, and stream device logs through command-line tools or graphical applications during debugging.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cap-go/capgo-skills/ios-android-logs
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 Cap-go/capgo-skills --skill ios-android-logs
Clone the repo
git clone --depth 1 https://github.com/Cap-go/capgo-skills

Made for: Claude Code.

Or install capacitor-quality, the plugin that ships this one along with the rest of its 7 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 ios-android-logs

README.md
[![agentmods](https://agentmods.dev/badge/skills/cap-go/capgo-skills/ios-android-logs/github.svg)](https://agentmods.dev/skills/cap-go/capgo-skills/ios-android-logs)
Your own site
<a href="https://agentmods.dev/skills/cap-go/capgo-skills/ios-android-logs"><img src="https://agentmods.dev/badge/skills/cap-go/capgo-skills/ios-android-logs/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-android-logs

Your own site · 80×15
<a href="https://agentmods.dev/skills/cap-go/capgo-skills/ios-android-logs"><img src="https://agentmods.dev/badge/skills/cap-go/capgo-skills/ios-android-logs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 250 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,035 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 11 Oct 2026
  • Snyk pass 11 Oct 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.00250 $0.02035
Opus 5.5 $0.00100 $0.00814
Sonnet 5.5 $0.00050 $0.00407
Haiku 4.5 $0.00025 $0.00203

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

Security

Grade B, and why

ios-android-logs scanned grade B 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo log collect --device-udid <udid> --last 10m --output /tmp/iphone.logarchive
plugins/capacitor-quality/skills/ios-android-logs/SKILL.md · 115 lines

How it starts

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

iOS and Android Logs for Capacitor Apps

Pick the log channel that actually carries the message you need, filter to the app, capture to a file, hand off to diagnosis.

When to Use

TRIGGER when:

  • User asks how to view, stream, filter, or save device/simulator logs.
  • console.log output or ⚡️ Capacitor lines are missing on iOS/Android.
  • User needs a crash report (.ips, tombstone, ANR) from a device or simulator.
  • Logcat or the unified log is too noisy; user wants only their app or plugin.
  • A log command fails or misbehaves: --level error still shows everything, unable to find utility "devicectl", Error: Unexpected argument 'log', adb: no devices/emulators found.

Do not use:

  • Interpreting the error and fixing the app -> debugging-capacitor.
  • Production crash/ANR reporting (Sentry, Crashlytics, Datadog) -> capacitor-native-observability.
  • AI agent log streaming via MCP servers -> capacitor-mcp.
  • CPU/memory profiling -> capacitor-performance.
  • UIScene lifecycle migration -> capacitor-uiscene-migration.

Where Capacitor Output Goes (the main trap)

Source iOS Android
Capacitor bridge messages (⚡️ Loading app at ..., ⚡️ To Native ->, errors) stdout only (print) logcat tag Capacitor and Capacitor/<Sub>
JS console.log/warn/error mirrored natively stdout as ⚡️ [log] - ... logcat tag Capacitor/Console as File: ... - Line N - Msg: ...
JS console, full fidelity (objects, stack traces) Safari Web Inspector chrome://inspect
Plugin/app code using os.Logger / NSLog unified log (Console.app, log stream) n/a
Plugin code using android.util.Log / Capacitor Logger n/a logcat
Native crash .ips crash report FATAL EXCEPTION in logcat + crash buffer; tombstone for native code

Consequences:

  • On iOS, Console.app and log stream will not show Capacitor's ⚡️ lines or mirrored JS console. Use Xcode's console, xcrun simctl launch --console-pty, or xcrun devicectl device process launch --console.
  • Mirroring obeys loggingBehavior (none | debug | production, default debug): Release builds produce no Capacitor logs unless set to production.
  • The iOS process name is the executable (App in the Capacitor template), not the display name. Filter with process == "App".

Read the full file on GitHub · 115 lines

Files

What ships with it

3 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.

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 · -256 lines · +201 tokens per session scan A → B 1bc800ec370c
  2. 3mo ago First seen · 371 lines · 49 tokens per session scan A f8aac065c660

Subscribe to this mod's changes

ios-android-logs is a skill published in the GitHub repository Cap-go/capgo-skills (79 stars, last pushed 22d ago), licensed MIT. It adds 250 tokens to every session and 2,035 once invoked, about $0.0010 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

ios-android-logs compared with skills from other repositories

ios-android-logs next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ios-android-logsCap-go/capgo-skillsSkill7922d agoMITB250Claude Code
node-connectSafeAI-Lab-X/ClawKeeperSkill1.0k4d agononeA81Claude Code, Codex
google-mobile-ads-validategoogle/skillsSkill26kyesterdayApache-2.0A84Claude Code, Codex
jetpack-compose-performanceandroid/skillsSkill11k11d agoApache-2.0A41Claude Code
ios-simulatorcallstack/agent-deviceSkill5.6kyesterdayMITA69Claude Code, Codex
r8-analyzerandroid/skillsSkill11k11d agoApache-2.0A81Claude Code
android-profilerandroid/skillsSkill11k11d agoApache-2.0A157Claude Code