All shelves / Mods / Workflow
android-logcat
By NathanWA
android-logcat is a Claude Code workflow mod by NathanWA.
Bounds Claude's adb logcat calls, redacts secrets from adb output, and keeps a pid-scoped logcat buffer for a logcat_grep tool and a /logcat pane.
Draws
Install
The marketplace name is claude-android-mods.
/plugin install android-logcat --marketplace NathanWA/claude-android-modsIt runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.
- Version
- 0.2.0
- License
- MIT
- Repo stars
- 4
- Last change
- 2026-10-18
What it can reach
- Draws in the session
- Sees tool calls
- Calls another program on this machine
Needs Claude Code 2.1.299 or newer, since function-hook mods are early access, the Android SDK's adb on your PATH or ANDROID_HOME or ANDROID_SDK_ROOT set, and an Android or KMP project as the working directory. The first install asks Add marketplace?: answer y, then choose a scope. A bare adb logcat call gets a bound, -d -t 800 or -t 200 --pid with the app's pid, so it cannot hang. The buffer follows the app when it restarts and gets a new pid, and logcat_grep warns if that pid looks stale. In the desktop app, adb calls fall back to the Bash tool and each asks for permission; adding Bash(adb *) to permissions.allow in ~/.claude/settings.json stops that. The README says the mods are early and have had little use on real projects and devices.
The marketplace, claude-android-mods, also holds android-device-console, android-project-lens, and build-output-distiller. Getting a device log to Claude in a size it can use, with secrets out, is why this page files it under workflow. olef, by olef-dev, shows the Android device and the last build in the status line, with toasts for a crash or failed request, beside a live device viewer Claude opens for you. context-diet, by drkokorev, replaces a huge tool output with a short digest and the path of a file that still holds the full text, and /diet opens a panel of what it saved. This one acts on adb: it bounds the logcat calls Claude makes, redacts secrets from what any adb call returns, and feeds each logcat line into a buffer scoped to the app's pid, which Claude searches with logcat_grep and you read with /logcat. In the source, a toast says what was redacted, and the adb result is withheld when redaction fails or the output is too large to redact (hooks/register.tsx:387, 398, 422).
Demo

What it hooks into
session.startWhen a session startstool.callAround a tool call, where it can hold oneBashmcp__android-logcat__logcat_grepsession.appendWhen an entry is written to the transcriptcommand.runWhen you run its slash command/logcatui.renderDraws into the sessionPane
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Slash commands 1
/logcatShow android-logcat's pid-scoped logcat buffer in a pane
Files
The author's source, 3 files. They load when you open them.
Facts
- Author
- NathanWA
- Category
- Workflow
- Marketplace
- claude-android-mods
- Folder
- plugins/android-logcat
- Version
- 0.2.0
- License
- MIT
- Repo stars
- 4
- Last change
- 2026-10-18
- Language
- TypeScript
- Files
- 7