name: ok-ww-agent
description: Screenshot-driven UI automation for Wuthering Waves via ok_* tools (ok_capture, ok_click, ok_key, ok_wait); use when tasks change per game version and you must rely on vision + next-action decisions rather than presets.
ok-ww-agent
Available tools
ok_capture(...)-> capture a screenshot for decision-making.ok_click(x, y, ...)-> click at normalized coordinatesx,yin[0..1]within the same capture region.ok_key(key, ...)-> send a key press (or down/up/repeat).ok_wait(ms)-> sleep for timing/animation.
One-time setup
- Run
powershell -ExecutionPolicy Bypass -File .codex/skills/ok-ww-agent/scripts/setup.ps1(orpwsh).
Operating loop
Repeat:
- Call
ok_capture. - Look at the screenshot and decide the single next best action.
- Execute exactly one action (
ok_clickorok_key). - Call
ok_wait(typically 200-800ms; longer for transitions). - Call
ok_captureagain to confirm the state changed as expected.
Notes
- Prefer clicking the center of a button/label, not edges.
- Avoid spamming clicks/keys; always confirm with a fresh
ok_capture. - If the target UI is small/ambiguous, capture again and re-decide instead of guessing.
- If the capture region is wrong, adjust
ok_captureparameters (e.g.,target,hwnd_class,title_contains) before acting.