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 Cap-go/capgo-skills --skill ios-android-logsgit clone --depth 1 https://github.com/Cap-go/capgo-skillsWrote 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/cap-go/capgo-skills/ios-android-logs)<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.
<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>- Socket pass
- Snyk pass
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.00250 | $0.02035 |
| Opus 5.5 | $0.00100 | $0.00814 |
| Sonnet 5.5 | $0.00050 | $0.00407 |
| Haiku 4.5 | $0.00025 | $0.00203 |
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 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.logoutput 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 errorstill 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 streamwill not show Capacitor's⚡️lines or mirrored JS console. Use Xcode's console,xcrun simctl launch --console-pty, orxcrun devicectl device process launch --console. - Mirroring obeys
loggingBehavior(none|debug|production, defaultdebug): Release builds produce no Capacitor logs unless set toproduction. - The iOS process name is the executable (
Appin the Capacitor template), not the display name. Filter withprocess == "App".
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.
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.
- 1mo ago Changed · -256 lines · +201 tokens per session scan A → B 1bc800ec370c
- 3mo ago First seen · 371 lines · 49 tokens per session scan A f8aac065c660
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.
ios-android-logs compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ios-android-logsCap-go/capgo-skills | Skill | 79 | 22d ago | MIT | B | 250 | Claude Code |
| node-connectSafeAI-Lab-X/ClawKeeper | Skill | 1.0k | 4d ago | none | A | 81 | Claude Code, Codex |
| google-mobile-ads-validategoogle/skills | Skill | 26k | yesterday | Apache-2.0 | A | 84 | Claude Code, Codex |
| jetpack-compose-performanceandroid/skills | Skill | 11k | 11d ago | Apache-2.0 | A | 41 | Claude Code |
| ios-simulatorcallstack/agent-device | Skill | 5.6k | yesterday | MIT | A | 69 | Claude Code, Codex |
| r8-analyzerandroid/skills | Skill | 11k | 11d ago | Apache-2.0 | A | 81 | Claude Code |
| android-profilerandroid/skills | Skill | 11k | 11d ago | Apache-2.0 | A | 157 | Claude Code |