An open API service indexing awesome lists of open source software.

https://github.com/hyperb1iss/hyperdroid-skill

Agent skills for Android and custom ROMs
https://github.com/hyperb1iss/hyperdroid-skill

agent android lineageos roms skills

Last synced: 5 months ago
JSON representation

Agent skills for Android and custom ROMs

Awesome Lists containing this project

README

          


๐Ÿค– hyperdroid-skill


Master Android Development from App to ROM

ADB wizardry โ€ข Fastboot sorcery โ€ข Custom ROM alchemy


4 Skills
1 Agent
Claude Code
skills.sh



License


What This Is โ€ข
Skills โ€ข
Agents โ€ข
Installation โ€ข
SOTA Knowledge

---

## ๐Ÿ’Ž What This Is

**hyperdroid-skill** is an elite Claude Code plugin for Android developmentโ€”from debugging a misbehaving app to building entire custom ROMs. Whether you're a hobbyist flasher or a full-time ROM maintainer, these skills have you covered.

Instead of digging through Stack Overflow and XDA threads, get **domain expertise** directly:

- A **device debugger** who knows logcat, tombstones, and ANR traces inside-out
- A **fastboot specialist** who handles A/B slots, dynamic partitions, and brick prevention
- A **build engineer** who speaks Gradle, Soong, and `lunch` fluently
- A **LineageOS contributor** who knows Gerrit, repopick, and breakfast by heart

Works with Claude Code and any agent supporting the plugin ecosystem.

## ๐Ÿ”ฎ Skills

Skills are contextual knowledge bundles that auto-activate when relevant. Ask about "adb logcat"? The android skill loads. Mention "flash boot image"? Bootloader skill activates.

| Skill | Domain | Triggers |
|-------|--------|----------|
| `android` | Device Mastery | ADB, logcat, shell, app management, UI automation, debugging |
| `android-fastboot` | Danger Zone | Fastboot, partitions, A/B slots, recovery, Magisk, unlocking |
| `android-build` | Build Systems | Gradle CLI, SDK manager, AOSP envsetup/lunch/m, kernels |
| `lineageos` | Custom ROMs | breakfast/brunch, repopick, Gerrit, vendor blobs, porting |

### ๐ŸŽฏ `android` โ€” Device Mastery

Everything about interacting with Android devices via ADB:

- **Connection** โ€” USB, wireless (`adb tcpip`), multi-device targeting
- **Shell** โ€” Commands, root access, file push/pull, port forwarding
- **App Management** โ€” Install, uninstall, start/stop activities, permissions, intents
- **UI Automation** โ€” Tap, swipe, text input, screenshots, screen recording
- **Debugging** โ€” Logcat filtering, crash analysis, memory profiling, strict mode
- **System Inspection** โ€” dumpsys, getprop, /proc exploration, service calls

### โš ๏ธ `android-fastboot` โ€” Danger Zone

Fastboot and bootloader operations with appropriate safety warnings:

- **Fastboot Commands** โ€” Flash, erase, boot, getvar, reboot modes
- **Bootloader State** โ€” Unlock, lock, OEM commands, critical partitions
- **A/B Partitions** โ€” Slot switching, dynamic partitions (super), metadata
- **Recovery** โ€” TWRP, stock recovery, sideload, OTA survival
- **Root** โ€” Magisk installation, boot image patching, module management
- **Brick Prevention** โ€” Backup strategies, critical partition protection, recovery paths

### ๐Ÿ”ง `android-build` โ€” Build Systems

Both app and ROM building expertise:

- **Gradle CLI** โ€” Tasks, variants, dependency resolution, build optimization
- **SDK Tools** โ€” sdkmanager, avdmanager, emulator management
- **AOSP Build** โ€” envsetup.sh, lunch targets, m/mm/mmm, ninja
- **Device Trees** โ€” Makefile structure, BoardConfig, device props
- **Kernel Building** โ€” Defconfig, cross-compilation, module building

### ๐ŸŒ™ `lineageos` โ€” Custom ROM Development

LineageOS-specific development workflows:

- **Source Management** โ€” repo init/sync, local manifests, breakfast
- **Building** โ€” brunch, target selection, signed builds
- **Gerrit Workflow** โ€” repopick, topic branches, code review
- **Vendor Blobs** โ€” extract-files.sh, proprietary-files.txt, TheMuppets
- **Device Porting** โ€” Common trees, inheritance, bring-up process
- **Contributing** โ€” Commit style, Gerrit etiquette, LineageOS standards

