onesec-wda
БесплатноБез исполняемых скриптовНе проверенAutomate "one sec" app-blocking setup on iOS via Shortcuts automations using WebDriverAgent (WDA). Use when the user wants to bulk-configure one sec for…
от plurigrid★ 73 звезды на GitHubОб этом скилле
one sec WDA Automation
Bulk-create iOS Shortcuts automations that trigger "one sec" when apps are opened, driven by WebDriverAgent.
Prerequisites
- iPhone connected via USB with developer mode enabled
- WebDriverAgent running via xcodebuild:
xcodebuild test-without-building \ -xctestrun <path-to>/WebDriverAgentRunner_iphoneos*.xctestrun \ -destination id=<DEVICE_UDID> \ -allowProvisioningUpdates - WDA accessible at
http://localhost:8100(usepymobiledevice3 remote start-tunnel+ port forward if needed) - one sec app installed on the device with Shortcuts integration enabled
Usage
# Test with one app first
python3 /path/to/onesec_setup.py --test
# Run for all apps
python3 /path/to/onesec_setup.py
The script is at: <skill-dir>/scripts/onesec_setup.py
Workflow per App
- Tap "+" on Shortcuts Automation tab
- Select "App" trigger
- Search for and select the target app
- Confirm "Is Opened" trigger, tap Done
- Search for "one sec" action
- Select "Activate one sec (when app opens)"
- Tap Done to save
Screenshots are saved to /tmp/onesec_step* and /tmp/onesec_fail* for debugging.
Customization
Edit APPS_TO_PROTECT list in the script. Move completed apps to ALREADY_DONE to skip them on re-runs.
WDA Helpers
The script provides reusable WDA functions (no pip dependencies):
wda(method, path, data)— raw HTTP to WDAfind(using, value)/find_one(using, value)— element lookuptap(element_id)/tap_name(name)/tap_label(label)— tap elementstype_text(text)— type into active elementswipe(x1, y1, x2, y2)— drag gesturescreenshot(path)— save screenshot as PNG
Troubleshooting
- WDA connection refused: Ensure xcodebuild test is running and port 8100 is reachable
- pymobiledevice3 tunnel timeout: Restart tunnel with
sudo pymobiledevice3 remote start-tunnel - Element not found: Check screenshots in
/tmp/onesec_fail_*to see actual UI state - App not in picker: App name must match exactly as shown on device home screen
Установить onesec-wda в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл onesec-wda?
Automate "one sec" app-blocking setup on iOS via Shortcuts automations using WebDriverAgent (WDA). Use when the user wants to bulk-configure one sec for multiple apps on a connected iPhone.
Как установить скилл onesec-wda?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл onesec-wda запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic