Database incident diagnosis brief: AI agent prompt

Turn blocking chains, wait stats, and slow-query clues into a root-cause brief with a recommended fix and a ready-to-assign ticket, like Cornerstone OnDemand's Orion AI multi-agent system on Amazon Bedrock that cut database diagnosis from 45 minutes to 10.

Curated by AgentPlaybook Real Estate · How we make and check prompts

IT & Internal HelpDatabase opsintermediate

The prompt

Diagnose this database incident. Symptoms: [paste what users/SRE reported]. Metrics and waits: [paste blocking sessions, wait types, CPU, long-running queries, timestamps]. Recent changes: [paste deploys, schema changes, or unknown]. Produce: (1) most likely root cause and why, (2) what to rule out next, (3) a safe first remediation step vs anything that needs approval (e.g. killing a session), (4) a filled ticket draft: title, severity, evidence, owner team, and acceptance check. If data is incomplete, list exactly what to query next instead of guessing.
Open in ChatGPT Open in Claude Perplexity Download as agent skill (SKILL.md)

How to use it

  1. Copy the prompt above.
  2. Replace every [bracket] with your own details (or fill in the blanks on AgentPlaybook Real Estate, which remembers your answers for the next prompt).
  3. Paste it into ChatGPT, Claude, Gemini and review the answer before you use it.

Works with: ChatGPT, Claude, Gemini, Amazon Bedrock, your SQL monitoring/export, Jira

Real-world example: aws.amazon.com/blogs/machine-learning/how-cornerstone-ondemand-cut-dat

Featured in: AI prompts to summarize meetings, notes, documents and reports

Before you use it: what to check

Already built into this prompt

Check yourself

Using an AI agent? Download this prompt as a SKILL.md agent skill with these checks built in, or get the .zip for Claude.ai. How to install skills.

Share:Post on XLinkedInFacebookRedditWhatsApp
</> Embed this prompt on your site

Paste this HTML into your blog or website. It's a plain card with no tracking scripts that links back to this prompt.

Want to make this prompt even better? Grade it with the free prompt grader or build your own with the AI prompt generator.

Get the free Solo Founder Stack pack

32 copy-paste agent prompts (PDF) plus 5 new prompts every week.

Get it free

More IT & Internal Help prompts

Access provisioning checklistAccess · intermediateIncident summary writerIncidents · intermediateFind and fix configuration drift on critical devicesConfiguration management · intermediateFind out what's filling up your computer's storageDevice cleanup · beginnerBrief an on-call engineer when an incident hitsOn-call · intermediateLet an AI help desk agent fix the routine IT requests start to finish while your staff check its workL1 IT service desk agent · intermediate

See all IT & Internal Help prompts →

Related prompts from other teams

Human handoff summaryCustomer Support · intermediateAccount research briefSales · beginnerCall notes to follow-up emailSales · beginner · worked exampleWeekly newsletter drafterContent · beginner · worked example