logpeeklisted
Install: claude install-skill Tiaintermittent147/logpeek
# logpeek -- Device Logs for Mobile Apps
## When to Use
- App crashed or threw an exception
- Feature is not working as expected
- Need to see what the app logged during a specific action
- Debugging network errors, state issues, or silent failures
- User reports "it doesn't work" without details
## Setup
```bash
npm install -g logpeek
```
**Prerequisites** (run `logpeek doctor` to verify):
- **Android**: `adb` available, emulator booted
- **iOS**: `xcrun simctl` available, simulator booted (macOS only)
Simulators/emulators only. No physical device support yet.
## Commands
| Command | Usage | Description |
|---------|-------|-------------|
| `logs` (default) | `logpeek --app <id> [options]` | Collect and display device logs |
| `devices` | `logpeek devices` | List booted simulators/emulators |
| `doctor` | `logpeek doctor` | Check prerequisites (node, adb, xcrun) |
| `init` | `logpeek init` | Register as Claude Code plugin |
## Log Collection Flags
| Flag | Short | Default | Description |
|------|-------|---------|-------------|
| `--app <id>` | `-a` | auto-pick | Bundle ID (iOS) or package name (Android). If omitted, lists installed apps. |
| `--source <type>` | `-s` | `all` | `all` (everything), `native` (platform only), `framework` (React Native/Flutter tags) |
| `--framework <type>` | `-f` | none | `react-native` or `flutter`. Automatically sets `--source framework`. |
| `--device <id>` | `-d` | auto-detected | Device ID or name |
| `--platform <type>` | `-p` |