Skip to content
Back to skills

Android Logcat Triage

ASecurity

Systematically narrow down an Android app bug using adb logcat instead of guessing from the crash screenshot alone.

  • 78 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 6, 2026
developmentshell

Works with

  • terminal

Security analysis

A100/100

Scanned November 6, 2026

npx -y skills add RYOITABASHI/Shelly --skill android-logcat-triage --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Android Logcat Triage?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Android Logcat Triage
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ryoitabashi-android-logcat-triage/badge)](https://www.skillsdirectory.com/skills/ryoitabashi-android-logcat-triage)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: android-logcat-triage
description: Systematically narrow down an Android app bug using adb logcat instead of guessing from the crash screenshot alone.
---
When investigating an Android app bug (crash, hang, wrong behavior) that
has an adb-connected device or emulator available, work outward from the
narrowest useful signal instead of dumping the entire unfiltered log:

1. **Reproduce with a tag filter already narrowed**, if the app has known
   debug tags (check the project's docs/CLAUDE.md for a tag table). Start
   the filtered capture *before* reproducing, not after:
   `adb logcat -c` (clear old buffer) then `adb logcat -s <TAG1>:* <TAG2>:*`.
2. **If no tag is known yet**, reproduce once with `adb logcat *:E` (errors
   only) to find the crashing component/exception, then re-run with that
   component's tag to see the surrounding context.
3. **For a crash/ANR specifically**, get the full stack trace in one shot:
   `adb logcat -b crash -d` (crash buffer, dump-and-exit) or
   `adb shell dumpsys activity ondestroy for an ANR`, rather than scrolling
   a live-scrolling terminal.
4. **Correlate timestamps**, not just tags — note the wall-clock time the
   bug was observed on-device, then grep the log around that timestamp;
   a relevant line can be emitted by a tag you didn't think to filter for.
5. **Check permission/state transitions separately from the crash itself**
   when the symptom smells like a permissions or lifecycle issue (e.g.
   `dumpsys package <pkg> | grep permission`, `dumpsys activity | grep -A5
   <pkg>`) — many "random" Android bugs are actually a permission silently
   denied or a component in the wrong lifecycle state, which won't show up
   as a stack trace at all.
6. **Summarize the causal chain before proposing a fix**: which log line
   is the root cause vs. a downstream symptom, and what specific code path
   produced it — don't jump straight to a patch from a single Exception
   line without confirming what triggered it.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.