Skip to content
Observability

Agent prompts

Give an agent a prompt to check your project and report issues to fix.

Each prompt tells an agent to check one area of your project — health, security, performance, or resources — and report issues worth fixing. It reads project data read-only and changes nothing. Run it on demand, or put it on a schedule.

Choose a prompt#

Start with one prompt. Add another only when you need a different source or cadence.

PromptWhat it checksSuggested cadenceUse it when
HealthAPI and Auth server errors, error-rate spikes, connection pressureHourlyYou need incident detection and regular feedback loops
SecuritySecurity Advisor findings, authentication and authorization failuresDailyYou need a regular access-control and configuration review
PerformanceSlow queries, lock waits, long-running sessions, Performance Advisor findingsHourlyYou need query and database performance checks
ResourcesRequest, error, storage, table, and connection growthDailyYou need to identify growth before it reaches a resource limit

For a small project, run the most relevant prompt daily or weekly and fold the other categories into it. Split into separate prompts only when you need different owners, schedules, or alert thresholds.

Run a prompt#

  1. Connect the Supabase MCP server with project_ref and read_only=true.
  2. Open the prompt that matches the job from the table above.
  3. Set it up in Claude, Codex, Cursor, or copy the prompt into another harness.
  4. Run it on demand first. Then put the same prompt on a schedule.

Each prompt page describes what it will output. Send those findings through the connections your harness already has, such as Linear in Codex.

Scheduled tasks start a fresh context on every run, so the prompt is self-contained. Review the first runs before you rely on the schedule.