One-line shell answers to common phone questions (app sizes and install dates, battery, storage, network, Wi-Fi, brightness, do-not-disturb, temperatures, crashes). Load before digging around with long scripts.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Toolkit?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/zephyr7030-toolkit)
---
name: toolkit
description: >
One-line shell answers to common phone questions (app sizes and install dates, battery,
storage, network, Wi-Fi, brightness, do-not-disturb, temperatures, crashes). Load before
digging around with long scripts.
---
# Common questions, one command each
All run as root in `sh` (toybox, with `awk`).
Largest apps (APK + data in MB; the system refreshes these figures about daily):
dumpsys diskstats | awk -F'[][]' '/^Package Names/{n=split($2,p,",")} /^App Sizes/{split($2,a,",")} /^App Data Sizes/{split($2,d,",")} END{for(i=1;i<=n;i++){gsub(/"/,"",p[i]); printf "%d MB %s\n",(a[i]+d[i])/1048576,p[i]}}' | sort -rn | head
Recently installed apps:
for p in $(pm list packages -3 | cut -d: -f2); do echo "$(dumpsys package "$p" 2>/dev/null | grep -m1 firstInstallTime | cut -d= -f2) $p"; done | sort -r | head
- One app's version, install and update time: `dumpsys package PKG | grep -E 'versionName|firstInstallTime|lastUpdateTime'`
- One app's granted permissions: `dumpsys package PKG | grep 'granted=true'`
- Is an app installed: `pm path PKG` (no output: not installed)
- Free storage: `df -h /data`
- Battery level, charging, temperature (tenths of °C): `dumpsys battery`
- Temperatures: `dumpsys thermalservice | grep -A12 'Current temperatures'`
- Chip: `getprop ro.soc.model; getprop ro.board.platform`
- Wi-Fi name and signal: `cmd wifi status`
- Connectivity: `ping -c 3 223.5.5.5; ping -c 3 www.baidu.com`
- Brightness (0 to 1): `cmd display get-brightness`; set it with `cmd display set-brightness 0.5`
- Do not disturb: `cmd notification set_dnd on` (or `off`, `priority`); the state is `settings get global zen_mode` (0 is off)
- Recent crashes: `logcat -d -b crash -t 50`
- Recent errors: `logcat -d -t 300 '*:E'`
- Processes by memory: `dumpsys meminfo | sed -n '/Total PSS by process/,/Total PSS by OOM/p' | head -20`
App labels (display names) are not available from shell commands: give package names.
Extra command-line tools exist only when the environment section of the system prompt lists
them, with their directory; otherwise use toybox and Android's own commands, which are all there
is. Do not offer to download or install tools the user did not ask for.