SoloPi is an open-source Android automation and testing system that records, replays, verifies, and diagnoses interactions on real devices. It is for mobile developers and testers who need repeatable UI tests, performance measurements, controlled execution, and evidence-based results in development or CI workflows. Its catalogue skill is the agent-facing entry point for submitting controlled SoloPi test tasks.
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.
npx skills add alipay/SoloPi --skill solopi-desktop-cligit clone --depth 1 https://github.com/alipay/SoloPiWrote 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.
[](https://agentmods.dev/skills/alipay/solopi/solopi-desktop-cli)<a href="https://agentmods.dev/skills/alipay/solopi/solopi-desktop-cli"><img src="https://agentmods.dev/badge/skills/alipay/solopi/solopi-desktop-cli/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/alipay/solopi/solopi-desktop-cli"><img src="https://agentmods.dev/badge/skills/alipay/solopi/solopi-desktop-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00127 | $0.05345 |
| Opus 5.5 | $0.00051 | $0.02138 |
| Sonnet 5.5 | $0.00025 | $0.01069 |
| Haiku 4.5 | $0.00013 | $0.00534 |
Grade B, and why
solopi-desktop-cli scanned grade B with 1 finding 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 18d 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
**Linux / SSH / 云端 Agent**:先从当前执行进程的 PATH 解析 `solopi-desktop`;品牌迁移期间若只部署了 `lenswiper`,使用部署确认的该入口。不要因普通 SSH 的 PATH 不同就断言云端入口不存在;也不要直接改用某个旧包的 `resources/bin`,这样可能丢失部署绑定的数据目录和设备路由。支持的发行包自带 Electron/Node、ADB、scrcpy、FFmpeg;后台 How it starts
The opening of the file, as written. The whole thing — 230 lines — stays where its author put it; the contents beside it link to each section on GitHub.
solopi-desktop CLI 快速运行
Skill ID 为 solopi-desktop-cli,命令示例使用 solopi-desktop。SOLOPI_DESKTOP_DATA_DIR 可显式指定数据目录;旧 GLASSBOX_CLI_DATA_DIR、报告协议和历史数据目录继续兼容,不搬移历史任务和凭据。
设备术语统一为 smart glasses / 眼镜设备,角色为 glasses。CLI 使用 --glasses、--glasses-package、--record-glasses-screen;JSON 使用 devices.glasses、defaults.glassesSerial、defaults.glassesPackage、recordGlassesScreen。这是当前唯一设备契约,不使用单数角色或把眼镜称为“玻璃端”。外部 SDK 的原生包名、类名和配置文件名按其真实协议填写。
运行/复核已有用例、清理任务记录、CLI配置及独立采集时加载本 Skill。正常路径只读本文件,不读取 references/,也不加载业务用例编写 Skill。
按需使用与失败恢复
当前入口已提供完整 schema 或本轮已读过相同版本帮助时,直接使用,不固定重复 --help、discover_tools、doctor 或其他 Skill。已确认且未变化的设备和查询范围可复用;重新连接、设备切换、用例成员变化或明确要求刷新时才重新核对。任务提交自身仍执行统一校验与互斥。
- 已知 taskId 直接查询该任务;需要搜索其他任务时可显式传 query/状态/分页,不因历史 taskId 限制新查询。
- 多例步骤可用read_task_report(caseIds, view="steps")一次取精简执行表,原始stdout/日志按缺口再读。
- 分析先读失败清单,再按真实 taskId/caseId/stepId 读取缺口;不要为了完整性把全部日志、配置和 Skill 逐页读完。
read_evidence的 source 是本证据范围,单例证据不包含其他用例。found=false是当前范围内字面检索未命中,不代表业务没有结果或并发冲突;换成正确证据来源,而不是重复顺序读。alreadyRead 回执提供原调用索引,只有确需原文才回读或 refresh。- Skill 重载失败只修复当前调用依赖的 Skill。无关历史 Skill 消失不应阻断普通命令;不能靠 echo/ping 或改命令包装试探门禁。相同错误且没有新信息时停止重试,给出未完成状态和恢复动作。
- 内置 Agent 已使用 update_work_state 时,用 finish_work 引用本轮实际回执明确 completed 或 blocked;普通 CLI 和普通问答无需额外建工作状态。执行成功不等于业务通过,收尾必须说明实际结果;已有成功/未知写入先查回执,不能重放。
任务清理与入口版本
在 solopi-desktop Agent 中,当前工具目录若有 clean_tasks,直接使用原生工具按明确 taskIds 或 query/status/before/olderThan 删除;dryRun 可选,不需要 planToken 或 refresh,不向用户索取登录凭据。默认保留产物;只有用户要求释放产物时才传 purgeArtifacts=true,超过默认50条显式设置 limit。
外部 CLI 按该实际可执行文件的帮助确认是否支持 tasks remove / tasks clean。安装版 CLI 与正在运行的开发版 App 可能不同:旧 CLI 不支持删除,不能据此推断当前 Agent 原生工具也不支持。历史错误与历史帮助只代表当时入口;当前参数以最新工具 schema 为准,参数校验失败按 validation 修正,不将额外字段当作必要条件。原生工具可用时无需转 CLI、手改 userData 或让用户手动清列表。
快捷操作
用户要求切换环境、捞取历史日志或执行已配置脚本时,优先使用通用快捷操作,业务逻辑由脚本定义,不自行拼业务命令或新建测试用例。参数未知且没有本轮有效帮助时再查 quick-actions --help;用 quick-actions list --query <名称> --json 发现并 show <id> --json 读取完整参数,然后 query 或 execute --phase run --values <JSON> --phone <SN> --glasses <SN> --json;仅传本次需要且已确认在线的设备。新建、从本机/仓库导入、差量配置、仓库推送及会话型操作见 快捷操作。不支持此命令的旧App需更新,禁止通过UI私有接口或猜脚本参数绕过。
What ships with it
19 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- agents/openai.yaml 360 B
- references/case-authoring-and-validation.md 3.1 KB
- references/case-discovery-and-library-sync.md 1.3 KB
- references/case-library-git.md 2.1 KB
- references/cli-kill-ghost-runner-issue.md 500 B
- references/cli-services.md 1.4 KB
- references/development-runner.md 2.1 KB
- references/device-concurrency.md 2.1 KB
- references/incremental-task-review.md 2.1 KB
- references/offline-log-assert.md 2.5 KB
- references/package-selection.md 2.1 KB
- references/packaging-and-installed-app-boundary.md 848 B
- references/quick-actions.md 4.4 KB
- references/recording-performance-and-reports.md 5.4 KB
- references/run-task-long-running-issue.md 572 B
- references/solopi-import.md 1.5 KB
- references/stress-and-codex-install.md 1.9 KB
- references/task-diagnostics-and-performance.md 6.8 KB
- references/troubleshooting-runner-and-adb.md 3.8 KB
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.
- 18d ago First seen · 230 lines · 127 tokens per session scan B 06377bf20e32
solopi-desktop-cli is a skill published in the GitHub repository alipay/SoloPi (6,612 stars, last pushed 6d ago), licensed Apache-2.0. It adds 127 tokens to every session and 5,345 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-08.
solopi-desktop-cli compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| solopi-desktop-clialipay/SoloPi | Skill | 6.6k | 6d ago | Apache-2.0 | B | 127 | Codex |
| mobile-testerbuiphucminhtam/forgewright | Skill | 49 | 9d ago | none | A | 81 | Claude Code |
| android-ui-verificationfindscripter/everything-skills | Skill | 11 | today | none | A | 133 | Claude Code |
| android-ui-journey-testingsickn33/agentic-awesome-skills | Skill | 50k | today | MIT | A | 27 | Claude Code |
| simvynpranshuchittora/simvyn | Skill | 452 | 28d ago | MIT | A | 63 | Codex |
| ghost-tiktok-iosghost-in-the-droid/android-agent | Skill | 430 | 11d ago | MIT | A | 129 | Claude Code, Codex |
| ghost-open-food-factsghost-in-the-droid/android-agent | Skill | 430 | 11d ago | MIT | A | 62 | Claude Code, Codex |