## ๐Ÿฆ‹ Agents

Agents are invoked via the Task tool with `subagent_type="hyperdroid:agent-name"`.

| Agent | Specialty |
|-------|-----------|
| `hyperdroid:crash-analyzer` | Autonomous crash investigation โ€” collects logs, tombstones, ANR traces, analyzes native crashes, provides root cause diagnosis |

### Crash Analyzer

When your app or device is misbehaving, this agent:

1. Collects relevant logcat output with intelligent filtering
2. Retrieves tombstones and native crash dumps
3. Parses ANR traces and identifies blocked threads
4. Correlates crashes with recent changes
5. Provides actionable diagnosis and fix suggestions

```
> My app keeps crashing on startup
[crash-analyzer agent activates, gathers evidence, returns diagnosis]
```

## โšก Installation

### Vercel Skills (npx)

```bash
# Install for all supported agents
npx skills add hyperb1iss/hyperdroid-skill

# Install for a specific agent
npx skills add hyperb1iss/hyperdroid-skill -a cursor
npx skills add hyperb1iss/hyperdroid-skill -a copilot
npx skills add hyperb1iss/hyperdroid-skill -a codex
npx skills add hyperb1iss/hyperdroid-skill -a gemini
```

### Claude Code Plugin

```bash
# Add the marketplace
/plugin marketplace add hyperb1iss/hyperdroid-skill

# Install the plugin
/plugin install hyperdroid
```

### Manual

```bash
git clone https://github.com/hyperb1iss/hyperdroid-skill.git
ln -s $(pwd)/hyperdroid-skill ~/.claude/plugins/hyperdroid-skill
```

### Test Locally

```bash
claude --plugin-dir ./hyperdroid-skill
```

### Compatibility

| Platform | Install Method |
|----------|----------------|
| **Claude Code** | `/plugin marketplace add hyperb1iss/hyperdroid-skill` |
| **Vercel Skills** | `npx skills add hyperb1iss/hyperdroid-skill` |
| **Codex CLI** | `npx skills add hyperb1iss/hyperdroid-skill -a codex` |
| **Cursor** | `npx skills add hyperb1iss/hyperdroid-skill -a cursor` |
| **GitHub Copilot** | `npx skills add hyperb1iss/hyperdroid-skill -a copilot` |
| **Gemini CLI** | `npx skills add hyperb1iss/hyperdroid-skill -a gemini` |
| **Amp** | `npx skills add hyperb1iss/hyperdroid-skill -a amp` |
| **Opencode** | `npx skills add hyperb1iss/hyperdroid-skill -a opencode` |

## ๐ŸŽฏ Usage

Skills activate automatically based on context:

```
> Connect to my Android device wirelessly
[android skill activates โ€” guides through adb tcpip setup]

> Flash the custom boot image I just built
[android-fastboot skill activates โ€” provides safe fastboot workflow]

> Build LineageOS for my Pixel 8
[lineageos skill activates โ€” walks through breakfast/brunch process]

> Why does my app crash when rotating the screen?
[crash-analyzer agent investigates lifecycle issues]
```

Or invoke directly:

```bash
/hyperdroid-skill:android # Device interaction guidance
/hyperdroid-skill:android-fastboot # Fastboot and recovery
/hyperdroid-skill:android-build # Build system expertise
/hyperdroid-skill:lineageos # Custom ROM development
```

## ๐Ÿงช SOTA Knowledge

Every skill is enhanced with modern Android development knowledge (2024-2026):

### Device Interaction

- **Wireless ADB** โ€” Direct WiFi pairing (Android 11+), no USB required
- **scrcpy Integration** โ€” Screen mirroring, wireless debugging, input injection
- **Multi-Device** โ€” Serial targeting, parallel operations, device farms
- **Automation** โ€” UI Automator 2, Espresso test orchestration, macro recording

### Build Systems

- **Gradle 8.x** โ€” Configuration cache, build scans, dependency verification
- **AGP 8.x** โ€” Baseline profiles, R8 full mode, app bundles
- **Kotlin DSL** โ€” Type-safe build scripts, convention plugins
- **Version Catalogs** โ€” Centralized dependency management (libs.versions.toml)

### AOSP/LineageOS

- **Soong** โ€” Blueprint files, Android.bp, module types
- **Bazel Migration** โ€” Mixed Soong/Bazel builds, aquery debugging
- **GKI 2.0** โ€” Generic Kernel Image, DLKM modules, vendor_dlkm
- **Treble** โ€” HIDL/AIDL interfaces, vendor partitions, GSI compatibility
- **Dynamic Partitions** โ€” super partition, resize operations, snapshot merges

