Just files + a real Claude Code session. A folder with simple conventions that gives any local process fully async conversational, bidirectional communication with a running Claude Code session. No special hooks, no SDK, no patches. The Claude Code session continues to work, is not blocked, you can still work there too.
- Agree on the folder location. The local process (web server?) sees all files Claude Code wrote into the folder.
- The local process writes a file to
requests/ (the mailbox folder) (web server can expose a POST so any browser can make new requests at any time)
- CronCreate inside Claude Code polls the mailbox folder every minute
- Claude reads the request, does work, and writes/edits files on disk into the folder