What do you want to do?
3 use cases
-
Test a mobile app flow on a real phone with an agent
An agent opens your app, follows a test script, and reports what the screen shows.
- Phone Harness
- Claude Code
- Codex
- Personal productivity
- Intermediate
View prompt
Using the phone-harness repo at https://github.com/ShawnPana/phone-harness, open <app name> on the connected phone, follow the test script <script path>, and report each step with the screen text it read. Verify that the last screen matches the expected result in the script before reporting success.
-
Run a phone task on a rented cloud phone
Rent a cloud Android or iPhone by the session and let an agent work on it without owning a device.
- Phone Harness
- Claude Code
- Codex
- Personal productivity
- Intermediate
View prompt
Using the phone-harness repo at https://github.com/ShawnPana/phone-harness, start a cloud phone, complete the task <task description>, and return the final screen text. Verify with `cloud ls` that the session is stopped before you report completion.
-
Have an agent order from your iPhone via Mac mirroring
Let an agent drive your iPhone through the Mac's iPhone Mirroring window to finish an app errand.
- Phone Harness
- Claude Code
- Codex
- Personal productivity
- Intermediate
View prompt
Using the phone-harness repo at https://github.com/ShawnPana/phone-harness, use the iPhone Mirroring window on this Mac to complete the errand <errand description>. Stop before the final payment confirmation and report the screen text, then verify the order details match the request before approving the last step.
How to use Phone Harness
- Check you have what it needs: uv installed, with Python 3.12 available; A coding agent such as Claude Code or Codex; Either a Mac with iPhone Mirroring, an Android phone with adb and developer options on, or a Phone Harness Cloud account.
- Open ShawnPana/phone-harness on GitHub and read the README and license.
- Install Phone Harness with uv using Python 3.12, for example
uv tool install phone-harness. (inferred, check the README) - Run
phone-harness skillto register the skill with your coding agent. - Run
phone-harness doctorto check the connection to the phone. - Start your test in the agent, asking it to use
screenshot(),find_text, andtapon the target app.
These steps come from our top use case, Test a mobile app flow on a real phone with an agent, which also has a copy-paste agent prompt.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freePhone Harness alternatives · Best AI repos for Personal productivity
About this repo
- Who it is forDevelopers and power users who want a coding agent to operate a phone for them, whether they own one, rent one, or have neither.
- Why it is hot
- LanguagePython
- Sourcegithub.com/ShawnPana/phone-harness · Back to Hot repos
Requirements
- uv installed, with Python 3.12 available
- A coding agent such as Claude Code or Codex
- Either a Mac with iPhone Mirroring, an Android phone with adb and developer options on, or a Phone Harness Cloud account
- Your own hands to pair the phone, grant Accessibility and Screen Recording, or approve adb
Maintain Phone Harness? Add the Featured on Deduped badge
Paste this into your README:
[](https://dedupedai.com/use-cases/shawnpana-phone-harness/?ref=badge)
Questions about Phone Harness
What is Phone Harness?
phone-harness is a Python tool that lets Claude Code, Codex, or another agent see the screen of a real iPhone, Android, or rented cloud phone and tap, type, and read the result. It is an open-source project on GitHub: https://github.com/ShawnPana/phone-harness.
Who is Phone Harness for?
Developers and power users who want a coding agent to operate a phone for them, whether they own one, rent one, or have neither.
What can I do with Phone Harness?
3 use cases so far, for example: Test a mobile app flow on a real phone with an agent; Run a phone task on a rented cloud phone; Have an agent order from your iPhone via Mac mirroring. Each has steps and a copy-paste agent prompt.
What do I need to run Phone Harness?
uv installed, with Python 3.12 available; A coding agent such as Claude Code or Codex; Either a Mac with iPhone Mirroring, an Android phone with adb and developer options on, or a Phone Harness Cloud account; Your own hands to pair the phone, grant Accessibility and Screen Recording, or approve adb.
What are alternatives to Phone Harness?
Other hot AI repos in Personal productivity: Abacusai Bot, Unigit Ecosystem, Comma, Agent Peer Chat, Compass.
Is Phone Harness safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.