← 返回 Skills 市场
sav7ng

Cloud Phone Agent

作者 sav7ng · GitHub ↗ · v0.0.2
cross-platform ⚠ suspicious
1090
总下载
0
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install cloudphone
功能描述
Use mcporter to call cpc-mcp-server AutoJS Agent tools for cloud Android task execution and result retrieval.
使用说明 (SKILL.md)

What this skill does

cloudphone guides the agent to run Android automation tasks in a cloud phone environment by calling cpc-mcp-server tools through mcporter.

It is designed for:

  • AutoJS-based cloud phone automation
  • App regression / smoke test execution
  • Remote batch operation workflows
  • Scripted interaction on cloud Android devices

When to use this skill

Use this skill when the user asks for actions such as:

  • “Run a script on a cloud phone”
  • “Use AutoJS to automate this app flow”
  • “Execute Android UI steps remotely and return screenshots/logs”
  • “Use cpc-mcp-server for cloud-device automation”

When NOT to use this skill

Do not use this skill for:

  • Local ADB/emulator automation (non-cloud devices)
  • iOS automation (e.g., XCUITest)
  • Static script/code review without real device execution
  • Pure consulting requests without executable task goals

Required prerequisites (must pass before execution)

Before any call, ensure authentication is configured correctly.

cpc-mcp-server requires:

  • Authorization: Bearer \x3CAPI_KEY>

This skill standardizes the API key through:

  • CLOUDPHONE_API_KEY (required)

Requirements

  1. Set environment variable CLOUDPHONE_API_KEY.
  2. Ensure MCP server header injection is active before execution:
    • Authorization: Bearer $CLOUDPHONE_API_KEY
  3. Never hardcode or commit real keys in repo files, SKILL.md, or config JSON.

This skill defines naming and preconditions only.
Secret injection implementation is handled by runtime/environment config.


Invocation model (via mcporter)

This skill does not call MCP tools directly. It uses mcporter CLI to invoke tools on cpc-mcp-server.

Common command patterns:

  • List configured MCP servers:
    • mcporter list
  • Inspect server schema:
    • mcporter list cpc-mcp-server --schema
  • Call tool with JSON args (recommended):
    • mcporter call cpc-mcp-server.\x3Ctool> --args '\x3Cjson>'

Prefer --args JSON for long instructions, multilingual text, and special characters.


Minimal input checklist (before creating tasks)

Collect these fields first (ask follow-up only if missing):

  1. Target app (name/package)
  2. Intended action (what to do)
  3. Success criteria (what counts as done)
  4. Expected output type (screenshot/log/text result)

Tool 1: Create task (createAutoJsAgentTask)

Goal

Create and dispatch an AutoJS Agent task, then obtain taskId (and possibly sessionId).

Recommended call

mcporter call cpc-mcp-server.createAutoJsAgentTask --args '{
  "instruction": "Open \x3CAPP_NAME> on cloud phone, log in with test account, navigate to Orders page, capture a screenshot, and return order count.",
  "lang": "en"
}'
安全使用建议
This skill appears internally consistent: it needs the mcporter CLI and an API key to call cpc-mcp-server and run AutoJS tasks. Before installing, verify the 'mcporter' npm package comes from a trusted publisher (check the package page, maintainer, and recent release history); ensure CLOUDPHONE_API_KEY has the least privileges necessary and is scoped/rotated; avoid passing sensitive secrets or PII in task instructions; and consider limiting autonomous use (or requiring user confirmation) if you don't want the agent to call remote devices without explicit approval.
功能分析
Type: OpenClaw Skill Name: cloudphone Version: 0.0.2 The skill is classified as suspicious due to its reliance on `mcporter`, a powerful CLI tool capable of making arbitrary network calls and executing remote tasks on cloud Android devices, as detailed in `SKILL.md` and `mcporter-readme.md`. It requires a `CLOUDPHONE_API_KEY` for authentication to a remote `cpc-mcp-server`, which, while necessary for its stated purpose of cloud Android automation, introduces significant risk due to the broad capabilities of the underlying tool and the potential for misuse or compromise of the API key or the remote server. There is no clear evidence of intentional malicious behavior by the skill itself, but the inherent high-risk capabilities warrant a 'suspicious' classification.
能力评估
Purpose & Capability
The skill describes cloud Android automation via cpc-mcp-server and only requires the mcporter CLI plus a single API key (CLOUDPHONE_API_KEY). Those requirements are proportionate and expected for a skill that routes requests through a generic MCP caller.
Instruction Scope
SKILL.md confines instructions to using mcporter to call cpc-mcp-server tools and to set Authorization: Bearer <API_KEY>. It does not instruct reading unrelated files or other environment variables. However, the mcporter tool supports arbitrary HTTP/stdio calls and JSON args — so the agent will be capable of transmitting user-provided scripts/data to remote endpoints (expected for this use-case, but a potential data-exfiltration vector if misused).
Install Mechanism
Install is an npm/node package ('mcporter'). Using a public npm package is a reasonable choice but carries typical registry risks (supply-chain/malicious publish). The skill metadata does not include a homepage/source URL beyond a README hint; verify the npm package identity and provenance before installing.
Credentials
Requires a single credential, CLOUDPHONE_API_KEY, which directly maps to the described Authorization header use. No unrelated secrets or multiple credentials are requested.
Persistence & Privilege
No special persistence requested (always:false). The skill is user-invocable and can be invoked autonomously by the agent (platform default) but does not request elevated agent-wide privileges or modify other skills/config.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install cloudphone
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /cloudphone 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.0.2
cloudphone 0.0.2 - Major documentation rewrite for brevity and clarity, now in English. - Added explicit “When to use / NOT to use” guidance. - Separated core prerequisites and required environment variable steps. - Provided minimal input checklist before task creation. - Summarized invocation and recommended mcporter command patterns. - Reduced low-level examples and merged instructions for efficiency.
v0.0.1
Initialize skills
元数据
Slug cloudphone
版本 0.0.2
许可证
累计安装 1
当前安装数 1
历史版本数 2
常见问题

Cloud Phone Agent 是什么?

Use mcporter to call cpc-mcp-server AutoJS Agent tools for cloud Android task execution and result retrieval. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1090 次。

如何安装 Cloud Phone Agent?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install cloudphone」即可一键安装,无需额外配置。

Cloud Phone Agent 是免费的吗?

是的,Cloud Phone Agent 完全免费(开源免费),可自由下载、安装和使用。

Cloud Phone Agent 支持哪些平台?

Cloud Phone Agent 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Cloud Phone Agent?

由 sav7ng(@sav7ng)开发并维护,当前版本 v0.0.2。

💬 留言讨论