← Back to wkappbot-workflow
wkappbot-workflow ★★★

# prompt send -- Self-Prompting & Agent Notification

How to deliver prompts to a running Claude Code / Codex window. Use prompt send for self-prompting, scheduled nudges, and agent notifications. FindAllPrompts detects the input box via UIA; the input is hidden while the agent is busy -- always use --when-idle when the agent may be mid-execution.

user/developer
prompt send self-prompting focusless when-idle notification agent uia

## Steps

1. [CORE] prompt send "<name>" "<message>" -- i...
2. [DISCOVERY] prompt list -- show all detectab...
3. [WHY-IDLE] FindAllPrompts() uses UIA to find...
4. [WHEN-IDLE] prompt send "<name>" "<msg>" --w...
5. [AFTER] prompt send "<name>" "<msg>" --after...
6. [TIMEOUT] --timeout 5m (default 30m) -- how...
7. [FOCUSLESS] VS Code Claude Code delivery pat...
8. [FOCUS-STEAL] If TextPattern2 fails, fallbac...
9. [FROM-EYE] Eye background tasks (skill audit...
10. [SELF-PROMPT] To notify the current agent fr...
11. [TROUBLESHOOT] exit 1 + 'No prompt windows f...
12. 2026-05-02: TargetHwnd fix -- ResolveCallerT...
13. 2026-05-02: TargetHwnd fix -- ResolveCallerT...
14. [AUDIT 2026-06-03] source_refs broken: stale...
15. [AUDIT 2026-06-04] AppBotEyeGlobalMode.cs: '...

🔒 Pro Skill
Get Pro Access →