android-stop-app — community android-stop-app, miso, asnar00, community, ai agent skill, ide skills, agent automation, AI agent skills, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Ideal for Android Automation Agents requiring advanced device management capabilities, particularly those utilizing ADB shell commands. Stop the Android app running on connected device. Cleanly terminates the app using force-stop. Use when stopping the app for debugging, testing, or cleanup.

asnar00 asnar00
[1]
[0]
Updated: 1/28/2026

Quality Score

Top 5%
52
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
> npx killer-skills add asnar00/miso/android-stop-app
Supports 19+ Platforms
Cursor
Windsurf
VS Code
Trae
Claude
OpenClaw
+12 more

Agent Capability Analysis

The android-stop-app skill by asnar00 is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance.

Ideal Agent Persona

Ideal for Android Automation Agents requiring advanced device management capabilities, particularly those utilizing ADB shell commands.

Core Value

Empowers agents to cleanly terminate Android app processes using `adb shell am force-stop`, preserving app data while clearing memory, and supporting protocols like ADB for seamless device interaction.

Capabilities Granted for android-stop-app

Terminating unresponsive Android apps on connected devices
Stopping apps before deploying new versions for testing
Automating app closure for memory management and optimization
Debugging Android apps by forcefully stopping them for analysis

! Prerequisites & Limits

  • Requires Android device connection
  • Needs ADB shell access
  • Limited to Android apps only
Project
SKILL.md
3.1 KB
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8

# Tags

[No tags]
SKILL.md
Readonly

Android Stop App

Overview

Stops the Android app running on a connected device by using adb shell am force-stop. This cleanly terminates all app processes, clearing memory while preserving app data.

When to Use

Invoke this skill when the user:

  • Asks to "stop the Android app"
  • Wants to "kill the app"
  • Says "terminate the Android app on device"
  • Mentions shutting down or closing the Android app
  • Needs to stop before deploying new version

Prerequisites

  • Android device connected via USB
  • USB debugging enabled
  • ADB installed (brew install android-platform-tools)
  • Device authorized
  • App must be running on the device

Instructions

  1. Navigate to the Android app directory:

    bash
    1cd path/to/android/app
  2. Run the stop script:

    bash
    1./stop-app.sh
  3. The script will:

    • Use adb shell am force-stop to terminate the app
    • Report success
  4. Inform the user:

    • The app has been stopped
    • Safe to call even if app isn't running
    • Uses force-stop for clean shutdown (not kill)

Expected Output

🛑 Stopping NoobTest on device...
✅ App stopped

How It Works

The script uses:

  • adb shell am force-stop com.miso.noobtest

This Android framework command:

  • Stops all processes associated with the package
  • Clears app from memory
  • Preserves app data and settings
  • Clean shutdown (not emergency kill)

force-stop vs kill

force-stop (recommended):

  • Android framework command
  • Clean shutdown
  • Preserves app data
  • Safe for development

kill (not recommended):

  • OS-level signal
  • Abrupt termination
  • May leave resources in inconsistent state
  • Only use if force-stop fails

Common Use Cases

Before deploying new version:

bash
1./stop-app.sh 2./install-device.sh

Pairing with restart:

bash
1./stop-app.sh 2# Make configuration changes 3./restart-app.sh

Clean state testing:

bash
1./stop-app.sh 2# Clear app data manually if needed 3adb shell pm clear com.miso.noobtest 4# Then install fresh

Common Issues

"no devices found":

  • Check USB connection
  • Ensure USB debugging enabled
  • Verify authorized: adb devices
  • Try: adb kill-server && adb start-server

"adb: command not found":

  • Install Android platform tools: brew install android-platform-tools
  • Check PATH includes adb

App still running after force-stop:

  • Rare, but check with: adb shell pidof com.miso.noobtest
  • If still running, restart device
  • Or use: adb shell pm clear com.miso.noobtest (nukes app data too)

Safety

This script is safe to call repeatedly:

  • Won't error if app isn't running
  • Uses clean shutdown method
  • Reports status clearly
  • No risk to app data or installation

Package Name

The script is configured for the specific app's package name (e.g., com.miso.noobtest for Firefly/NoobTest). Package name is defined in build.gradle.kts under applicationId.

Data Preservation

force-stop does NOT clear:

  • App installation
  • App data (SharedPreferences, databases, files)
  • App permissions
  • User settings

To fully clear app state, use:

bash
1adb shell pm clear com.miso.noobtest

But this will require reinstallation and setup.

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is android-stop-app?

Ideal for Android Automation Agents requiring advanced device management capabilities, particularly those utilizing ADB shell commands. Stop the Android app running on connected device. Cleanly terminates the app using force-stop. Use when stopping the app for debugging, testing, or cleanup.

How do I install android-stop-app?

Run the command: npx killer-skills add asnar00/miso/android-stop-app. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for android-stop-app?

Key use cases include: Terminating unresponsive Android apps on connected devices, Stopping apps before deploying new versions for testing, Automating app closure for memory management and optimization, Debugging Android apps by forcefully stopping them for analysis.

Which IDEs are compatible with android-stop-app?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for android-stop-app?

Requires Android device connection. Needs ADB shell access. Limited to Android apps only.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add asnar00/miso/android-stop-app. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use android-stop-app immediately in the current project.

Related Skills

Looking for an alternative to android-stop-app or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

Generate customizable widget plugins for the prompts.chat feed system

149.6k
0
Design

flags

Logo of vercel
vercel

The React Framework

138.4k
0
Browser

pr-review

Logo of pytorch
pytorch

Tensors and Dynamic neural networks in Python with strong GPU acceleration

98.6k
0
AI

antd-commit-msg

Logo of ant-design
ant-design

Generate a single-line commit message for ant-design by reading the projects git staged area and recent commit style. Use when the user asks for a commit message, says msg, commit msg, 写提交信息, or wants

97.8k
0
Design