### Security & Root

- **Magisk 26+** โ€” Zygisk, DenyList, module development
- **KernelSU** โ€” Kernel-level root, module compatibility
- **SafetyNet/Play Integrity** โ€” Attestation, device integrity, hiding root
- **SELinux** โ€” Policy debugging, permissive domains, audit2allow

### Debugging

- **Perfetto** โ€” System tracing, custom trace points, SQL analysis
- **Simpleperf** โ€” CPU profiling, flame graphs, hardware PMU
- **Memory Profiler** โ€” Heap dumps, allocation tracking, leak detection
- **Network Profiler** โ€” Traffic inspection, certificate pinning bypass

## ๐Ÿ“ฆ Structure

```
hyperdroid-skill/
โ”œโ”€โ”€ .claude-plugin/
โ”‚ โ”œโ”€โ”€ plugin.json # Claude Code manifest
โ”‚ โ””โ”€โ”€ marketplace.json # skills.sh distribution index
โ”œโ”€โ”€ AGENTS.md # Agent compatibility registry
โ”œโ”€โ”€ skills/
โ”‚ โ”œโ”€โ”€ android/
โ”‚ โ”‚ โ”œโ”€โ”€ SKILL.md # Quick reference + triggers
โ”‚ โ”‚ โ””โ”€โ”€ references/ # Deep documentation
โ”‚ โ”‚ โ””โ”€โ”€ deep-dive.md # Advanced ADB techniques
โ”‚ โ”œโ”€โ”€ android-fastboot/
โ”‚ โ”‚ โ”œโ”€โ”€ SKILL.md
โ”‚ โ”‚ โ””โ”€โ”€ references/
โ”‚ โ”‚ โ””โ”€โ”€ partitions.md # Partition layouts & safety
โ”‚ โ”œโ”€โ”€ android-build/
โ”‚ โ”‚ โ”œโ”€โ”€ SKILL.md
โ”‚ โ”‚ โ””โ”€โ”€ references/
โ”‚ โ”‚ โ”œโ”€โ”€ aosp.md # AOSP build deep dive
โ”‚ โ”‚ โ””โ”€โ”€ lineageos.md # LineageOS specifics
โ”‚ โ””โ”€โ”€ lineageos/
โ”‚ โ”œโ”€โ”€ SKILL.md
โ”‚ โ””โ”€โ”€ references/
โ”‚ โ””โ”€โ”€ gerrit-workflow.md
โ”œโ”€โ”€ agents/
โ”‚ โ””โ”€โ”€ crash-analyzer.md # Autonomous crash investigation
โ”œโ”€โ”€ research/ # Development references (not in plugin)
โ”œโ”€โ”€ Makefile # Lint, format, validate
โ””โ”€โ”€ README.md
```

## ๐Ÿ”ง Development

```bash
# Clone
git clone https://github.com/hyperb1iss/hyperdroid-skill.git
cd hyperdroid-skill

# Lint & format
make lint
make format

# Validate structure
make check

# Show stats
make stats

# Test locally
claude --plugin-dir .
```

## ๐Ÿ’œ Philosophy

These skills embody the Android power-user methodology:

| Principle | What It Means |
|-----------|---------------|
| **Know the internals** | Understanding dumpsys, getprop, and /proc makes you dangerous |
| **Respect the danger** | Bootloader operations get explicit warnings โ€” we don't brick devices |
| **Build from source** | Whether app or ROM, know your build system inside-out |
| **Debug systematically** | Logcat + tombstones + ANR traces = root cause, not guesswork |
| **Give back** | LineageOS thrives on contributors โ€” learn the Gerrit workflow |

## ๐Ÿ“š Reference Materials

The `research/` directory contains extensive reference documentation used during skill development:

- **ADB mastery** โ€” Every flag, every trick
- **Fastboot internals** โ€” Partition tables, A/B mechanics
- **AOSP build system** โ€” Soong, ninja, make
- **Kernel building** โ€” Defconfigs, modules, GKI
- **Debugging tools** โ€” Perfetto, simpleperf, memory analysis

## License

Licensed under the MIT License. See [LICENSE](LICENSE) for details.

---



Star on GitHub

ย ย 

Ko-fi



GitHub


Bluesky



If this helps you master Android development, give us a โญ or support the project



โœฆ Built with obsession by Hyperbliss Technologies โœฆ