wechat-ops
/wechat-ops
Utrzymuje okno WeChat for Mac w stanie, który skrypty mogą obsługiwać: sprawdza ekran, zamyka okna i radzi sobie z wylogowaniem.
- Autor
- Canlah-AI ↗
- Repozytorium
- wechat-sales-copilot ↗
- Licencja
- Apache-2.0
- Ostatnia zmiana repozytorium
- 31.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 31.10.2026, bez odwołań do wycofanych modeli i API.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
Co robi i kiedy
Utrzymuje okno WeChat for Mac w stanie, który skrypty mogą obsługiwać: sprawdza ekran, zamyka okna i radzi sobie z wylogowaniem.
Wyzwalacze z opisu
Oryginalny opis (EN)
Keep WeChat for Mac in a state the scripts can drive - see what is on screen, list, resize and close WeChat windows, handle a locked screen, a logout or a WeChat update, and use the low-level wxctl primitives. Use for "WeChat window is wrong", "what is on the WeChat screen", "wechat logged out", "close that popped-out chat", "wxctl", or when sends start aborting in a row. Not for first-time setup or permissions (wechat-setup).
Jak działa
- When sends start failing
- After changing the Swift sources
Podgląd SKILL.md
---
name: wechat-ops
description: Keep WeChat for Mac in a state the scripts can drive - see what is on screen, list, resize and close WeChat windows, handle a locked screen, a logout or a WeChat update, and use the low-level wxctl primitives. Use for "WeChat window is wrong", "what is on the WeChat screen", "wechat logged out", "close that popped-out chat", "wxctl", or when sends start aborting in a row. Not for first-time setup or permissions (wechat-setup).
---
Read `../shared/RULES.md` first.
# Operations
```bash
bin/wxctl windows # every WeChat window and its size (main window: Weixin / 微信 / WeChat)
bin/wxctl win # main window position {x, y, w, h, scale}
bin/wxctl fit # main window to the top-left, 1300 wide, full height
bin/wxctl close-window "<title>" # close a popped-out chat window (refuses the main window)
bin/wxctl locked # 1 = screen locked
bin/wxctl perms # which grants this terminal app has
```
All subcommands are listed at the top of `native/wxctl.swift`. Only window-level Accessibility works on WeChat 4.x;
chat content is invisible to Accessibility, so content is always read from screenshots.
To see the screen: `screencapture -x /tmp/wechat.png` and look at it (it shows private chats: keep it local, delete
it after).
## When sends start failing
| Symptom | Do |
|---|---|
| several `aborted` in a row | `bin/wxctl windows`: a popped-out chat window or a shrunken main window; `close-window`, then `fit` |
| `screen locked` | ask the user to unlock; nothing types into a lock screen |
| QR code or "Log In" on screen | logged out: stop the sender (`python3 -m wxmac.stop_sender`) and ask the user to scan with their phone |
| `main window did not appear` | WeChat not running, or the window is off screen: `bin/wxctl activate`, then `fit`; never reinstall, re-sign or start a second copy |
| a warning in the sender log | the sender already paused; tell the user with the exact words; do not resume early |
| everything "does not match" after a WeChat update | UI words or layout changed: rerun `python3 -m wxmac.doctor --ocr`, compare the screen with `wxmac/ui_strings.py` and the constants in `wx_send.py`, see `docs/pitfalls.md` |
## After changing the Swift sources
```bash
./install.sh # rebuilds bin/wxctl and bin/ocr
```
A running sender keeps the old Python code: stop it with `stop_sender` and start it again.
Wersje
W bazie nie ma innych skilli o nazwie wechat-ops.
Migawka bazy z 13.11.2026 · wersja paczki f86ce7dba3a5 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 95wechat-setup
Przeprowadza pierwszą konfigurację i kontrolę stanu sterowania WeChat for Mac: uprawnienia macOS, plik config i testowe wysłanie. - 100wechat-send
Wysyła jedną wiadomość WeChat z komputera Mac do jednej osoby lub grupy, sprawdzając na ekranie każdy krok przed wysłaniem. - 100wechat
Eksportuje czaty z WeChat 4.1+ na lokalnym komputerze jako tekst czytelny dla AI, w tym rankingi kontaktów. - 100wechat-send
Wysyła wiadomość na grupę lub do osoby w desktopowym WeChat na Windows, przez zrzuty ekranu i schowek, z potwierdzeniem. - 100wechat-send-image
Wysyła obraz lub zrzut ekranu do WeChat, gdy użytkownik chce przesłać zdjęcie albo screenshot. - 95wechat-local
Czyta i analizuje lokalne dane Windows WeChat: wyszukuje wiadomości, transkrybuje głosówki i eksportuje do Obsidiana.