Token导航 LogoToken导航TokenDH.com
待分类需要联网github未标认证来源可访问许可证需确认审计提醒

iphoneclaw-action-scriptsiphoneclaw action scripts 命令行

Agent Skill

iphoneclaw-action-scripts 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

194

周安装

8

GitHub Stars

58

下载量

63
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:iphoneclaw-action-scripts(iphoneclaw action scripts 命令行)
来源仓库:https://github.com/noedgeai/iphoneclaw
仓库路径:skills/iphoneclaw-action-scripts
安装命令:
npx skills add https://github.com/noedgeai/iphoneclaw --skill iphoneclaw-action-scripts
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/noedgeai/iphoneclaw --skill iphoneclaw-action-scripts

简介

iphoneclaw-action-scripts 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理。
  • 支持自动化脚本执行与任务流程管理。
  • 安装命令:npx skills add https://github.com/noedgeai/iphoneclaw --skill iphoneclaw-action-scripts。
  • 使用前需确认权限范围、维护状态及是否触发联网或命令执行。

SKILL.md

iPhoneClaw Action Scripts

Use the local script registry (action_scripts/registry.json) to give the model a low-token primitive: run_script(name=...,...) expands into a pre-recorded .txt action script and executes the concrete actions.

Key files:

  • action_scripts/registry.json: short name -> script path
  • action_scripts/common/*.txt: curated scripts
  • action_scripts/recorded/*.txt: recordings/exports

Priority Rules (MUST follow)

When a registered script covers the task, ALWAYS use run_script(...) instead of manually composing individual actions.

1. Launching an App -> ALWAYS use open_app_spotlight

Do NOT manually compose iphone_home(), swipe, type sequences to open an app. Instead, emit a single action:

Action: run_script(name='open_app_spotlight', APP='<app_name>')

Examples:

Action: run_script(name='open_app_spotlight', APP='bilibili')
Action: run_script(name='open_app_spotlight', APP='Safari')
Action: run_script(name='open_app_spotlight', APP='Settings')
Action: run_script(name='open_app_spotlight', APP='WeChat')

This script does: Home -> swipe left x10 -> swipe up (Spotlight) -> type app name + Enter.

2. Return to Home & Swipe -> use iphone_home_swipe_left_10_then_down

When you need to go back to home screen and reset scroll position:

Action: run_script(name='iphone_home_swipe_left_10_then_down')

This script does: Home -> swipe left x10 + swipe down.

3. Killing / Dismissing the Current App -> use kill_app

Do NOT manually compose iphone_app_switcher() + swipe sequences to kill an app. Instead, emit a single action:

Action: run_script(name='kill_app')

This script does: Cmd+2 (App Switcher) -> swipe up on right side to dismiss the current app.

General Rule

Before composing a multi-step action sequence, check action_scripts/registry.json for an existing script that covers the flow. If one exists, use run_script(name=...). This saves tokens and is more reliable than ad-hoc action chains.

Available Scripts (Registry)

Short NameScriptDescription
open_app_spotlightcommon/open_app_spotlight.txtOpen any app via Spotlight. Var: APP
iphone_home_swipe_left_10_then_downcommon/iphone_home_swipe_left_10_then_down.txtHome + swipe left x10 + swipe down
kill_appcommon/kill_app.txtKill/dismiss current app via App Switcher (Cmd+2 + swipe up)

Preferred Model Output (Low Token)

When a stable flow exists, output a single action:

Action: run_script(name='open_app_spotlight', APP='bilibili')

Notes:

  • Vars can be passed as vars={...} or as keyword sugar (APP='bilibili').
  • Prefer name=... (registry) over path=... (arbitrary file) for safety and portability.

Run Scripts Manually (Local)

Run a script file directly:

python -m iphoneclaw script run --file action_scripts/common/open_app_spotlight.txt --var APP=bilibili

Run Scripts Remotely (Supervisor API, Worker Paused)

Requirement: the worker must be paused and supervisor exec must be enabled (enable_supervisor_exec).

Use ctl:

python -m iphoneclaw ctl run-script --name open_app_spotlight --var APP=bilibili

This hits supervisor endpoint POST /v1/agent/script/run.

Record And Register A New Script

  1. Create or record the script.
# real user behavior recording (recommended)
python -m iphoneclaw script record-user --app "iPhone Mirroring" --out action_scripts/recorded/my_flow.txt

# quick record from stdin (Ctrl-D to finish)
python -m iphoneclaw script record --out action_scripts/recorded/my_flow.txt

Or export from a previous run:

python -m iphoneclaw script from-run --run-dir runs/<run_id> --out action_scripts/recorded/<run_id>.txt
  1. Add a registry entry in action_scripts/registry.json:
{
  "my_flow": "recorded/my_flow.txt"
}
  1. Invoke it via model action:
Action: run_script(name='my_flow')

You can also compose scripts by nesting inside .txt:

include open_app_spotlight APP=bilibili
# or:
run_script(name='open_app_spotlight', APP='bilibili')

Registry Path Resolution

Default registry path is ./action_scripts/registry.json.

If running from a different working directory, set:

  • IPHONECLAW_SCRIPT_REGISTRY=/absolute/path/to/action_scripts/registry.json

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.85%
按下载量换算22

Claude

29.15%
按下载量换算18

Cursor

21.52%
按下载量换算14

Gemini CLI

8.95%
按下载量换算6

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills