Skip to content
Back to the docs

Write scripts with Claude, Grok or ChatGPT

Give the AppsMobs pack to your own AI assistant so it knows the app and every function, then paste the script it writes into the Playground.

Last reviewed 4 November 2026

By the end of this page you will know how to teach AppsMobs to Claude, Grok, ChatGPT or Gemini, ask it for a script, and check that script before running it. ⏱ 5 minutes.

Before you start

  • You know how to run a script: Your first script in 10 minutes.
  • You have an account with an AI assistant (Claude, Grok, ChatGPT, Gemini…). AppsMobs has no assistant of its own and never asks for an API key.

The AppsMobs pack

The pack is one text file that explains AppsMobs to an AI: how to use the app, the rules of a script (no import, wait() in seconds, always a timeout…) and every function with its exact signature. It is generated from the app's code, so it matches the functions that really exist.

The pack is also inside the app: in the Playground, on an empty script, the Write it with Claude or Grok card copies it to the clipboard, no Internet needed.

  1. 1

    Give the pack to your AI

    • Grok, ChatGPT, Gemini: paste the pack as your first message, or attach the .md file.
    • Claude, once and for all: download the Skill (.zip), then in Claude open Settings, the Skills section, and upload it. Claude then uses it on its own as soon as you talk about AppsMobs.
    • Claude Project: add the .md file to the project knowledge.

    The AI now knows the app, the script rules and every function.

  2. 2

    Describe your script

    Write what you want in plain sentences, with the details that matter:

    Tap play.png, then wait up to 20 seconds for the text "Welcome". Write a message in the output in both cases. Repeat 10 times.

    Which image, which text, how many times, what to do on failure: the more precise you are, the better the script.

  3. 3

    Paste it into the Playground

    Copy the code block of the answer, paste it into an empty script in the Playground, and save. Put the images it mentions (play.png…) in the script folder.

  4. 4

    Read, then test on a device

    Choose the device in Run on, click Run and read the Output. If something fails, paste the error to the AI: "Here is the error, what is wrong?".

What the AI does badly

An AI writes plausible code, not verified code. Even with the pack, expect:

  • Invented functions (click_image, sleep_random…): they cause a NameError. Remind it: "use only the functions in the pack". The reference is the same list.
  • Imaginary images: it writes button.png but does not know what your button looks like. You must provide the capture.
  • Badly dosed waits: too short, or without testing the result. Re-read with the good habits.
  • Random coordinates: a tap(540, 960) only makes sense for your screen.

Always read before running

Never run a generated script without reading it, especially if it touches apps, messages or settings. Test on a test device first.

What leaves your PC

Only what you paste into the AI yourself. AppsMobs sends nothing to any AI provider. Do not paste passwords or private information.

Stuck on a step? Ask on Discord, someone has probably hit it before.Ask on Discord