# pokeclaw-android-ai-agent

This skill guides an on-device Android agent built with Gemma 4, LiteRT-LM tool calls, and Accessibility Service control.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 507 installs · ★ 88
- Author: reason-machines
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/reason-machines/trending-skills/tree/HEAD/skills/pokeclaw-android-ai-agent/SKILL.md
- Updated: 2026-10-09
- HTML: https://affpapa.org/en/nevibecode/skills/pokeclaw-android-ai-agent

## What it does

The skill lays out PokeClaw’s Android agent flow. `TaskOrchestrator` tracks the task and session history, `LLMEngine` runs Gemma 4 through LiteRT-LM, and `ToolDispatcher` routes model calls to concrete actions. The agent reads the UI tree, taps controls, swipes, enters text, launches apps, and sends messages.

It also covers Kotlin data classes for JSON tool schemas and registering those tools with LiteRT-LM. Local execution does not need an API key or a cloud model. Building the app requires Android Studio Hedgehog or newer, Android 9+ (API 28), target API 34+, and Kotlin 1.9+; UI control depends on an Android Accessibility Service.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill pokeclaw-android-ai-agent -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/pokeclaw-android-ai-agent/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/pokeclaw-android-ai-agent/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill pokeclaw-android-ai-agent -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/pokeclaw-android-ai-agent/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill pokeclaw-android-ai-agent -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/pokeclaw-android-ai-agent/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install reason-machines/trending-skills pokeclaw-android-ai-agent
```

2. **Manually: put the files in place**
- File: `.github/skills/pokeclaw-android-ai-agent/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill pokeclaw-android-ai-agent -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/reason-machines/trending-skills --path skills/pokeclaw-android-ai-agent
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/pokeclaw-android-ai-agent/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill pokeclaw-android-ai-agent -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/reason-machines/trending-skills/tree/HEAD/skills/pokeclaw-android-ai-agent/SKILL.md

## When to use it
- build an Android agent around Gemma 4
- add tool calling to a LiteRT-LM app
- control Android UI through Accessibility Service
- create an on-device auto-reply agent

## Example prompts
- Set up PokeClaw on Android with Gemma 4 running locally.
- Add tools for tapping, text entry, and launching apps to this LiteRT-LM agent.
- Build an agent that reads the UI tree and completes tasks through Android Accessibility Service.

## Similar
- [limrun-android-emulator](https://affpapa.org/en/nevibecode/skills/limrun-android-emulator.md) — skill · 38700 installs
- [argent-android-emulator-setup](https://affpapa.org/en/nevibecode/skills/argent-android-emulator-setup.md) — skill · 26600 installs
- [mobile-android-design](https://affpapa.org/en/nevibecode/skills/mobile-android-design.md) — skill · 24847 installs
- [clerk-android](https://affpapa.org/en/nevibecode/skills/clerk-android.md) — skill · 14400 installs
- [google-mobile-ads-android-migrate-to-next-gen](https://affpapa.org/en/nevibecode/skills/google-mobile-ads-android-migrate-to-next-gen.md) — skill · 5969 installs
- [android-device-automation](https://affpapa.org/en/nevibecode/skills/android-device-automation.md) — skill · 5800 installs

From the same set: [reason-machines/trending-skills](https://affpapa.org/en/nevibecode/by/reason-machines/trending-skills.md) — 199 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
