solopi-desktop-cli

solopi-desktop-cli is a skill for Codex from alipay/SoloPi. It costs 127 tokens per session (5,345 once invoked), scanned B, original, Apache-2.0.

A procedure for using the installed SoloPi Desktop command-line tool to configure models and text-to-speech, import power logs, collect performance data, and run or inspect existing automation tests. It supports smart-glasses devices and can convert older SoloPi test data for offline use.

In plain words
What is it for?
Use it to run known test cases, track tasks and new failures, inspect reports, import historical cases, and collect device performance data.
Why use it?
It gives a defined way to run, monitor, and investigate existing tests without changing the business test cases themselves.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Codex.

Good fit Use it to run known test cases, track tasks and new failures, inspect reports, import historical cases, and collect device performance data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alipay/solopi/solopi-desktop-cli
About the project

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.

alipay/SoloPi · 6,612 stars · on GitHub · solopi.cn

Install

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.

Any agent
npx skills add alipay/SoloPi --skill solopi-desktop-cli
Clone the repo
git clone --depth 1 https://github.com/alipay/SoloPi

Made for: Codex.

Wrote 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.

agentmods badge for solopi-desktop-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/alipay/solopi/solopi-desktop-cli/github.svg)](https://agentmods.dev/skills/alipay/solopi/solopi-desktop-cli)
Your own site
<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.

agentmods 80×15 button for solopi-desktop-cli

Your own site · 80×15
<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>
Per session 127 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,345 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 18d ago against content hash 06377bf20e32, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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;后台
solopi-desktop/skills/solopi-desktop-cli/SKILL.md · 230 lines

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私有接口或猜脚本参数绕过。

Read the full file on GitHub · 230 lines

Changes

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.

  1. 18d ago First seen · 230 lines · 127 tokens per session scan B 06377bf20e32

Subscribe to this mod's changes

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.

Related

solopi-desktop-cli compared with skills from other repositories

solopi-desktop-cli next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
solopi-desktop-clialipay/SoloPiSkill6.6k6d agoApache-2.0B127Codex
mobile-testerbuiphucminhtam/forgewrightSkill499d agononeA81Claude Code
android-ui-verificationfindscripter/everything-skillsSkill11todaynoneA133Claude Code
android-ui-journey-testingsickn33/agentic-awesome-skillsSkill50ktodayMITA27Claude Code
simvynpranshuchittora/simvynSkill45228d agoMITA63Codex
ghost-tiktok-iosghost-in-the-droid/android-agentSkill43011d agoMITA129Claude Code, Codex
ghost-open-food-factsghost-in-the-droid/android-agentSkill43011d agoMITA62Claude Code, Codex