Capacity monitor
Capacity monitor is a read-only agent. It trends API request volume and error rates, then warns before traffic or errors look like a capacity problem.
What it watches#
- API request growth against a recent baseline
- Server-error rate increases
- Disk, connection, or table growth when database inspection is available
It uses query_logs on project-scoped, read-only Supabase MCP and the Management API usage endpoints when those are already authorized. It does not change billing, compute, or plan settings. MCP does not expose organization billing totals.
When it watches#
Once each morning
Run it on demand after an unexpected traffic change.
What it will output#
Capacity monitor reports request growth, error-rate changes, and resource trends. If a metric looks likely to hit a limit within 14 days, it flags the date and the relevant scaling guide.
When the agent finds an issue, it reports in the harness. Send that report wherever you already triage work. Use the connections your harness already has. For example, Codex can open a Linear issue.
Keep the Supabase project read-only. Filing a ticket is work in the harness, not a change to the project.
If you want that routing on every scheduled run, add it to the prompt.