android-stop-app — community android-stop-app, community, ide skills, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Ideal for Mobile Automation Agents requiring precise control over Android app lifecycle management. make it so

asnar00 asnar00
[0]
[0]
Updated: 3/5/2026

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 Mobile Automation Agents requiring precise control over Android app lifecycle management.

Core Value

Empowers agents to cleanly terminate Android app processes using `adb shell am force-stop`, preserving app data while clearing memory, and supporting deployment of new app versions via protocols like ADB.

Capabilities Granted for android-stop-app

Automating Android app testing by stopping apps before each test run
Debugging memory leaks by forcibly stopping resource-intensive apps
Deploying new app versions by stopping the current app instance

! Prerequisites & Limits

  • Requires connected Android device
  • ADB access necessary
  • Android device connection prerequisites must be met
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

android-stop-app

Install android-stop-app, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

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 Mobile Automation Agents requiring precise control over Android app lifecycle management. make it so

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: Automating Android app testing by stopping apps before each test run, Debugging memory leaks by forcibly stopping resource-intensive apps, Deploying new app versions by stopping the current app instance.

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 connected Android device. ADB access necessary. Android device connection prerequisites must be met.

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

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI