Skip to content
Back to skills

Iphone Unlock

ASecurity

手机锁屏或面容 ID 有密码入口时,用本机配置的密码解锁,并以当前截图核实结果。

  • 2,370 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 20, 2026
ai-agentsgospring

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned November 26, 2026

npx -y skills add JosssphZhou/poki --skill iphone-unlock --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Iphone Unlock?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Iphone Unlock
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/josssphzhou-iphone-unlock/badge)](https://www.skillsdirectory.com/skills/josssphzhou-iphone-unlock)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: iphone-unlock
description: 手机锁屏或面容 ID 有密码入口时,用本机配置的密码解锁,并以当前截图核实结果。
license: AGPL-3.0-only
---

# iPhone 解锁

Poki Agent 通过 unlock_device 加载本技能并调用本地助手。模型只提供设备页面的确认信息,密码由宿主读取 POKI_IPHONE_PASSCODE,通过子进程标准输入传递。密码不进入模型输入、参数、日志、证据和提交。缺少本机密码时工具返回明确错误,模型根据任务和可用能力继续解决,无法完成就 finish_task(success=false)。

1. 先观察当前屏幕。已经解锁时直接继续原任务。面容 ID 有密码入口时进入密码页。
2. 4 位或 6 位数字:核对当前截图与 [键盘布局](references/iphone-402x874.json) 一致,为普通 iPhone 402×874 逻辑点、竖屏的数字键盘,输入圆点应为空。其他密码(自定义长度的数字,或含字母、符号的密码,4 到 128 个美式键盘字符):助手唤醒手机后读取辅助功能树,在第一下输入前再读一次,只有确认最前面是锁屏(SpringBoard 且显示“输入密码”),并且有完整数字键盘和“好”键、或只有一个空的密码栏时,才点按数字后按“好”,或逐字键入后按 Return。任何一项不能确认就不发送任何输入,并说明原因(不含密码)。
3. 调用 unlock_device,传 keypadConfirmed=true。宿主取得设备租约后执行连续输入,并返回截图。工具输出只代表输入发送,是否解锁要以截图为准。输入结果不明时先观察当前状态,避免重复已发送的数字。
4. 核验锁屏已退出、当前应用明确,再继续原任务。

本地助手来自本仓库提交 5134e1a。编译命令:

```sh
cargo build --locked --release --manifest-path native/bridge/Cargo.toml --target-dir build/native-target --example unlock_iphone -j 4
```

命令行独立使用可运行 scripts/unlock.py --device '<UDID>',密码通过隐藏终端输入。宿主模式添加 --stdin,原生程序可由 POKI_UNLOCK_NATIVE 指定。原始真机验证记录见 [verified-run.md](references/verified-run.md);本次接入验证使用假助手,未执行真实解锁。

Files in this skill

  • SKILL.md1.8 KB
  • references/iphone-402x874.json187 B
  • references/verified-run.md2.3 KB
  • scripts/unlock.py2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.