[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M784N34E1BB4KMWPRREAVSB4":3,"skill-same:01M784N34E1BB4KMWPRREAVSB4":48},{"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":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":30,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M784N34E1BB4KMWPRREAVSB4","agent-rdp",null,"Controls Windows Remote Desktop sessions for automation, testing, and remote administration. Use when the user needs to connect to Windows machines via RDP, take screenshots, click, type, or interact with remote Windows desktops.","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\u002Fskills_sh\u002Fs\u002Fskills-sh_thisnick_agent-rdp_agent-rdp\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: agent-rdp\ndescription: Controls Windows Remote Desktop sessions for automation, testing, and remote administration. Use when the user needs to connect to Windows machines via RDP, take screenshots, click, type, or interact with remote Windows desktops.\nallowed-tools: Bash(agent-rdp:*)\n---\n\n# Windows Remote Desktop Control with agent-rdp\n\n## Quick start\n\n```bash\nagent-rdp connect --host \u003Cip> -u \u003Cuser> -p \u003Cpass> --enable-win-automation\nagent-rdp automate snapshot -i              # See interactive elements\nagent-rdp automate click \"@e5\"              # Click button by ref\nagent-rdp automate fill \"@e7\" \"Hello\"       # Type into field\nagent-rdp disconnect\n```\n\n## Core workflow\n\n1. Connect with automation: `agent-rdp connect --host \u003Cip> -u \u003Cuser> -p \u003Cpass> --enable-win-automation`\n2. Snapshot: `agent-rdp automate snapshot -i` (get accessibility tree with refs)\n3. Act: `agent-rdp automate click @e5` or `agent-rdp automate fill @e7 \"text\"`\n4. Repeat: snapshot → act → snapshot → act...\n\n## Troubleshooting\n\n### Element not in snapshot with `-i`\n\nTry without `-i` flag - some elements aren't marked as interactive but are still actionable:\n```bash\nagent-rdp automate snapshot              # Full tree, no filtering\nagent-rdp automate snapshot -d 5         # Limit depth if too large\n```\n\n### Element not in accessibility tree at all\n\nSome UI elements (WebView content, certain dialogs, toast notifications) don't appear in the accessibility tree. Use OCR as a last resort:\n\n1. Take screenshot to identify what you need: `agent-rdp screenshot -o screen.png`\n2. Use locate to find coordinates: `agent-rdp locate \"Button Text\"`\n3. Click using returned coordinates: `agent-rdp mouse click \u003Cx> \u003Cy>`\n\n## Commands\n\n### Connection\n```bash\nagent-rdp connect --host 192.168.1.100 -u Admin -p secret\nagent-rdp connect --host 192.168.1.100 -u Admin --password-stdin  # Read password from stdin\nagent-rdp connect --host 192.168.1.100 --width 1920 --height 1080\nagent-rdp connect --host 192.168.1.100 --drive \u002Ftmp\u002Fshare:Share   # Map local directory\nagent-rdp disconnect\n```\n\n### Screenshot\n```bash\nagent-rdp screenshot                      # Save to .\u002Fscreenshot.png\nagent-rdp screenshot -o desktop.png       # Save to specific file\nagent-rdp screenshot --format jpeg        # JPEG format\n```\n\n### Mouse\n```bash\nagent-rdp mouse click 500 300             # Left click at (500, 300)\nagent-rdp mouse right-click 500 300       # Right click\nagent-rdp mouse double-click 500 300      # Double click\nagent-rdp mouse move 100 200              # Move cursor\nagent-rdp mouse drag 100 100 500 500      # Drag from (100,100) to (500,500)\n```\n\n### Keyboard\n```bash\nagent-rdp keyboard type \"Hello World\"     # Type text (supports Unicode)\nagent-rdp keyboard press \"ctrl+c\"         # Key combination\nagent-rdp keyboard press \"alt+tab\"        # Switch windows\nagent-rdp keyboard press \"ctrl+shift+esc\" # Task manager\nagent-rdp keyboard press \"win+r\"          # Run dialog\nagent-rdp keyboard press enter            # Single key (use press, not key)\nagent-rdp keyboard press escape\nagent-rdp keyboard press f5\n```\n\n### Scroll\n```bash\nagent-rdp scroll up --amount 3            # Scroll up 3 notches\nagent-rdp scroll down --amount 5          # Scroll down 5 notches\nagent-rdp scroll left\nagent-rdp scroll right\n```\n\n### Clipboard\n```bash\nagent-rdp clipboard set \"Text to paste\"   # Set clipboard (paste on Windows)\nagent-rdp clipboard get                   # Get clipboard (after copy on Windows)\n```\n\n### Drive mapping\n```bash\n# Map at connect time\nagent-rdp connect --host \u003Cip> -u \u003Cuser> -p \u003Cpass> --drive \u002Flocal\u002Fpath:DriveName\n\n# List mapped drives\nagent-rdp drive list\n```\n\n### Session management\n```bash\nagent-rdp session list                    # List active sessions\nagent-rdp session info                    # Current session info\nagent-rdp --session work connect ...      # Named session\nagent-rdp --session work screenshot       # Use named session\n```\n\n### Wait\n```bash\nagent-rdp wait 2000                       # Wait 2 seconds\n```\n\n### Locate (OCR)\n```bash\nagent-rdp locate \"Cancel\"                 # Find lines containing \"Cancel\"\nagent-rdp locate \"Save*\" --pattern        # Glob pattern matching\nagent-rdp locate --all                    # Get all text on screen\nagent-rdp locate \"OK\" --json              # JSON output with coordinates\n```\n\nReturns text lines with bounding boxes and center coordinates for clicking:\n```\nFound 1 line(s) containing 'Cancel':\n  'Cancel' at (650, 420) size 45x14 - center: (672, 427)\n\nTo click the first match: agent-rdp mouse click 672 427\n```\n\n### UI Automation\n```bash\n# Connect with automation enabled\nagent-rdp connect --host 192.168.1.100 -u Admin -p secret --enable-win-automation\n\n# Snapshot - get accessibility tree (refs always included)\nagent-rdp automate snapshot                # Full desktop tree\nagent-rdp automate snapshot -i             # Interactive elements only\nagent-rdp automate snapshot -c             # Compact (remove empty elements)\nagent-rdp automate snapshot -d 5           # Limit depth to 5 levels\nagent-rdp automate snapshot -s \"~*Notepad*\"# Scope to a window\u002Felement\nagent-rdp automate snapshot -f             # Start from focused element\nagent-rdp automate snapshot -i -c -d 3     # Combine options\n\n# Pattern-based element operations (use selectors: @eN, #automationId, .className, or name)\nagent-rdp automate click \"#SaveButton\"    # Click button\nagent-rdp automate click \"@e5\"            # Click by ref number\nagent-rdp automate click \"@e5\" -d         # Double-click (for file list items)\nagent-rdp automate select \"@e10\"          # Select item (SelectionItemPattern)\nagent-rdp automate select \"@e5\" --item \"Option 1\"  # Select item by name in container\nagent-rdp automate toggle \"@e7\"           # Toggle checkbox (TogglePattern)\nagent-rdp automate toggle \"@e7\" --state on  # Set specific state\nagent-rdp automate expand \"@e3\"           # Expand menu\u002Ftree (ExpandCollapsePattern)\nagent-rdp automate collapse \"@e3\"         # Collapse menu\u002Ftree\nagent-rdp automate context-menu \"@e5\"     # Open context menu (Shift+F10)\nagent-rdp automate focus \u003Cselector>       # Focus element\nagent-rdp automate get \u003Cselector>         # Get element properties\n\n# Text input\nagent-rdp automate fill \u003Cselector> \"text\" # Clear and fill text (ValuePattern)\nagent-rdp automate clear \u003Cselector>       # Just clear\n\n# Scrolling\nagent-rdp automate scroll \u003Cselector> --direction down --amount 3\n\n# Window operations\nagent-rdp automate window list\nagent-rdp automate window focus \"~*Notepad*\"\nagent-rdp automate window maximize\nagent-rdp automate window minimize\nagent-rdp automate window restore\nagent-rdp automate window close \"~*Notepad*\"\n\n# Run commands\u002Fapps (best way to open apps)\nagent-rdp automate run \"notepad.exe\"                                        # Open Notepad\nagent-rdp automate run \"Start-Process ms-settings:\" --wait                  # Open Settings\nagent-rdp automate run \"calc.exe\"                                           # Open Calculator\nagent-rdp automate run \"Get-Process\" --wait --process-timeout 5000          # With 5s timeout\n\n# Wait for element\nagent-rdp automate wait-for \u003Cselector> --timeout 5000\nagent-rdp automate wait-for \u003Cselector> --state visible\n\n# Status\nagent-rdp automate status\n```\n\n**Selector syntax:**\n- `@e5` or `@5` - Reference number from snapshot (e prefix recommended)\n- `#SaveButton` - Automation ID\n- `.Edit` - Win32 class name\n- `~*pattern*` - Name with wildcard\n- `File` - Element name (exact match)\n\n**Snapshot output format:**\n```\n- Window \"Notepad\" [ref=e1, id=Notepad]\n  - MenuBar \"Application\" [ref=e2]\n    - MenuItem \"File\" [ref=e3]\n  - Edit \"Text Editor\" [ref=e5, value=\"Hello\"]\n```\n\n## JSON output\n\nAdd `--json` for machine-readable output:\n```bash\nagent-rdp --json clipboard get\nagent-rdp --json session info\nagent-rdp --json automate snapshot\n```\n\n## Example: Open PowerShell and run command\n\n```bash\nagent-rdp connect --host 192.168.1.100 -u Admin -p secret\nagent-rdp wait 3000                       # Wait for desktop\nagent-rdp keyboard press \"win+r\"          # Open Run dialog\nagent-rdp wait 1000\nagent-rdp keyboard type \"powershell\"\nagent-rdp keyboard press enter\nagent-rdp wait 2000                       # Wait for PowerShell\nagent-rdp keyboard type \"Get-Process\"\nagent-rdp keyboard press enter\nagent-rdp screenshot --output result.png\nagent-rdp disconnect\n```\n\n## Example: File transfer via mapped drive\n\n```bash\n# Connect with local directory mapped\nagent-rdp connect --host 192.168.1.100 -u Admin -p secret --drive \u002Ftmp\u002Ftransfer:Transfer\n\n# On Windows, access files at \\\\tsclient\\Transfer\nagent-rdp keyboard press \"win+r\"\nagent-rdp wait 500\nagent-rdp keyboard type \"\\\\\\\\tsclient\\\\Transfer\"\nagent-rdp keyboard press enter\n```\n\n## Example: Automate Notepad with UI Automation\n\n```bash\n# Connect with automation enabled\nagent-rdp connect --host 192.168.1.100 -u Admin -p secret --enable-win-automation\n\n# Open Notepad\nagent-rdp automate run \"notepad.exe\"\nagent-rdp wait 2000\n\n# Get accessibility snapshot (refs are always included)\nagent-rdp automate snapshot -i            # Interactive elements only\n\n# Type text into the edit control (use ref from snapshot)\nagent-rdp automate fill \"@e5\" \"Hello from automation!\"\n\n# Use File menu to save - expand menu, then invoke menu item\nagent-rdp automate expand \"File\"          # Expand menu (ExpandCollapsePattern)\nagent-rdp wait 500\nagent-rdp automate click \"Save As...\"     # Click menu item\n\n# Wait for Save dialog\nagent-rdp automate wait-for \"#FileNameControlHost\" --timeout 5000\n\n# Fill filename and save\nagent-rdp automate fill \"#FileNameControlHost\" \"test.txt\"\nagent-rdp automate click \"#1\"             # Click Save button\n```\n\n## Environment variables\n\n```bash\nexport AGENT_RDP_HOST=192.168.1.100\nexport AGENT_RDP_PORT=3389\nexport AGENT_RDP_USERNAME=Administrator\nexport AGENT_RDP_PASSWORD=secret\nexport AGENT_RDP_SESSION=default\nagent-rdp connect    # Uses env vars for connection\n```\n\n## Debugging with WebSocket streaming\n\n```bash\n# Enable streaming viewer on port 9224\nagent-rdp --stream-port 9224 connect --host 192.168.1.100 -u Admin -p secret\n\n# Open web viewer in browser\nagent-rdp view --port 9224\n\n# Or manually access WebSocket at ws:\u002F\u002Flocalhost:9224 (broadcasts JPEG frames)\n```\n\n## Tips\n\n**Prefer `automate fill` over `keyboard type`** when automation is enabled—it's lossless (no dropped characters) and faster.\n\n### Opening applications\n\nUse `automate run` to launch apps directly:\n```bash\nagent-rdp automate run \"notepad.exe\"\nagent-rdp automate run \"calc.exe\"\nagent-rdp automate run \"Start-Process ms-settings:\" --wait   # Settings\nagent-rdp automate run \"explorer.exe C:\\\\\"                   # File Explorer\n```\n\n## Limitations\n\n**IMPORTANT: Read these limitations carefully before attempting automation tasks.**\n\n### UI Automation cannot access WebViews\n- The Windows Start menu search, Edge browser content, Electron app content, and other WebView-based UIs are NOT accessible via `automate snapshot`.\n- **Workaround**: Use `Win+R` (Run dialog) or `automate run` to launch programs directly instead of navigating through the Start menu.\n\n### UI Automation cannot handle UAC dialogs\n- User Account Control elevation prompts run on a secure desktop isolated from UI Automation.\n- UAC dialogs will NOT appear in `automate snapshot` output.\n- **Workaround**: Use `locate` command (OCR) to find button text and `mouse click` to interact. This is unreliable but may work for simple Yes\u002FNo dialogs.\n\n### OCR (`locate`) is not highly reliable\n- The `locate` command uses OCR which can misread characters, miss text entirely, or return imprecise coordinates.\n- Use it as a last resort when UI Automation cannot access elements.\n- Always verify coordinates before clicking critical buttons.\n\n### DO NOT estimate coordinates from screenshots (Claude only)\n- **Claude models in non-computer-use mode (like Claude Code) are very bad at pixel counting.**\n- Do NOT look at a screenshot and try to guess coordinates - the estimates will likely be wrong.\n- **Note**: Gemini models are generally good at pixel coordinate estimation.\n- If you need vision-based coordinate detection with Claude, the user must implement a harness using Claude's [Computer Use Tool](https:\u002F\u002Fdocs.anthropic.com\u002Fen\u002Fdocs\u002Fagents-and-tools\u002Fcomputer-use).\n\n### Recommended workflow when UI Automation fails\n1. First, always try `automate snapshot` (with and without `-i` flag)\n2. If element not found, try `locate \"text\"` to find via OCR\n3. Use coordinates from `locate` output with `mouse click`\n4. **Never** estimate coordinates by looking at screenshots\n","# Windows Remote Desktop Control with agent-rdp\n\n## Quick start\n\n```bash\nagent-rdp connect --host \u003Cip> -u \u003Cuser> -p \u003Cpass> --enable-win-automation\nagent-rdp automate snapshot -i              # See interactive elements\nagent-rdp automate click \"@e5\"              # Click button by ref\nagent-rdp automate fill \"@e7\" \"Hello\"       # Type into field\nagent-rdp disconnect\n```\n\n## Core workflow\n\n1. Connect with automation: `agent-rdp connect --host \u003Cip> -u \u003Cuser> -p \u003Cpass> --enable-win-automation`\n2. Snapshot: `agent-rdp automate snapshot -i` (get accessibility tree with refs)\n3. Act: `agent-rdp automate click @e5` or `agent-rdp automate fill @e7 \"text\"`\n4. Repeat: snapshot → act → snapshot → act...\n\n## Troubleshooting\n\n### Element not in snapshot with `-i`\n\nTry without `-i` flag - some elements aren't marked as interactive but are still actionable:\n```bash\nagent-rdp automate snapshot              # Full tree, no filtering\nagent-rdp automate snapshot -d 5         # Limit depth if too large\n```\n\n### Element not in accessibility tree at all\n\nSome UI elements (WebView content, certain dialogs, toast notifications) don't appear in the accessibility tree. Use OCR as a last resort:\n\n1. Take screenshot to identify what you need: `agent-rdp screenshot -o screen.png`\n2. Use locate to find coordinates: `agent-rdp locate \"Button Text\"`\n3. Click using returned coordinates: `agent-rdp mouse click \u003Cx> \u003Cy>`\n\n## Commands\n\n### Connection\n```bash\nagent-rdp connect --host 192.168.1.100 -u Admin -p secret\nagent-rdp connect --host 192.168.1.100 -u Admin --password-stdin  # Read password from stdin\nagent-rdp connect --host 192.168.1.100 --width 1920 --height 1080\nagent-rdp connect --host 192.168.1.100 --drive \u002Ftmp\u002Fshare:Share   # Map local directory\nagent-rdp disconnect\n```\n\n### Screenshot\n```bash\nagent-rdp screenshot                      # Save to .\u002Fscreenshot.png\nagent-rdp screenshot -o desktop.png       # Save to specific file\nagent-rdp screenshot --format jpeg        # JPEG format\n```\n\n### Mouse\n```bash\nagent-rdp mouse click 500 300             # Left click at (500, 300)\nagent-rdp mouse right-click 500 300       # Right click\nagent-rdp mouse double-click 500 300      # Double click\nagent-rdp mouse move 100 200              # Move cursor\nagent-rdp mouse drag 100 100 500 500      # Drag from (100,100) to (500,500)\n```\n\n### Keyboard\n```bash\nagent-rdp keyboard type \"Hello World\"     # Type text (supports Unicode)\nagent-rdp keyboard press \"ctrl+c\"         # Key combination\nagent-rdp keyboard press \"alt+tab\"        # Switch windows\nagent-rdp keyboard press \"ctrl+shift+esc\" # Task manager\nagent-rdp keyboard press \"win+r\"          # Run dialog\nagent-rdp keyboard press enter            # Single key (use press, not key)\nagent-rdp keyboard press escape\nagent-rdp keyboard press f5\n```\n\n### Scroll\n```bash\nagent-rdp scroll up --amount 3            # Scroll up 3 notches\nagent-rdp scroll down --amount 5          # Scroll down 5 notches\nagent-rdp scroll left\nagent-rdp scroll right\n```\n\n### Clipboard\n```bash\nagent-rdp clipboard set \"Text to paste\"   # Set clipboard (paste on Windows)\nagent-rdp clipboard get                   # Get clipboard (after copy on Windows)\n```\n\n### Drive mapping\n```bash\n# Map at connect time\nagent-rdp connect --host \u003Cip> -u \u003Cuser> -p \u003Cpass> --drive \u002Flocal\u002Fpath:DriveName\n\n# List mapped drives\nagent-rdp drive list\n```\n\n### Session management\n```bash\nagent-rdp session list                    # List active sessions\nagent-rdp session info                    # Current session info\nagent-rdp --session work connect ...      # Named session\nagent-rdp --session work screenshot       # Use named session\n```\n\n### Wait\n```bash\nagent-rdp wait 2000                       # Wait 2 seconds\n```\n\n### Locate (OCR)\n```bash\nagent-rdp locate \"Cancel\"                 # Find lines containing \"Cancel\"\nagent-rdp locate \"Save*\" --pattern        # Glob pattern matching\nagent-rdp locate --all                    # Get all text on screen\nagent-rdp locate \"OK\" --json              # JSON output with coordinates\n```\n\nReturns text lines with bounding boxes and center coordinates for clicking:\n```\nFound 1 line(s) containing 'Cancel':\n  'Cancel' at (650, 420) size 45x14 - center: (672, 427)\n\nTo click the first match: agent-rdp mouse click 672 427\n```\n\n### UI Automation\n```bash\n# Connect with automation enabled\nagent-rdp connect --host 192.168.1.100 -u Admin -p secret --enable-win-automation\n\n# Snapshot - get accessibility tree (refs always included)\nagent-rdp automate snapshot                # Full desktop tree\nagent-rdp automate snapshot -i             # Interactive elements only\nagent-rdp automate snapshot -c             # Compact (remove empty elements)\nagent-rdp automate snapshot -d 5           # Limit depth to 5 levels\nagent-rdp automate snapshot -s \"~*Notepad*\"# Scope to a window\u002Felement\nagent-rdp automate snapshot -f             # Start from focused element\nagent-rdp automate snapshot -i -c -d 3     # Combine options\n\n# Pattern-based element operations (use selectors: @eN, #automationId, .className, or name)\nagent-rdp automate click \"#SaveButton\"    # Click button\nagent-rdp automate click \"@e5\"            # Click by ref number\nagent-rdp automate click \"@e5\" -d         # Double-click (for file list items)\nagent-rdp automate select \"@e10\"          # Select item (SelectionItemPattern)\nagent-rdp automate select \"@e5\" --item \"Option 1\"  # Select item by name in container\nagent-rdp automate toggle \"@e7\"           # Toggle checkbox (TogglePattern)\nagent-rdp automate toggle \"@e7\" --state on  # Set specific state\nagent-rdp automate expand \"@e3\"           # Expand menu\u002Ftree (ExpandCollapsePattern)\nagent-rdp automate collapse \"@e3\"         # Collapse menu\u002Ftree\nagent-rdp automate context-menu \"@e5\"     # Open context menu (Shift+F10)\nagent-rdp automate focus \u003Cselector>       # Focus element\nagent-rdp automate get \u003Cselector>         # Get element properties\n\n# Text input\nagent-rdp automate fill \u003Cselector> \"text\" # Clear and fill text (ValuePattern)\nagent-rdp automate clear \u003Cselector>       # Just clear\n\n# Scrolling\nagent-rdp automate scroll \u003Cselector> --direction down --amount 3\n\n# Window operations\nagent-rdp automate window list\nagent-rdp automate window focus \"~*Notepad*\"\nagent-rdp automate window maximize\nagent-rdp automate window minimize\nagent-rdp automate window restore\nagent-rdp automate window close \"~*Notepad*\"\n\n# Run commands\u002Fapps (best way to open apps)\nagent-rdp automate run \"notepad.exe\"                                        # Open Notepad\nagent-rdp automate run \"Start-Process ms-settings:\" --wait                  # Open Settings\nagent-rdp automate run \"calc.exe\"                                           # Open Calculator\nagent-rdp automate run \"Get-Process\" --wait --process-timeout 5000          # With 5s timeout\n\n# Wait for element\nagent-rdp automate wait-for \u003Cselector> --timeout 5000\nagent-rdp automate wait-for \u003Cselector> --state visible\n\n# Status\nagent-rdp automate status\n```\n\n**Selector syntax:**\n- `@e5` or `@5` - Reference number from snapshot (e prefix recommended)\n- `#SaveButton` - Automation ID\n- `.Edit` - Win32 class name\n- `~*pattern*` - Name with wildcard\n- `File` - Element name (exact match)\n\n**Snapshot output format:**\n```\n- Window \"Notepad\" [ref=e1, id=Notepad]\n  - MenuBar \"Application\" [ref=e2]\n    - MenuItem \"File\" [ref=e3]\n  - Edit \"Text Editor\" [ref=e5, value=\"Hello\"]\n```\n\n## JSON output\n\nAdd `--json` for machine-readable output:\n```bash\nagent-rdp --json clipboard get\nagent-rdp --json session info\nagent-rdp --json automate snapshot\n```\n\n## Example: Open PowerShell and run command\n\n```bash\nagent-rdp connect --host 192.168.1.100 -u Admin -p secret\nagent-rdp wait 3000                       # Wait for desktop\nagent-rdp keyboard press \"win+r\"          # Open Run dialog\nagent-rdp wait 1000\nagent-rdp keyboard type \"powershell\"\nagent-rdp keyboard press enter\nagent-rdp wait 2000                       # Wait for PowerShell\nagent-rdp keyboard type \"Get-Process\"\nagent-rdp keyboard press enter\nagent-rdp screenshot --output result.png\nagent-rdp disconnect\n```\n\n## Example: File transfer via mapped drive\n\n```bash\n# Connect with local directory mapped\nagent-rdp connect --host 192.168.1.100 -u Admin -p secret --drive \u002Ftmp\u002Ftransfer:Transfer\n\n# On Windows, access files at \\\\tsclient\\Transfer\nagent-rdp keyboard press \"win+r\"\nagent-rdp wait 500\nagent-rdp keyboard type \"\\\\\\\\tsclient\\\\Transfer\"\nagent-rdp keyboard press enter\n```\n\n## Example: Automate Notepad with UI Automation\n\n```bash\n# Connect with automation enabled\nagent-rdp connect --host 192.168.1.100 -u Admin -p secret --enable-win-automation\n\n# Open Notepad\nagent-rdp automate run \"notepad.exe\"\nagent-rdp wait 2000\n\n# Get accessibility snapshot (refs are always included)\nagent-rdp automate snapshot -i            # Interactive elements only\n\n# Type text into the edit control (use ref from snapshot)\nagent-rdp automate fill \"@e5\" \"Hello from automation!\"\n\n# Use File menu to save - expand menu, then invoke menu item\nagent-rdp automate expand \"File\"          # Expand menu (ExpandCollapsePattern)\nagent-rdp wait 500\nagent-rdp automate click \"Save As...\"     # Click menu item\n\n# Wait for Save dialog\nagent-rdp automate wait-for \"#FileNameControlHost\" --timeout 5000\n\n# Fill filename and save\nagent-rdp automate fill \"#FileNameControlHost\" \"test.txt\"\nagent-rdp automate click \"#1\"             # Click Save button\n```\n\n## Environment variables\n\n```bash\nexport AGENT_RDP_HOST=192.168.1.100\nexport AGENT_RDP_PORT=3389\nexport AGENT_RDP_USERNAME=Administrator\nexport AGENT_RDP_PASSWORD=secret\nexport AGENT_RDP_SESSION=default\nagent-rdp connect    # Uses env vars for connection\n```\n\n## Debugging with WebSocket streaming\n\n```bash\n# Enable streaming viewer on port 9224\nagent-rdp --stream-port 9224 connect --host 192.168.1.100 -u Admin -p secret\n\n# Open web viewer in browser\nagent-rdp view --port 9224\n\n# Or manually access WebSocket at ws:\u002F\u002Flocalhost:9224 (broadcasts JPEG frames)\n```\n\n## Tips\n\n**Prefer `automate fill` over `keyboard type`** when automation is enabled—it's lossless (no dropped characters) and faster.\n\n### Opening applications\n\nUse `automate run` to launch apps directly:\n```bash\nagent-rdp automate run \"notepad.exe\"\nagent-rdp automate run \"calc.exe\"\nagent-rdp automate run \"Start-Process ms-settings:\" --wait   # Settings\nagent-rdp automate run \"explorer.exe C:\\\\\"                   # File Explorer\n```\n\n## Limitations\n\n**IMPORTANT: Read these limitations carefully before attempting automation tasks.**\n\n### UI Automation cannot access WebViews\n- The Windows Start menu search, Edge browser content, Electron app content, and other WebView-based UIs are NOT accessible via `automate snapshot`.\n- **Workaround**: Use `Win+R` (Run dialog) or `automate run` to launch programs directly instead of navigating through the Start menu.\n\n### UI Automation cannot handle UAC dialogs\n- User Account Control elevation prompts run on a secure desktop isolated from UI Automation.\n- UAC dialogs will NOT appear in `automate snapshot` output.\n- **Workaround**: Use `locate` command (OCR) to find button text and `mouse click` to interact. This is unreliable but may work for simple Yes\u002FNo dialogs.\n\n### OCR (`locate`) is not highly reliable\n- The `locate` command uses OCR which can misread characters, miss text entirely, or return imprecise coordinates.\n- Use it as a last resort when UI Automation cannot access elements.\n- Always verify coordinates before clicking critical buttons.\n\n### DO NOT estimate coordinates from screenshots (Claude only)\n- **Claude models in non-computer-use mode (like Claude Code) are very bad at pixel counting.**\n- Do NOT look at a screenshot and try to guess coordinates - the estimates will likely be wrong.\n- **Note**: Gemini models are generally good at pixel coordinate estimation.\n- If you need vision-based coordinate detection with Claude, the user must implement a harness using Claude's [Computer Use Tool](https:\u002F\u002Fdocs.anthropic.com\u002Fen\u002Fdocs\u002Fagents-and-tools\u002Fcomputer-use).\n\n### Recommended workflow when UI Automation fails\n1. First, always try `automate snapshot` (with and without `-i` flag)\n2. If element not found, try `locate \"text\"` to find via OCR\n3. Use coordinates from `locate` output with `mouse click`\n4. **Never** estimate coordinates by looking at screenshots\n",{"name":5,"description":7,"allowed-tools":24},"Bash(agent-rdp:*)","master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fskills_sh\u002Fs\u002Fskills-sh_thisnick_agent-rdp_agent-rdp",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":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill agent-rdp",{"tool":40,"command":41},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill agent-rdp",{"tool":43,"command":44},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill agent-rdp","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fskills_sh\u002Fs\u002Fskills-sh_thisnick_agent-rdp_agent-rdp\u002FSKILL.md",true,[],[49,56,63,70,77,84],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"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":19},"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":19},"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":19},"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":19},"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":19},"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",[],[]]