{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "shawnpana-phone-harness--run-phone-task-on-rented-cloud-phone",
 "repo": "ShawnPana/phone-harness",
 "repo_url": "https://github.com/ShawnPana/phone-harness",
 "repo_slug": "shawnpana-phone-harness",
 "title": "Run a phone task on a rented cloud phone",
 "page_title": "How to run a phone task on a rented cloud phone with Phone Harness",
 "summary": "Rent a cloud Android or iPhone by the session and let an agent work on it without owning a device.",
 "who": "A user with no phone on the desk, or an iPhone user who wants to test on Android, who needs an agent to complete an on-phone task.",
 "problem": "Owning a spare test phone or working from a Mac with a phone paired is not always possible.",
 "outcome": "The agent completes the task on a cloud phone and the session is stopped cleanly, with a saved Android written back if one was used.",
 "steps": [
  "Install Phone Harness with uv using Python 3.12, for example `uv tool install phone-harness`. (inferred, check the README)",
  "Run `phone-harness cloud login` and approve the request in your browser.",
  "Run `phone-harness cloud ls` to see the phones on your account, then `phone-harness cloud start` or `phone-harness cloud start ios`.",
  "Run `phone-harness <<'PY'` on one line, then `print(screenshot())` on the next, and then `PY` to confirm the phone responds.",
  "Run `phone-harness cloud stop` when the task is finished."
 ],
 "agent_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.",
 "agents": [
  "claude-code",
  "codex"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "Only cloud Android bills by the minute, so stop the session with `phone-harness cloud stop` when the task ends.",
 "category": "Personal productivity",
 "tags": [
  "Personal productivity"
 ],
 "lang": "python",
 "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"
 ],
 "risk": "sensitive",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "The agent signs in to apps on the cloud phone, so only use test accounts or credentials you are willing to expose to the session."
  }
 ],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/shawnpana-phone-harness/run-phone-task-on-rented-cloud-phone/",
 "md": "https://dedupedai.com/use-cases/shawnpana-phone-harness/run-phone-task-on-rented-cloud-phone/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/shawnpana-phone-harness--run-phone-task-on-rented-cloud-phone.json",
 "api_version": "v1"
}
