A robust command-line diagnostics skill for monitoring and analyzing Android Activity stacks, Fragments, and screen transitions in real-time.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install android-stack-analyzer
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install android-stack-analyzer using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Android Stack Analyzer is an indispensable developer utility designed to decode complex Android UI component states using straightforward ADB commands. Whether you are debugging a deeply nested back stack or reverse-engineering an application, this Openclaw Skills solution parses activity history, task trees, and fragment structures with zero overhead.
By leveraging system-level window dump parameters, Android Stack Analyzer bridges the gap between raw shell outputs and developer-friendly insights. It helps developers, reverse engineers, and QA specialists isolate focus anomalies, verify window lifecycle state-machine actions, and optimize application UX across various Android platform versions.
Make sure ADB (Android Debug Bridge) is installed and available in your system path, and that USB Debugging is enabled on your target device.
Depending on your operating system, execute the optimized commands from the Openclaw Skills suite:
For Linux/macOS:
# Find current focused window
adb shell "dumpsys window | grep mCurrentFocus"
# Analyze complete Activity back stack
adb shell "dumpsys activity activities | grep -E 'Hist|ResumedActivity|mFocusedActivity'"
For Windows (CMD):
# Find current focused window
adb shell "dumpsys window | findstr mCurrentFocus"
# Analyze complete Activity back stack
adb shell "dumpsys activity activities | findstr /R \"Hist\\|ResumedActivity\\|mFocusedActivity\""
| Output Element | Parameter Type | Description |
|---|---|---|
u0 / s0 |
User Context | Indicates User Application (u0) vs System Application (s0) space. |
Hist #X |
Stack Position | Order of Activities in the history stack (higher numbers indicate more recent frames). |
t533 |
Task ID | The unique identifier assigning the Activity to a structural OS Task. |
state= |
Lifecycle State | The current execution status (e.g., INITIALIZING, RESUMED, PAUSED, DESTROYED). |
This configuration utilizes shell pipelines to format execution metrics as structured streams, facilitating automated trace analytics.
Loading
An executable AI agent skill providing an interactive, structured framework of Adam Smith's economic masterpiece to analyze market dynamics, capital accumulation, and organizational efficiency.

A high-performance AI agent skill that automatically builds optimized multi-hop Cypher and SPARQL graph queries to discover indirect relationships and complex patterns.

ClipMatrix is an automated batch video production workflow that converts local B-roll footage and AI scripts into scheduled multi-account social media matrices.

An all-in-one AI-driven wedding planning and operation assistant optimizing budgeting, venue selection, event timelines, supplier coordination, and regional marketing strategies.

An executable historical analysis and leadership coaching skill based on Will & Ariel Durant's classic biography of Napoleon Bonaparte.

An AI-powered executable toolkit based on Roger McNamee's book to analyze social media manipulation, privacy risks, and algorithmic impact.








































