Pular para o conteúdo
Skillpedia
Apps de celular5,2 mil · #15026

agent-device

O que ela faz

Usa a ferramenta de linha de comando agent-device para abrir um app, ler a tela e tocar, digitar ou rolar por ela. Ela é para desenvolvedores e testadores que querem uma IA para verificar o comportamento de apps móveis.

Quando usar

  • ✓Quando você quer que seu agente abra um app e percorra uma tela em um celular ou simulador.
  • ✓Quando você quer verificar uma mudança de app móvel usando-o em um dispositivo.
  • ✓Quando você quer capturas de tela ou detalhes de um bug em um app móvel.

Link da skill

https://github.com/callstack/agent-device/blob/main/skills/agent-device/SKILL.md

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/callstack/agent-device/blob/main/skills/agent-device/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Abra meu app no simulador do iOS, faça login com a conta de teste e me diga se a tela de configurações carrega.”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

O agente abre o app, lê a tela como uma lista de alvos e age sobre eles. Depois de cada passo, lê a mudança e verifica o resultado que você pediu.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do GitHub.

agent-device

For a normal app-driving task, start immediately. Do not probe first with --help, --version, devices, appstate, snapshot, or screenshot:

agent-device open <app> --foreground

That starts the session and returns the initial interactive snapshot with @refs.

Loop: act with press|click|fill|longpress <target> ... --settle, scroll <direction> --settle, or back --settle; continue from the printed diff, verify the named expectation (wait text "...", is, get, or find), then run agent-device close, or agent-device close --shutdown if your session booted a local simulator or emulator, unless the user asks to keep it running.

Reaching an off-screen target is one command, not a scroll-and-check loop: scroll down --until <selector> scrolls until that element is on screen, and scroll bottom runs to the end of the content. Repeated bare scroll down calls are the slow way to find something.

Copy refs byte-for-byte: @e12, @e12~s4 — keep the @ and any ~sN. Prefer current refs, then id/label/role selectors; coordinates are a last resort. If snapshot reports sparse/AX-unavailable, its refs and selectors are invalid: run agent-device screenshot, inspect the image, use coordinates, then retry snapshot -i after navigating. Otherwise run snapshot -i only when the diff lacks the next target.

Error output includes corrective hints; follow them instead of re-planning. Only when the task is specialized (for example gestures, scripting, TV, macOS, remote, or debugging) or a command shape is unclear, run agent-device help <topic>. agent-device --help lists topics, but is not a startup step.

To capture network traffic on a Limrun session, see agent-device help remote or the Limrun docs.

Perguntas frequentes

O agente precisa de uma ferramenta instalada antes?

Sim. Você instala a ferramenta de linha de comando agent-device antes que o agente a use.

Funciona em apps de TV também?

A skill cobre controles remotos de TV e apps na Android TV, na Fire TV e em TVs com Amazon Vega OS.

Ele desliga o simulador depois?

Se a sessão iniciou o simulador ou o emulador, ele o desliga no final, a menos que você peça para mantê-lo ligado.

Detalhes

Descrição original do autor

Automates Apple-platform apps (iOS, tvOS, macOS), Android devices (including Android TV and Fire TV on Fire OS), and Amazon Vega OS TV apps in Vega Virtual Devices. Use when navigating apps, taking snapshots/screenshots where supported, driving TV remotes, tapping, typing, scrolling, extracting UI info, collecting evidence, or planning agent-device CLI commands.

repo: callstack/agent-device

Popularidade

Estrelas no GitHub
5,2 mil
Posição no ranking
#15026
Licença
MIT
Atualizada em
02/11/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas