[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77YD1DTYP4GBH9A9TF64Q0S":3,"skill-same:01M77YD1DTYP4GBH9A9TF64Q0S":45},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":27,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M77YD1DTYP4GBH9A9TF64Q0S","wincontrol",null,"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\u002Fw\u002Fwincontrol\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"# WinControl Skill\n\nAI remote control for Windows desktop. Captures screen on-demand via POST request and provides an HTTP API for mouse\u002Fkeyboard actions.\n\n## What It Does\n\n- **On-Demand Capture**: POST to `\u002Fcapture` to save screenshot, returns file path\n- **Action API**: Control mouse and keyboard via HTTP endpoints on port 8767\n- **Auto-Cleanup**: Deletes screenshot on server shutdown (Ctrl+C)\n- **Cross-Platform**: Works on native Windows or WSL\n- **Self-Contained**: Single `screenshot.jpg` saved in skill folder, overwritten each time, auto-deleted on exit\n\n## Quick Start\n\n### Option 1: Native Windows (Recommended)\n\nRun directly on Windows without WSL:\n\n```powershell\n# Install dependencies (one-time)\npip install pywin32 pillow mss\n\n# Start the server\ncd %USERPROFILE%\\.openclaw\\workspace\\skills\\wincontrol\npython server.py\n```\n\nOr use the provided batch file:\n```powershell\n.\\start.bat\n```\n\nScreenshots are saved as `screenshot.jpg` in the skill directory and auto-deleted when the server stops.\n\n### Option 2: WSL Integration\n\nIf you prefer WSL, the server runs on Windows Python but can be controlled from WSL:\n\n```bash\n# From WSL\ncd ~\u002F.openclaw\u002Fworkspace\u002Fskills\u002Fwincontrol\n.\u002Fstart.sh\n```\n\nOr start manually with PowerShell 7:\n```bash\n'\u002Fmnt\u002Fc\u002FProgram Files\u002FPowerShell\u002F7\u002Fpwsh.exe' -Command \\\n  \"python \u002F\u002Fwsl.localhost\u002FUbuntu\u002Fhome\u002F\\$USER\u002F.openclaw\u002Fworkspace\u002Fskills\u002Fwincontrol\u002Fserver.py\" &\n```\n\n## Verify Installation\n\n```bash\n# Health check\ncurl http:\u002F\u002Flocalhost:8767\u002Fping\n# Output: {\"ok\": true}\n\n# Capture a screenshot\ncurl -X POST http:\u002F\u002Flocalhost:8767\u002Fcapture\n# Output: {\"ok\": true, \"path\": \"...\u002Fscreenshot.jpg\"}\n```\n\n**Native Windows**: Open `screenshot.jpg` in the skill directory\n\n**WSL**: Access via the skill folder path\n\n## File Structure\n\n```\nskills\u002Fwincontrol\u002F\n├── SKILL.md            # This file\n├── server.py           # Main server (runs on Windows)\n├── start.bat           # Start script (Native Windows)\n├── start.sh            # Start script (WSL)\n├── stop.sh             # Stop script (WSL)\n└── screenshot.jpg      # Latest screenshot (auto-created, auto-cleaned)\n```\n\n## API Reference\n\n### Capture Screen\n```bash\ncurl -X POST http:\u002F\u002Flocalhost:8767\u002Fcapture\n```\nReturns: `{\"ok\": true, \"path\": \"...\u002Fscreenshot.jpg\", \"quality\": 90}`\n\nEach capture overwrites `screenshot.jpg` in the skill directory. The file is automatically deleted when the server stops.\n\n**Optional quality override:**\n```bash\n# Lower quality for faster capture\u002Fsmaller file\ncurl -X POST http:\u002F\u002Flocalhost:8767\u002Fcapture -H \"Content-Type: application\u002Fjson\" -d '{\"quality\": 60}'\n\n# Higher quality for detailed screenshots\ncurl -X POST http:\u002F\u002Flocalhost:8767\u002Fcapture -d '{\"quality\": 95}'\n```\n\n| Quality | File Size (1080p) | Use Case |\n|---------|-------------------|----------|\n| 60 | ~80KB | Fast capture, quick checks |\n| 90 (default) | ~150KB | Clear UI text, general use |\n| 95 | ~200KB | Maximum detail, presentations |\n\n### Mouse Actions\n```bash\n# Move cursor (no click)\ncurl -X POST http:\u002F\u002Flocalhost:8767\u002Fmove -d '{\"x\": 500, \"y\": 300}'\n\n# Click\ncurl -X POST http:\u002F\u002Flocalhost:8767\u002Fclick -d '{\"x\": 500, \"y\": 300}'\n\n# Drag\ncurl -X POST http:\u002F\u002Flocalhost:8767\u002Fdrag -d '{\"x1\": 100, \"y1\": 200, \"x2\": 300, \"y2\": 400}'\n\n# Scroll\ncurl -X POST http:\u002F\u002Flocalhost:8767\u002Fscroll -d '{\"x\": 500, \"y\": 300, \"direction\": \"down\", \"amount\": 3}'\n```\n\n### Keyboard Input\n```bash\n# Type text\ncurl -X POST http:\u002F\u002Flocalhost:8767\u002Fenter -d '{\"keys\": [\"Hello World\"]}'\n\n# Press special key\ncurl -X POST http:\u002F\u002Flocalhost:8767\u002Fenter -d '{\"keys\": [\"Enter\"]}'\n\n# Key combination (Ctrl+C)\ncurl -X POST http:\u002F\u002Flocalhost:8767\u002Fenter -d '{\"keys\": [\"Ctrl\", \"C\"]}'\n\n# Mixed sequence: type, press key, then combo\ncurl -X POST http:\u002F\u002Flocalhost:8767\u002Fenter -d '{\"keys\": [\"Hello\", \"Enter\", \"Ctrl\", \"A\"]}'\n```\n\nThe `\u002Fenter` endpoint accepts a list of keys and handles them sequentially:\n- **Text strings** → Typed as-is\n- **Special keys** → Pressed once (Enter, Escape, Tab, etc.)\n- **Modifier + key** → Treated as combination (Ctrl+C, Alt+Tab, etc.)\n\n### Special Keys Reference\n\nSingle keys:\n- `Enter`, `Return`, `Escape`, `Esc`\n- `Backspace`, `Tab`, `Space`\n- `Delete`, `Del`\n- `Up`, `Down`, `Left`, `Right`\n- `Home`, `End`, `PageUp`, `PageDown`\n- `F1` through `F12`\n\nModifiers (combine with other keys):\n- `Ctrl`, `Control`\n- `Alt`\n- `Shift`\n- `Win`, `Windows`\n\n## Common Workflows\n\n### Capture and View (Native Windows)\n\n```powershell\n# Using PowerShell\n$response = Invoke-RestMethod -Uri \"http:\u002F\u002Flocalhost:8767\u002Fcapture\" -Method Post\nStart-Process $response.path\n```\n\n### Capture and View (WSL)\n\n```bash\nFILE=$(curl -s -X POST http:\u002F\u002Flocalhost:8767\u002Fcapture | python3 -c \"import sys,json; print(json.load(sys.stdin)['path'])\")\nread \"$FILE\"\n```\n\n### Click and Verify\n```bash\n# Click somewhere\ncurl -X POST http:\u002F\u002Flocalhost:8767\u002Fclick -d '{\"x\": 500, \"y\": 300}'\nsleep 0.5\n\n# Capture to see result\ncurl -X POST http:\u002F\u002Flocalhost:8767\u002Fcapture\n```\n\n### Open Notepad and Type\n```bash\n# Win+R to open Run\ncurl -X POST http:\u002F\u002Flocalhost:8767\u002Fenter -d '{\"keys\": [\"Win\", \"R\"]}'\nsleep 0.5\n\n# Type notepad and press Enter\ncurl -X POST http:\u002F\u002Flocalhost:8767\u002Fenter -d '{\"keys\": [\"notepad\", \"Enter\"]}'\nsleep 1\n\n# Type message\ncurl -X POST http:\u002F\u002Flocalhost:8767\u002Fenter -d '{\"keys\": [\"Hello from WinControl!\"]}'\n```\n\n## Installation\n\n### Native Windows\n\n1. **Install Python 3** from [python.org](https:\u002F\u002Fpython.org)\n2. **Install dependencies**:\n   ```powershell\n   pip install pywin32 pillow mss\n   ```\n3. **Clone\u002Fdownload** the skill to `~\u002F.openclaw\u002Fworkspace\u002Fskills\u002Fwincontrol\u002F`\n4. **Start the server**:\n   ```powershell\n   python server.py\n   ```\n\n### WSL2 (Legacy)\n\nSee WSL2 Configuration section below.\n\n## Frame Management\n\n- **Capture**: On-demand via `POST \u002Fcapture`\n- **Quality**: 90% JPEG for clear text\u002FUI\n- **File**: `screenshot.jpg` in skill directory\n- **Behavior**: Overwritten on each capture\n- **Auto-cleanup**: Deleted when server stops (Ctrl+C)\n\nTo change quality, edit `server.py`:\n```python\nQUALITY = 90      # 1-100\n```\n\n## Stopping the Server\n\nThe server automatically cleans up the screenshot when stopped.\n\n### Native Windows\n\nPress `Ctrl+C` in the PowerShell window, or:\n```powershell\n# Find and stop the process\nGet-Process python | Where-Object {$_.CommandLine -like '*wincontrol*'} | Stop-Process\n```\n\n### WSL\n\n```bash\n.\u002Fstop.sh\n```\n\nOr manually:\n```bash\n# Kill Python process on Windows using PowerShell 7\n'\u002Fmnt\u002Fc\u002FProgram Files\u002FPowerShell\u002F7\u002Fpwsh.exe' -Command \\\n  \"Get-Process python -ErrorAction SilentlyContinue | Where-Object {\\$_.CommandLine -like '*wincontrol*'} | Stop-Process -Force\"\n```\n\n## Troubleshooting\n\n### Native Windows\n\n**Issue**: `pip install pywin32` fails\n- Try: `pip install pywin32 --upgrade --force-reinstall`\n- Or download from [GitHub releases](https:\u002F\u002Fgithub.com\u002Fmhammond\u002Fpywin32\u002Freleases)\n\n**Issue**: Port 8767 already in use\n- Find the process: `netstat -ano | findstr :8767`\n- Kill it: `taskkill \u002FPID \u003CPID> \u002FF`\n\n**Issue**: Cannot access from WSL\n- Ensure Windows Firewall allows Python through\n- Try disabling Windows Defender Firewall temporarily for testing\n\n### WSL2\n\n### Prerequisites\n1. **WSL2 with Ubuntu** (or your preferred distro)\n2. **Python 3** on Windows side\n3. **Dependencies**: pywin32, pillow, mss (auto-installed)\n\n### Path Configuration\n\nScreenshots are saved as `screenshot.jpg` in the skill folder, accessible from both Windows and WSL.\n\n### Troubleshooting\n\n**Issue**: Server starts but curl fails\n- Check if port 8767 is in use: `lsof -i :8767`\n- Kill existing process: `kill \u003CPID>`\n\n**Issue**: Python module errors\n- Manually install deps on Windows:\n```bash\n'\u002Fmnt\u002Fc\u002FProgram Files\u002FPowerShell\u002F7\u002Fpwsh.exe' -Command \"pip install pywin32 pillow mss\"\n```\n\n## How It Works\n\n```\n┌─────────────┐     ┌──────────────┐     ┌────────────────┐\n│  Client     │────▶│   server.py  │────▶│  screenshot.jpg│\n│  (curl\u002Fps)  │     │  (localhost) │     │  (skill dir)   │\n└─────────────┘     └──────────────┘     └────────────────┘\n                            │\n                     ┌─────┴─────┐\n                     │  Port     │\n                     │  8767     │\n                     └───────────┘\n```\n\nThe server runs on Windows Python. Screenshots are saved as `screenshot.jpg` in the skill directory and automatically deleted when the server stops (Ctrl+C).\n\n## Python Client Example\n\n```python\nimport requests\nimport time\n\nAPI = \"http:\u002F\u002Flocalhost:8767\"\n\ndef capture():\n    \"\"\"Capture screen and return file path\"\"\"\n    r = requests.post(f\"{API}\u002Fcapture\")\n    return r.json().get(\"path\")\n\ndef click(x, y):\n    requests.post(f\"{API}\u002Fclick\", json={\"x\": x, \"y\": y})\n\ndef enter(keys):\n    requests.post(f\"{API}\u002Fenter\", json={\"keys\": keys})\n\n# Example workflow\nif __name__ == \"__main__\":\n    # Type text, press Enter, then select all\n    enter([\"Hello World\", \"Enter\", \"Ctrl\", \"A\"])\n    time.sleep(0.5)\n    \n    # Capture result\n    screenshot_path = capture()\n    print(f\"Screenshot saved to: {screenshot_path}\")\n```\n\n## Security Notes\n\n- Server binds to `localhost` only (not accessible from network)\n- No authentication - anyone with local access can control your desktop\n- Screenshot is auto-deleted when server stops\n- Screenshot saved as single `screenshot.jpg` in skill folder, not system directories\n- Be careful running this on shared machines\n\n## Integration with OpenClaw\n\n### Native Windows\n\n```javascript\n\u002F\u002F Capture and view\nconst result = await exec(\"curl -s -X POST http:\u002F\u002Flocalhost:8767\u002Fcapture\");\nconst data = JSON.parse(result.stdout);\n\u002F\u002F Path will be Windows format: C:\\Users\\...\nawait read(data.path);  \u002F\u002F OpenClaw handles Windows paths\n```\n\n### WSL\n\n```javascript\n\u002F\u002F Capture and view\nconst result = await exec(\"curl -s -X POST http:\u002F\u002Flocalhost:8767\u002Fcapture\");\nconst data = JSON.parse(result.stdout);\nawait read(data.path);  \u002F\u002F Path: \u002Fmnt\u002Fc\u002FUsers\u002F...\n\n\u002F\u002F Or take action then capture\nawait exec(\"curl -X POST http:\u002F\u002Flocalhost:8767\u002Fclick -d '{\\\"x\\\":500,\\\"y\\\":300}'\");\nawait exec(\"sleep 0.5\");\nconst screenshot = await exec(\"curl -s -X POST http:\u002F\u002Flocalhost:8767\u002Fcapture\");\n```\n\n## License\n\nMIT-0\n",{},"master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fw\u002Fwincontrol",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":7,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill wincontrol",{"tool":37,"command":38},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill wincontrol",{"tool":40,"command":41},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill wincontrol","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fw\u002Fwincontrol\u002FSKILL.md",true,[],[46,53,60,67,74,81],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":18},"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":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":18},"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":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":18},"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":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"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":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":18},"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":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":18},"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",[],[]]