systematic-debugging

A debugging guide for finding the cause of bugs, crashes, and unexpected behavior in Android apps. It requires developers to state possible causes, trace what happens, reproduce the problem, and inspect the full error log before changing code.

In plain words
What is it for?
Use it to investigate Android failures, form and test possible explanations, follow data from the triggering action to the failure, and apply a root-cause fix.
Why use it?
It reduces guesswork and helps avoid fixes that merely hide symptoms, such as ignoring errors or returning fake data.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/rabee-elkholy/android-harness-kit/systematic-debugging
Any agent
npx skills add rabee-elkholy/android-harness-kit --skill systematic-debugging
Clone the repo
git clone --depth 1 https://github.com/rabee-elkholy/android-harness-kit

Made for: Claude Code, Codex.

Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 206 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00027 $0.00206
Opus 5 $0.00014 $0.00103
Sonnet 5 $0.00005 $0.00041
Haiku 4.5 $0.00003 $0.00021

Measured 2d ago against content hash dde6acb87acc, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

systematic-debugging 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 2d 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.

agents/skills/systematic-debugging/SKILL.md · 18 lines

What it actually says

Systematic Debugging Skill (Superpowers Protocol)

1. Root Cause Hypothesis Framework

Do NOT guess code fixes. MANDATORY for ALL bug fixes without exception:

  1. Formulate Explicit Hypotheses: List 2–3 potential causes.
  2. Isolate State & Triggers: Trace data flow from trigger to failure point.
  3. Log & Trace Inspection: Read full un-truncated stack trace or ADB logcat before forming conclusions.
  4. Reproduce & Test Hypothesis: Verify hypothesis against empirical evidence before modifying code.

2. Prohibition of Symptom Swallowing

  • Never resolve bugs by swallowing exceptions, adding empty try-catch, or returning fallback 0/null dummy data.
  • Always fix the root condition at the data producer level.
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. 2d ago First seen · 18 lines · 27 tokens per session scan A dde6acb87acc

Subscribe to this mod's changes

systematic-debugging is a skill published in the GitHub repository rabee-elkholy/android-harness-kit (3 stars, last pushed 2d ago), licensed MIT. It adds 27 tokens to every session and 206 once invoked, about $0.0001 per session on Opus 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 skills, from other repositories

Debroid CLI Debugger

Orchestrate headless Android debugging via JDWP. ACTIVATE this skill whenever asked to debug an Android application, set line or exception breakpoints, inspect runtime variables or Jetpack Compose state, step through execution, evaluate live expressions, watch fields, or diagnose runtime crashes.

PatilShreyas/debroid · 61 tokens

react-native-expert

Senior React Native and Expo engineer for building production-ready cross-platform mobile apps. Use when building React Native components, implementing navigation with Expo Router, optimizing list and scroll performance, working with animations via Reanimated, handling platform-specific code (iOS/Android), integrating…

tech-leads-club/agent-skills · 127 tokens

compose-navigation

Jetpack Compose Navigation for Android AI agents. Use this skill whenever implementing navigation, NavHost, NavController, back stack, deep links, navigation arguments, routes, type-safe navigation, @Serializable routes, navController.navigate, popBackStack, navigateUp, bottom navigation, tab navigation, nested…

piyushverma0/android-agent-skills · 138 tokens

design-system

Global-level design system for Android AI agents — Material 3 Expressive. Use this skill for visual consistency: spacing tokens, 8dp grid, M3 typography scale (15 styles), HCT color system, dynamic color Material You, shape system with morphing, motion tokens, physics-based spring animations, design tokens…

piyushverma0/android-agent-skills · 144 tokens

adaptive-ui

Adaptive UI for Android — responsive layouts for phones, tablets, foldables, Chromebooks, and large screens. Use this skill for EVERY screen you build. Triggers on: WindowSizeClass, ListDetailPaneScaffold, SupportingPaneScaffold, ThreePaneScaffold, NavigationSuiteScaffold, NavigationRail, NavigationDrawer, adaptive…

piyushverma0/android-agent-skills · 157 tokens

compose-animation

Jetpack Compose animations for Android AI agents — M3 Expressive motion system. Use this skill for any animation: AnimatedVisibility, AnimatedContent, Crossfade, animateAsState, animateColorAsState, animateDpAsState, animateFloatAsState, updateTransition, InfiniteTransition, rememberInfiniteTransition, spring physics…

piyushverma0/android-agent-skills · 148 tokens