Skip to content
Agentmart
Submit a tool

remove-bloatware

Remove or disable Android bloatware (carrier apps, OEM pre-installed apps) via ADB using `pm uninstall --user 0` or `pm disable-user`.

Skill by danielrosehill

IndexedMIT★ 2
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/danielrosehill-remove-bloatware

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Remove or disable Android bloatware (carrier apps, OEM pre-installed apps) via ADB using `pm uninstall --user 0` or `pm disable-user`. Logs every operation to <workspace>/bloatware-log.jsonl so the history is auditable and reversible. Use when the user wants to "remove bloatware", "uninstall carrier apps", "disable pre-installed apps", or "debloat my phone".

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/remove-bloatware

What's inside

Skill name
remove-bloatware
Description
Remove or disable Android bloatware (carrier apps, OEM pre-installed apps) via ADB using `pm uninstall --user 0` or `pm disable-user`. Logs every operation to <workspace>/bloatware-log.jsonl so the history is auditable and reversible. Use when the user wants to "remove bloatware", "uninstall carrier apps", "disable pre-installed apps", or "debloat my phone".
License
MIT
Instructions
49 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# adb-ops: remove-bloatware

Remove or disable unwanted packages on the device.

## Safety rules

- **Never uninstall** packages in this suspect-list without explicit user confirmation, even if the user says "remove all bloat": anything with `com.android.`, `com.google.android.gms`, `com.google.android.gsf`, `com.qualcomm.`, `com.mediatek.`, kernel/telephony/system UI packages. Breaking these can brick the device.
- Prefer `pm disable-user` over `pm uninstall --user 0` when unsure — it's reversible with `pm enable` and doesn't require a factory reset to restore.
- Always operate per-user (`--user 0`). Never run as system-wide uninstall without root.
- Confirm the device serial explicitly when multiple devices are connected.

## Procedure

1. **List candidates**:

   ```bash
   adb shell pm list packages -3               # third-party / user-installed
   adb shell pm list packages -s               # system packages (debloat usually here)
   adb shell pm list packages -d               # already disabled
   ```

   Offer a categorised view. If the user names a vendor ("Samsung bloat", "Xiaomi apps"), filter by common prefixes (`com.samsung.`, `com.miui.`, `com.xiaomi.`).

2. **Propose a shortlist** with one-line descriptions (look up unfamiliar packages — ask the user if unknown). Require explicit per-package or batch confirmation before acting.

3. **Act** on each confirmed package:

   ```bash
   # Preferred: reversible
   adb shell pm disable-user --user 0 <package>
   # Or permanent for this user:
   adb shell pm uninstall --user 0 <package>
   ```

4. **Log** every attempt (success or failure) by appending one JSON line to `<workspace>/bloatware-log.jsonl`:

   ```json
   {"ts":"<ISO-8601>","device":"<serial>","action":"disable|uninstall","package":"<pkg>","user":0,"method":"<cmd>","result":"success|failure","error":"<stderr if any>","notes":"<free text>"}
   ```

   Append only — never rewrite the file.

5. **Summary**: table of package / action / result. Remind the user how to restore: `adb shell pm enable <pkg>` (for disable-user) or `adb shell cmd package install-existing <pkg>` (for --user 0 uninstalls).

## Restore mode

If the user asks to "undo", "restore", or "bring back" a removed package, read `bloatware-log.jsonl`, filter to that package's most recent successful action, and run the inverse command. Append a new log entry with action `restore` / `enable`.

From danielrosehill/Claude-ADB-Ops-Plugin, MIT.

Signals

Stars
2
Forks
0
Open issues
0
Last commit (this folder)
Apr 21, 2026 (6 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from danielrosehill

Cite this page

remove-bloatware skill. Agent Mart. https://agentmart.dev/skills/danielrosehill-remove-bloatware (last updated 2026-10-24)