For the complete documentation index, see llms.txt. This page is also available as Markdown.

Common Use Cases

Ideas for how to use Cleric

New to Cleric? Start with the Quick Start Guide to run your first investigation, then return here for more examples.

This guide provides a comprehensive library of prompts showing various ways to use Cleric. In addition to automated alert triage, use Cleric to troubleshoot production issues, run proactive health scans, analyze observability data, or assist with incident retrospectives.

Use Case Guides

  • Change Verification: Verify that a released change produced its intended outcome and did not cause regressions.

Quick Tips

  • Be specific: Help Cleric scope its investigation by including details like time windows (and timezones!), identifiers, and resource names

  • Describe the symptom: Include what users are seeing and any error messages, and attach images when appropriate

  • Ask for evidence: Request links to dashboards, log queries, and traces and ask Cleric to cite its sources

  • Follow up: Ask for additional hypotheses, further investigation, and remediation proposals

Example Investigation Flow

Here's what a complete investigation looks like:

@Cleric Users are reporting that checkout is failing intermittently since 2pm CET with 503s. Check the GCP logs and correlate with any recent deployments.

Cleric's response:

**Root Cause:** Database connection pool exhaustion in checkout-service

**Timeline:**
- 2:00 PM CET: Traffic increased 3.5x due to marketing campaign launch
- 2:15 PM CET: Connection pool reached 100% utilization (10/10 connections)
- 2:15 PM CET: First 503 errors appeared in logs

**Evidence:**
• GCP Logs show "waiting for available database connection" warnings
• Connection pool metrics show sustained saturation since 2:15 PM (10/10 connections)
• Error rate: 12% of checkout requests (847 failures / 7,058 requests)

Follow-up conversation:

Customizing Your Prompts

You can modify any prompt by specifying:

Dimension
Examples

Data source

"using Prometheus...", "check Datadog for...", "search GCP logs for..."

Scope

"for checkout-api", "in the UAT environment", "in the us-west region"

Time window

"in the last 4 hours", "since 2pm PST", "between Jan 15 2-4pm UTC"

Output format

"with evidence links", "as a timeline", "summarize in bullet points"

Investigate Issues

Understand what's happening when something goes wrong.

Incident/bug investigation

Prefix any prompt with !investigate to trigger a full deep investigation instead of conversational mode. See Deep Investigations.

Service health

Example response

Debugging errors

Example response

Logs & metrics analysis

Example response

CI/CD failures

Proactive Scans

Run fleet-wide scans to catch issues before they become incidents, or to improve observability data hygiene.

Warning spike scan

Example response

Log clean up

Incident Retrospectives

Get help answering retrospective questions or building post-incident timelines.

Structured retrospective

Timeline construction

Example response

Retrieve Knowledge

Query your documentation, your codebase, or Cleric's knowledge.

Documentation lookups

Codebase exploration

Issue/tenant lookup

Tool capabilities

Memory queries

Example response

Remediate & Handoff

Take action on issues: summarize findings, create tickets, or open pull requests.

On the web issue page, use More actions on a suggested fix to open a prepared prompt in Claude Code, Codex, Conductor, or Cursor, or choose Copy to clipboard. The prompt includes the fix and investigation context. Select the intended repository in your coding agent before applying the fix.

With GitHub or Bitbucket connected, choose Create PR to have Cleric implement the suggested fix and open a pull request for review.

Summarization

Investigation diagram

Create tickets

Open pull requests

Monitoring Production

Keep an eye on production systems and verify changes are working as expected.

Verify a fix

Scheduled follow-ups

Ask Cleric to check back after a delay. This is useful when you've pushed a fix and want to verify it later without watching dashboards yourself.

Last updated