[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M76ZA7Z9S9YT2G02AB1FXKJP":3,"skill-same:01M76ZA7Z9S9YT2G02AB1FXKJP":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M76ZA7Z9S9YT2G02AB1FXKJP","appium-android-adb",null,"Read and control any Android app via Appium or uiautomator2. Provides a persistent bridge daemon (bridge_daemon.py) with dump\u002Ftap\u002Fscroll\u002Ftype\u002Fwait commands AND direct uiautomator2 Python library support. For UC WebView (Alipay Nebula) apps like 12306, prefer uiautomator2 for scrolling and booking action clicks.","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fa\u002Fappium-android-adb\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: appium-android-adb\ndescription: Read and control any Android app via Appium or uiautomator2. Provides a persistent bridge daemon (bridge_daemon.py) with dump\u002Ftap\u002Fscroll\u002Ftype\u002Fwait commands AND direct uiautomator2 Python library support. For UC WebView (Alipay Nebula) apps like 12306, prefer uiautomator2 for scrolling and booking action clicks.\n---\n\n# Appium Android Bridge\n\nGeneric Android bridge for any app. Reads screens as structured JSON, executes taps\u002Fscrolling\u002Ftyping. Supports two backends:\n\n| Backend | Best for | Limitations |\n|---------|----------|-------------|\n| **Appium** (bridge_daemon.py) | Native apps, structured dumps, `find`\u002F`wait` | UC WebView virtual list taps fail on collapsed elements |\n| **uiautomator2** (Python lib) | WebView content, scrolling, booking buttons | Conflicts with Appium (same session can't share AccessibilityService) |\n\n## Quick Start\n\n### Option A: bridge_daemon.py (Appium-based)\n\n```bash\n# Once per session (~28s):\nbash ~\u002F.openclaw\u002Fworkspace\u002Fskills\u002Fappium-android-adb\u002Fstart_bridge.sh\n\n# Then all interactions (~1-2s each):\npython3 bridge_daemon.py dump\npython3 bridge_daemon.py tap '{\"text\": \"查询车票\"}'\npython3 bridge_daemon.py scroll '{\"direction\": \"down\"}'\n```\n\n### Option B: uiautomator2 (direct Python)\n\n```bash\npip3 install uiautomator2  # already installed\npython3 -c \"\nimport uiautomator2 as u2\nd = u2.connect()\nd.app_start('com.MobileTicket')\n\"\n```\n\nUse for WebView scroll + booking button clicks. **Cannot run simultaneously with Appium.**\n\n## Commands (bridge_daemon.py)\n\nAll from `~\u002F.openclaw\u002Fworkspace\u002Fskills\u002Fappium-android-adb\u002F`. All return JSON.\n\n### dump — read the screen\n```bash\npython3 bridge_daemon.py dump\n```\nReturns:\n```json\n{\n  \"ok\": true,\n  \"package\": \"com.MobileTicket\",\n  \"activity\": \"com.alipay.mobile.nebulacore.ui.H5Activity\",\n  \"title\": \"上海 \u003C> 苏州\",\n  \"alerts\": [{\"text\": \"温馨提示\"}],\n  \"buttons\": [\n    {\"text\": \"查询车票\", \"id\": \"\", \"bounds\": \"[99,970][981,1102]\", \"x\": 540, \"y\": 1036},\n    {\"text\": \"预订\", \"id\": \"\", \"bounds\": \"[870,1988][1008,2075]\", \"x\": 939, \"y\": 2031}\n  ],\n  \"trains\": [\n    {\"text\": \"G 7 0 0 4次列车...\", \"bounds\": \"[66,1793][291,1919]\", \"clickable\": true, \"x\": 178, \"y\": 1856}\n  ],\n  \"webview_contexts\": [\"NATIVE_APP\"]\n}\n```\n\n### tap — click element by text\n```bash\npython3 bridge_daemon.py tap '{\"text\": \"查询车票\"}'\npython3 bridge_daemon.py tap '{\"text\": \"预订\", \"index\": 0}'\npython3 bridge_daemon.py tap '{\"id\": \"btn_submit\"}'\n```\n\n### tap_bounds — click using bounds from dump\n```bash\npython3 bridge_daemon.py tap_bounds '{\"bounds\": \"[870,1988][1008,2075]\"}'\n```\n⚠️ Only works reliably if the element has **proper bounds** (h > 20px). Collapsed virtual list items (h=6px) will NOT respond.\n\n### tap_coords — click at exact coordinates\n```bash\npython3 bridge_daemon.py tap_coords '{\"x\": 540, \"y\": 1200}'\n```\n\n### find — inspect element matches\n```bash\npython3 bridge_daemon.py find '{\"text\": \"7004\"}'\n```\n\n### scroll — swipe the screen\n```bash\npython3 bridge_daemon.py scroll '{\"direction\": \"down\"}'\npython3 bridge_daemon.py scroll '{\"direction\": \"down\", \"distance\": \"micro\"}'\n```\n⚠️ **May not work on UC WebView** (used by 12306, Alipay apps). The WebView filters touch events. For UC WebView scrolling, use uiautomator2's `d.swipe_ext()` instead.\n\n### screenshot — take phone screenshot\n```bash\npython3 bridge_daemon.py screenshot\n# Returns {\"ok\": true, \"path\": \"\u002Ftmp\u002Fscreen.png\"}\n```\n\n### type — input text\n```bash\npython3 bridge_daemon.py type '{\"text\": \"上海\"}'\n```\n\n### wait — poll until element appears\n```bash\npython3 bridge_daemon.py wait '{\"text\": \"提交订单\", \"timeout\": 30}'\n```\n\n## When to Use Which\n\n| Situation | Recommended Tool |\n|-----------|-----------------|\n| Native Android views (date tabs, search buttons, bottom nav) | Either — both work |\n| App dump \u002F text search \u002F element inspection | bridge_daemon.py `dump` + `find` |\n| UC WebView content (train list, booking pages) | **uiautomator2** |\n| Clicking \"预订\" \u002F \"提交订单\" \u002F action buttons | uiautomator2 `d.text('预订').click()` |\n| Scrolling UC WebView lists | uiautomator2 `d.swipe_ext('up', scale=0.3)` |\n| OCR + coordinate tap | ADB `input tap` (works on visible content) |\n| WebView text content (crashes UIAutomator2) | bridge_daemon.py `dump` (via Appium) |\n\n## ⚠️ UC WebView Virtual List — Critical Knowledge\n\nApps using UC WebView (12306, many Chinese apps) use **virtual lists** that collapse most items' accessibility bounds:\n\n- **Visible items**: Have real bounds (h=60-130px), clickable via accessibility service\n- **Off-screen items**: COLLAPSED to y=407 (top) or y=2255 (bottom), h=6px\n- **Action buttons**: \"预订\" buttons ALWAYS have proper bounds (h=87px) even in virtual lists\n\n### What Works on UC WebView\n1. Clicking action buttons like \"预订\", \"提交订单\", \"查询车票\" — they have persistent proper bounds\n2. Scrolling via `d.swipe_ext()` in uiautomator2\n3. OCR + coordinate-based ADB tap (with good image preprocessing)\n4. Element `click()` via uiautomator2 when the element has h > 20px\n\n### What Does NOT Work on UC WebView\n1. Clicking collapsed text elements (train names, times, seat info) — h=6px bounds\n2. ADB `input tap` on WebView content — silently filtered by UC WebView\n3. `mobile: scrollGesture` via Appium — returns False\n4. W3C Actions swipe — touch events filtered\n5. JS injection (`execute_script`) — no WEBVIEW contexts exposed\n\n## Troubleshooting\n\n**Daemon died**: Run `start_bridge.sh` again.\n**uiautomator2 conflict**: \"AccessibilityService already registered\" means Appium is running. Kill Appium first.\n**Appium session error \u002F ANDROID_HOME**: Ensure `export ANDROID_HOME=\u002Fusr\u002Flib\u002Fandroid-sdk` before starting Appium.\n**G7004 text not found**: Search with spaces: `G 7 0 0 4`, not `G7004`.\n**\"预订\" not found**: The list may not have loaded yet. Wait and re-dump.\n**OCR not reading Chinese**: Use `lang='chi_sim+eng'` with `--psm 6` config.\n","# Appium Android Bridge\n\nGeneric Android bridge for any app. Reads screens as structured JSON, executes taps\u002Fscrolling\u002Ftyping. Supports two backends:\n\n| Backend | Best for | Limitations |\n|---------|----------|-------------|\n| **Appium** (bridge_daemon.py) | Native apps, structured dumps, `find`\u002F`wait` | UC WebView virtual list taps fail on collapsed elements |\n| **uiautomator2** (Python lib) | WebView content, scrolling, booking buttons | Conflicts with Appium (same session can't share AccessibilityService) |\n\n## Quick Start\n\n### Option A: bridge_daemon.py (Appium-based)\n\n```bash\n# Once per session (~28s):\nbash ~\u002F.openclaw\u002Fworkspace\u002Fskills\u002Fappium-android-adb\u002Fstart_bridge.sh\n\n# Then all interactions (~1-2s each):\npython3 bridge_daemon.py dump\npython3 bridge_daemon.py tap '{\"text\": \"查询车票\"}'\npython3 bridge_daemon.py scroll '{\"direction\": \"down\"}'\n```\n\n### Option B: uiautomator2 (direct Python)\n\n```bash\npip3 install uiautomator2  # already installed\npython3 -c \"\nimport uiautomator2 as u2\nd = u2.connect()\nd.app_start('com.MobileTicket')\n\"\n```\n\nUse for WebView scroll + booking button clicks. **Cannot run simultaneously with Appium.**\n\n## Commands (bridge_daemon.py)\n\nAll from `~\u002F.openclaw\u002Fworkspace\u002Fskills\u002Fappium-android-adb\u002F`. All return JSON.\n\n### dump — read the screen\n```bash\npython3 bridge_daemon.py dump\n```\nReturns:\n```json\n{\n  \"ok\": true,\n  \"package\": \"com.MobileTicket\",\n  \"activity\": \"com.alipay.mobile.nebulacore.ui.H5Activity\",\n  \"title\": \"上海 \u003C> 苏州\",\n  \"alerts\": [{\"text\": \"温馨提示\"}],\n  \"buttons\": [\n    {\"text\": \"查询车票\", \"id\": \"\", \"bounds\": \"[99,970][981,1102]\", \"x\": 540, \"y\": 1036},\n    {\"text\": \"预订\", \"id\": \"\", \"bounds\": \"[870,1988][1008,2075]\", \"x\": 939, \"y\": 2031}\n  ],\n  \"trains\": [\n    {\"text\": \"G 7 0 0 4次列车...\", \"bounds\": \"[66,1793][291,1919]\", \"clickable\": true, \"x\": 178, \"y\": 1856}\n  ],\n  \"webview_contexts\": [\"NATIVE_APP\"]\n}\n```\n\n### tap — click element by text\n```bash\npython3 bridge_daemon.py tap '{\"text\": \"查询车票\"}'\npython3 bridge_daemon.py tap '{\"text\": \"预订\", \"index\": 0}'\npython3 bridge_daemon.py tap '{\"id\": \"btn_submit\"}'\n```\n\n### tap_bounds — click using bounds from dump\n```bash\npython3 bridge_daemon.py tap_bounds '{\"bounds\": \"[870,1988][1008,2075]\"}'\n```\n⚠️ Only works reliably if the element has **proper bounds** (h > 20px). Collapsed virtual list items (h=6px) will NOT respond.\n\n### tap_coords — click at exact coordinates\n```bash\npython3 bridge_daemon.py tap_coords '{\"x\": 540, \"y\": 1200}'\n```\n\n### find — inspect element matches\n```bash\npython3 bridge_daemon.py find '{\"text\": \"7004\"}'\n```\n\n### scroll — swipe the screen\n```bash\npython3 bridge_daemon.py scroll '{\"direction\": \"down\"}'\npython3 bridge_daemon.py scroll '{\"direction\": \"down\", \"distance\": \"micro\"}'\n```\n⚠️ **May not work on UC WebView** (used by 12306, Alipay apps). The WebView filters touch events. For UC WebView scrolling, use uiautomator2's `d.swipe_ext()` instead.\n\n### screenshot — take phone screenshot\n```bash\npython3 bridge_daemon.py screenshot\n# Returns {\"ok\": true, \"path\": \"\u002Ftmp\u002Fscreen.png\"}\n```\n\n### type — input text\n```bash\npython3 bridge_daemon.py type '{\"text\": \"上海\"}'\n```\n\n### wait — poll until element appears\n```bash\npython3 bridge_daemon.py wait '{\"text\": \"提交订单\", \"timeout\": 30}'\n```\n\n## When to Use Which\n\n| Situation | Recommended Tool |\n|-----------|-----------------|\n| Native Android views (date tabs, search buttons, bottom nav) | Either — both work |\n| App dump \u002F text search \u002F element inspection | bridge_daemon.py `dump` + `find` |\n| UC WebView content (train list, booking pages) | **uiautomator2** |\n| Clicking \"预订\" \u002F \"提交订单\" \u002F action buttons | uiautomator2 `d.text('预订').click()` |\n| Scrolling UC WebView lists | uiautomator2 `d.swipe_ext('up', scale=0.3)` |\n| OCR + coordinate tap | ADB `input tap` (works on visible content) |\n| WebView text content (crashes UIAutomator2) | bridge_daemon.py `dump` (via Appium) |\n\n## ⚠️ UC WebView Virtual List — Critical Knowledge\n\nApps using UC WebView (12306, many Chinese apps) use **virtual lists** that collapse most items' accessibility bounds:\n\n- **Visible items**: Have real bounds (h=60-130px), clickable via accessibility service\n- **Off-screen items**: COLLAPSED to y=407 (top) or y=2255 (bottom), h=6px\n- **Action buttons**: \"预订\" buttons ALWAYS have proper bounds (h=87px) even in virtual lists\n\n### What Works on UC WebView\n1. Clicking action buttons like \"预订\", \"提交订单\", \"查询车票\" — they have persistent proper bounds\n2. Scrolling via `d.swipe_ext()` in uiautomator2\n3. OCR + coordinate-based ADB tap (with good image preprocessing)\n4. Element `click()` via uiautomator2 when the element has h > 20px\n\n### What Does NOT Work on UC WebView\n1. Clicking collapsed text elements (train names, times, seat info) — h=6px bounds\n2. ADB `input tap` on WebView content — silently filtered by UC WebView\n3. `mobile: scrollGesture` via Appium — returns False\n4. W3C Actions swipe — touch events filtered\n5. JS injection (`execute_script`) — no WEBVIEW contexts exposed\n\n## Troubleshooting\n\n**Daemon died**: Run `start_bridge.sh` again.\n**uiautomator2 conflict**: \"AccessibilityService already registered\" means Appium is running. Kill Appium first.\n**Appium session error \u002F ANDROID_HOME**: Ensure `export ANDROID_HOME=\u002Fusr\u002Flib\u002Fandroid-sdk` before starting Appium.\n**G7004 text not found**: Search with spaces: `G 7 0 0 4`, not `G7004`.\n**\"预订\" not found**: The list may not have loaded yet. Wait and re-dump.\n**OCR not reading Chinese**: Use `lang='chi_sim+eng'` with `--psm 6` config.\n",{"name":5,"description":7},"master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fa\u002Fappium-android-adb",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill appium-android-adb",{"tool":39,"command":40},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill appium-android-adb",{"tool":42,"command":43},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill appium-android-adb","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fa\u002Fappium-android-adb\u002FSKILL.md",true,[],[48,56,63,70,77,84],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":55},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":55},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":55},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":55},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":55},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":55},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]