agent-device
Automates interactions for Apple-platform apps (iOS, tvOS, macOS) and Android devices. Use when navigating apps, taking snapshots/screenshots, tappi…
它会碰到什么
扫了多少8 个文本文件,40 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0
这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。
技能内容
agent-device
Use this skill as a router with mandatory defaults. Read this file first. For normal device tasks, always load references/bootstrap-install.md and references/exploration.md before acting. Use bootstrap to confirm or establish deterministic setup. Use exploration for UI inspection, interaction, and verification once the app session is open.
Default operating rules
- Start conservative. Prefer read-only inspection before mutating the UI.
- Use plain
snapshotwhen the task is to verify what text or structure is currently visible on screen. - Use
snapshot -ionly when you need interactive refs such as@e3for a requested action or targeted query. - Avoid speculative mutations. You may take the smallest reversible UI action needed to unblock inspection or complete the requested task, such as dismissing a popup, closing an alert, or clearing an unintended surface.
- Do not browse the web or use external sources unless the user explicitly asks.
- Re-snapshot after meaningful UI changes instead of reusing stale refs.
- Prefer
@refor selector targeting over raw coordinates. - Ensure the correct target is pinned and an app session is open before interacting.
- Keep the loop short:
open-> inspect/act -> verify if needed ->close.
Default flow
- Load [references/bootstrap-install.md](references/bootstrap-install.md) and [references/exploration.md](references/exploration.md) before acting on a normal device task.
- Use bootstrap first to confirm or establish the correct target, app install, and open app session.
- Once the app session is open and stable, use exploration for inspection, interaction, and verification.
- Start with plain
snapshotif the goal is to read or verify what is visible. - Escalate to
snapshot -ionly if you need refs for interactive exploration or a requested action. - Use
get,is, orfindbefore mutating the UI when a read-only command can answer the question. - End by capturing proof if needed, then
close.
QA modes
- Open-ended bug hunt with reporting: use [../dogfood/SKILL.md](../dogfood/SKILL.md).
- Pass/fail QA from acceptance criteria: stay in this skill, start with [references/bootstrap-install.md](references/bootstrap-install.md), then use the QA loop in [references/exploration.md](references/exploration.md).
Required references
- For every normal device task, after reading this file, load [references/bootstrap-install.md](references/bootstrap-install.md) first, then [references/exploration.md](references/exploration.md), before acting.
- Use bootstrap to confirm or establish deterministic setup, especially in sandbox or cloud environments.
- Use exploration once the app session is open and stable.
- Load additional references only when their scope is needed.
Decision rules
- Use plain
snapshotwhen you need to verify whether text is visible. - Use
snapshot -imainly for interactive exploration and choosing refs. - Use
get,is, orfindwhen they can answer the question without changing UI state. - Use
fillto replace text. - Use
typeto append text. - When a task asks to "go back", use plain
backfor predictable app-owned navigation and reserveback --systemfor platform back gestures or button semantics. - Use
type --delay-msorfill --delay-msfor debounced search fields that drop characters when typed too quickly. - If there is no simulator, no app install, or no open app session yet, switch to
bootstrap-install.mdinstead of improvising setup steps. - Use the smallest unblock action first when transient UI blocks inspection, but do not navigate, search, or enter new text just to make the UI reveal data unless the user asked for that interaction.
- Do not use external lookups to compensate for missing on-screen data unless the user asked for them.
- If the needed information is not exposed on screen, say that plainly instead of compensating with extra navigation, text entry, or web search.
- Prefer
@refor selector targeting over raw coordinates.
Additional references
- Need logs, network, alerts, permissions, or failure triage: [references/debugging.md](references/debugging.md)
- Need screenshots, diff, recording, replay maintenance, or perf data: [references/verification.md](references/verification.md)
- Need desktop surfaces, menu bar behavior, or macOS-specific interaction rules: [references/macos-desktop.md](references/macos-desktop.md)
- Need remote HTTP transport,
--remote-configlaunches, or tenant leases on a remote macOS host: [references/remote-tenancy.md](references/remote-tenancy.md)
想直接用这个技能?
本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。
它属于哪个仓库
星标★ 1,646
本站分层T1
该仓技能数13
原文件路径
plugins/vendored/.agents/skills/agent-device/SKILL.md