AI agents are becoming a new interface for handling inbound messages.
Instead of opening an inbox, scanning dozens of conversations, deciding which ones matter, and manually typing replies, a user can now say something like:
Check my recent messages for new leads.
In Opportunity Skill , the user's AI agent reads all recent messages across every space the user belongs to, evaluates each conversation, and makes a four-way decision: reply directly, compact the context and reply in a new chat, do nothing for now, or quit the space entirely if it is just marketing spam.
This post is a technical walkthrough of the backend functions behind that flow.
The interesting part is not just "read messages and reply".…