[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77Y416RXP48VGC20XK9SQ1W":3,"skill-same:01M77Y416RXP48VGC20XK9SQ1W":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},"01M77Y416RXP48VGC20XK9SQ1W","wechat-file-sender",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\u002Fwechat-file-sender\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"# wechat-file-sender\n\nSend files via Windows WeChat client using RPA automation. No external dependencies — pure PowerShell + Windows Automation API.\n\n**Security:** filePath must be an absolute path. contactName is validated to 50 chars max, Chinese\u002Falphanumeric\u002Funderscore\u002Fspace only. No network calls, no data exfiltration.\n\n## Setup\n\nRequirements: Windows OS with WeChat desktop client installed.\n\n```\nclawhub install wechat-file-sender --dir \u003Cyour-skills-dir>\n```\n\n## Usage\n\n### Command line\n```bash\nnode scripts\u002Fsend-file-to-wechat.js \"\u003CfilePath>\" \"\u003CcontactName>\"\n```\n\n### OpenClaw trigger phrases\n- `向wechat发送文件给[联系人]：文件路径`\n- `发微信文件给[联系人]：文件路径`\n\n## PowerShell Script Source (`scripts\u002Fsend-file.ps1`)\n\nFull source — audit it before running:\n\n```powershell\nparam(\n    [string]$filePath,\n    [string]$contactName\n)\n\nAdd-Type -AssemblyName UIAutomationClient\nAdd-Type -AssemblyName UIAutomationTypes\nAdd-Type -AssemblyName System.Windows.Forms\nAdd-Type -AssemblyName PresentationCore\n\n# Step 0: Check file exists\nif (-not (Test-Path $filePath)) {\n    Write-Host \"[ERROR] File not found\"\n    exit 1\n}\n\n# Step 1: Find WeChat window (class Qt51514QWindowIcon)\n$root = [System.Windows.Automation.AutomationElement]::RootElement\n$allWindows = $root.FindAll([System.Windows.Automation.TreeScope]::Children,\n    (New-Object System.Windows.Automation.PropertyCondition(\n        [System.Windows.Automation.AutomationElement]::ControlTypeProperty,\n        [System.Windows.Automation.ControlType]::Window)))\n\n$wechatWindow = $null\nforeach ($w in $allWindows) {\n    if ($w.Current.ClassName -match 'Qt51514QWindowIcon') {\n        $wechatWindow = $w\n        break\n    }\n}\n\nif (-not $wechatWindow) {\n    Write-Host \"[ERROR] WeChat not found\"\n    exit 1\n}\n\n# Win32 API for window focus\nAdd-Type @\"\nusing System;\nusing System.Runtime.InteropServices;\npublic class WinAPI {\n    [DllImport(\"user32.dll\")]\n    public static extern bool SetForegroundWindow(IntPtr hWnd);\n    [DllImport(\"user32.dll\")]\n    public static extern bool ShowWindow(IntPtr hWnd, int nCmdShow);\n    [DllImport(\"user32.dll\")]\n    public static extern bool IsIconic(IntPtr hWnd);\n    public const int SW_MINIMIZE = 6;\n    public const int SW_RESTORE = 9;\n}\n\"@\n\n$hwnd = [IntPtr]$wechatWindow.Current.NativeWindowHandle\nif ([WinAPI]::IsIconic($hwnd)) {\n    [WinAPI]::ShowWindow($hwnd, [WinAPI]::SW_RESTORE)\n}\n[WinAPI]::SetForegroundWindow($hwnd)\nStart-Sleep 1\n\n# Step 2: Open search (Ctrl+F)\n[System.Windows.Forms.SendKeys]::SendWait(\"^f\")\nStart-Sleep 1\n\n# Step 3: Type contact name (via clipboard — SendKeys can't type Chinese)\n[System.Windows.Forms.Clipboard]::Clear()\nStart-Sleep 0.3\n[System.Windows.Forms.Clipboard]::SetText($contactName)\nStart-Sleep 0.5\n[System.Windows.Forms.SendKeys]::SendWait(\"^v\")\nStart-Sleep 2\n\n# Step 4: Select first result and enter chat\n[System.Windows.Forms.SendKeys]::SendWait(\"{UP}\")\nStart-Sleep 0.5\n[System.Windows.Forms.SendKeys]::SendWait(\"{ENTER}\")\nStart-Sleep 1\n\n# Step 5: CLIPBOARD ACTIVATION TRICK\n# When staying in the same window, clipboard may not activate.\n# Minimize -> set clipboard -> restore = clipboard activates\n[WinAPI]::ShowWindow($hwnd, [WinAPI]::SW_MINIMIZE)\nStart-Sleep 0.5\n\n$fc = New-Object System.Collections.Specialized.StringCollection\n$fc.Add((Resolve-Path $filePath))\n[System.Windows.Forms.Clipboard]::Clear()\nStart-Sleep 0.5\n[System.Windows.Forms.Clipboard]::SetFileDropList($fc)\nStart-Sleep 1\n\n[WinAPI]::ShowWindow($hwnd, [WinAPI]::SW_RESTORE)\nStart-Sleep 0.5\n[WinAPI]::SetForegroundWindow($hwnd)\nStart-Sleep 0.5\n\n# Step 6: Paste and send\n[System.Windows.Forms.SendKeys]::SendWait(\"^v\")\nStart-Sleep 1\n[System.Windows.Forms.SendKeys]::SendWait(\"{ENTER}\")\nWrite-Host \"[OK] File sent to: $contactName\"\n```\n\n## Key Implementation Notes\n\n- **ExecutionPolicy Bypass** is required — PowerShell blocks `.ps1` scripts by default. Bypass only affects this specific script file, not system policy.\n- **No admin needed** — uses only user-level Win32 APIs (SetForegroundWindow, ShowWindow) and Windows Automation API.\n- **Clipboard activation trick** — solves the Windows clipboard issue when source and target are the same window.\n- **Contact name via clipboard** — SendKeys cannot type Chinese characters; workaround is to copy to clipboard and Ctrl+V.\n",{},"master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fw\u002Fwechat-file-sender",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 wechat-file-sender",{"tool":37,"command":38},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill wechat-file-sender",{"tool":40,"command":41},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill wechat-file-sender","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fw\u002Fwechat-file-sender\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",[],[]]