Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计通过

skill-ios-setup技能 iOS 设置

Agent Skill

skill-ios-setup 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,354

周安装

137

GitHub Stars

公开资料未说明

下载量

1,085
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:skill-ios-setup(技能 iOS 设置)
来源仓库:https://github.com/parham-dev/skill-ios-setup
安装命令:
openclaw skills install skill-ios-setup
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install skill-ios-setup

简介

skill-ios-setup 用于配置 OpenClaw iOS 应用的远程访问连接方案。

  • 适合在 OpenClaw 中需要通过域/Nginx/Tailscale 等方式建立安全通道时使用。
  • 提供连接检测和故障排查工具确保移动端稳定接入。
  • 使用前需准备服务器资源和域名证书等基础设施。
  • 建议遵循最小权限原则配置网络访问策略。

SKILL.md

skill-ios-setup

Set up the OpenClaw iOS app on any OpenClaw installation. Deploys the stats server, configures access, and outputs connection details for the user.

When to use

  • User says "set me up for the iOS app", "I want to use the iOS app", "help me connect the app"
  • After a fresh OpenClaw install
  • Stats server is down or iOS can't connect

What this skill does NOT do

  • Blog pipeline setup
  • Outreach pipeline setup
  • Any business-specific crons or pipelines
  • Those are optional — the app works without them

Step 1 — Detect environment

Find this skill's own directory first:

openclaw skills list --json 2>/dev/null | python3 -c "
import json,sys
skills = json.load(sys.stdin)
for s in skills:
    if s.get('id','').startswith('skill-ios-setup'):
        print(s.get('path',''))
        break
"

Then run the environment check script from that path:

python3 <skill-dir>/scripts/detect_env.py

This outputs JSON with:

  • install_type: docker | direct
  • workspace: path to agent workspace (e.g. ~/.openclaw/workspace/main)
  • gateway_token: from openclaw config
  • gateway_port: default 18789
  • stats_running: bool
  • stats_port: 8765
  • public_ip: detected public IP if any
  • tailscale_ip: Tailscale IP if tailscale is installed
  • nginx_available: bool
  • os: linux | macos | other
The workspace field is the source of truth for all subsequent paths — never hardcode orchestrator or any agent name.

Step 2 — Deploy stats server

Check stats_running. If false, deploy it:

python3 <skill-dir>/scripts/deploy_stats.py

This will:

  1. Locate stats_server.py under the workspace path from Step 1
  2. Install Python deps (requests, etc.) if missing
  3. Start the stats server

If stats server is already running, skip this step.

Auto-restart on reboot

After starting, set up auto-restart appropriate to the install type:

Docker install — tell the user to add restart: unless-stopped to their docker-compose.yml for the OpenClaw service. Docker will restart the container (and the stats server with it) automatically on reboot or crash.

Direct install — use the workspace value from Step 1 to build the correct path:

# workspace = value from detect_env.py output, e.g. /home/user/.openclaw/workspace/main
ENSURE_SCRIPT="<workspace>/scripts/dashboard/ensure_stats_server.sh"

# Tell user to run:
crontab -e
# Add this line (substituting the actual path):
@reboot bash <workspace>/scripts/dashboard/ensure_stats_server.sh

Always show the user the fully resolved path — never show a placeholder like /path/to/.

Do NOT set up an agent watchdog cron for open source users — it wastes tokens on every install.


Step 3 — Determine connectivity method

Ask the user (or detect from env output):

"How do you want to expose OpenClaw to your iPhone? 1. I have a domain + nginx/reverse proxy 2. I use Tailscale 3. Direct IP on local network (home/office only) 4. I'll set it up myself — just give me the details"

Use their answer to proceed to the relevant step below.


Step 4a — Domain + nginx

Tell the user:

Add this to your nginx config (replace YOUR_DOMAIN):

server {
    listen 443 ssl;
    server_name YOUR_DOMAIN;

    # SSL config here (certbot/Let's Encrypt recommended)

    # Gateway (WebSocket + API)
    location / {
        proxy_pass http://127.0.0.1:18789;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
        proxy_set_header Host $host;
        proxy_read_timeout 86400;
    }

    # Stats server
    location /stats/ {
        proxy_pass http://127.0.0.1:8765;
        proxy_set_header Host $host;
    }
    location /tools/ {
        proxy_pass http://127.0.0.1:8765;
        proxy_set_header Host $host;
    }
}

Then run: sudo nginx -t && sudo systemctl reload nginx

Connection details for iOS app:

  • Gateway URL: https://YOUR_DOMAIN
  • Token: (from config)

Step 4b — Tailscale

Check if Tailscale is installed (tailscale_ip in env output).

If installed, tell the user to run:

tailscale serve --bg http://127.0.0.1:18789
tailscale serve --bg --set-path /stats http://127.0.0.1:8765

Then get their Tailscale hostname:

tailscale status --json | python3 -c "import json,sys; d=json.load(sys.stdin); print(d['Self']['DNSName'].rstrip('.'))"

Connection details for iOS app:

  • Gateway URL: https://<tailscale-hostname>
  • Token: (from config)

If Tailscale is NOT installed, suggest it:

"Tailscale is the easiest way to access OpenClaw remotely with no port forwarding. Install from tailscale.com, then come back and run this skill again."

Step 4c — Local network (LAN only)

Use lan_ip from the detect_env.py output directly.

Tell the user:

  • Gateway URL: http://<lan_ip>:18789
  • This only works when your iPhone is on the same WiFi network
  • Not recommended for production use

Step 4d — Manual / self-managed

Output the raw details:

  • Gateway port: 18789 (WebSocket + HTTP API)
  • Stats server port: 8765 (internal, proxy to /stats/* and /tools/*)
  • Token: (from config)

Tell them to expose these however they prefer and enter the URL + token in the app.


Step 5 — Output connection summary

Always end with a clean summary block:

✅ OpenClaw iOS Setup Complete

Gateway URL:  https://your-domain-or-ip
Token:        your-token-here

In the iOS app:
1. Open the app
2. Enter the URL and token when prompted
3. Tap Connect

Stats server: running on port 8765 ✓

If anything failed, clearly say what failed and what the user needs to do manually.


Notes

  • Never hardcode agent names (orchestrator, main, etc.) — always use the workspace path from detect_env.py
  • The gateway token comes from: openclaw config get gateway.auth.token or from ~/.openclaw/openclaw.json
  • Docker installs: scripts run inside the container, nginx typically lives on the host
  • For Docker + nginx: the nginx block is on the HOST, proxying into the container's exposed ports

Stats server survival across restarts

Gateway soft restart (SIGUSR1): stats server survives — it is a separate process, unaffected.

Docker container restart or machine reboot: stats server dies. Recovery is handled by the OS-level mechanism set up in Step 2 (Docker restart: unless-stopped or system @reboot crontab) — no agent watchdog needed.

Tell the user: "If your iOS app loses connection after a server restart, the stats server may have stopped. Message the agent 'restart stats server' and it will bring it back up."

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

OpenClaw

85.25%
按下载量换算925

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills