PokeClaw CLAUDE.md

PokeClaw CLAUDE.md is an instructions file for coding agents from agents-io/PokeClaw. It costs 1,720 tokens per session, scanned A, original, Apache-2.0.

A project rulebook for PokeClaw, an Android mobile-agent harness that lets an AI agent operate mobile devices. It documents the important project files, development priorities, and required quality checks.

In plain words
What is it for?
Use it before changing prompts, skills, task routing, runtime behavior, quality assurance, or release behavior in the PokeClaw repository. It helps identify which documentation and test files must be updated.
Why use it?
It keeps changes aligned with the project's runtime, hardware, storage, accessibility, foreground-service, installation, signing, and testing requirements. It also requires quality assurance work for every change.

Instructions file

About the project

PokeClaw is an open-source Android app that uses AI to operate a phone, such as reading messages and carrying out tasks. Its local mode runs Gemma 4 on the device without an account or API key, while optional cloud models can help with more difficult reasoning.

agents-io/PokeClaw · 1,036 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/agents-io/pokeclaw/claude-md
Clone the repo
git clone --depth 1 https://github.com/agents-io/PokeClaw

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for PokeClaw CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/agents-io/pokeclaw/claude-md.svg)](https://agentmods.dev/instructions/agents-io/pokeclaw/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/agents-io/pokeclaw/claude-md"><img src="https://agentmods.dev/badge/instructions/agents-io/pokeclaw/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,720 This file is loaded in full into every session.
When invoked 1,720 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.01720 $0.01720
Opus 5 $0.00860 $0.00860
Sonnet 5 $0.00344 $0.00344
Haiku 4.5 $0.00172 $0.00172

Measured 5d ago against content hash 115198be8413, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

PokeClaw CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 123 lines

How it starts

The opening of the file, as written. The whole thing — 123 lines — stays where its author put it; the contents beside it link to each section on GitHub.

PokeClaw — Project Rules

Read This First

Before changing prompts, skills, task routing, local runtime, QA, or release behavior, read README.md sections Product Direction, Roadmap, and Known platform constraints.

The short version: PokeClaw is a generic Android mobile-agent harness, not a collection of hardcoded demo tasks. Prioritize runtime, hardware, storage, accessibility, foreground-service, install/signing, and QA-harness correctness before narrow prompt or workflow tuning.

Project Files

File What When to update
README.md Public product direction, roadmap, changelog When product direction, roadmap, release notes, or public claims change
AI_INDEX.md Repo map for coding agents When files or directories move
CLAUDE.md Project rules When workflow/rules change
QA_CHECKLIST.md E2E test cases + debug changelog Every code change
RELEASING.md Stable signing and release workflow When the release process changes
BACKLOG.md Features, bugs, ideas with priority When new items come in or items get done
ARCHITECTURE_RECONSTRUCTION.md Historical architecture/refactor guardrails When reconstruction phases change
CLAUDE.local.md Current session state Every session

When Nicole mentions a feature idea, bug, or "之後要做" item → write it into BACKLOG.md immediately. Don't rely on session memory.

QA-First Development (MANDATORY)

Every code change MUST include E2E QA. No exceptions. This is the highest-priority practice in this project.

QA must reflect the product direction in README.md: do not turn stochastic model performance into one-off prompt drilling. Fix and gate deterministic harness failures first, then measure exploratory model tasks by repeated-trial success rate.

Per-Change QA (every commit)

  1. Design QA tests FIRST — before writing code, define what the E2E test looks like
  2. Add tests to QA_CHECKLIST.md — permanent, under the relevant section (A-K or new section)
  3. Tests must be E2E via ADB — simulate real user behavior: adb shell input tap/text, adb shell am broadcast, uiautomator dump, logcat verification. No unit tests, no mocks. Control the phone like a user would.
  4. Cover edge cases — happy path + error path + boundary conditions. For every feature, ask: "what if permission is missing?", "what if network drops?", "what if user taps twice?", "what if another task is running?"
  5. Run the new tests — execute them yourself, verify PASS, record results in the QA Debug Changelog
  6. Run affected existing tests — any section that could be impacted by the change, re-run those tests
  7. After a big feature — run the FULL checklist top to bottom (all sections A-K+)

Read the full file on GitHub · 123 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 123 lines · 1,720 tokens per session scan A 115198be8413

Subscribe to this mod's changes

PokeClaw CLAUDE.md is an instructions file published in the GitHub repository agents-io/PokeClaw (1,036 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 1,720 tokens to every session, about $0.0086 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories