Use cases

AI bug triage: new issues sorted, sized and routed before standup

  • Claude Sonnet 5.5: $0.058 per run
  • 14 s
  • weekdays at 8:30

Updated November 23, 2026.

The Bug Triage botBug Triage

Triage is quick per issue and slow in aggregate. The judgment that matters is connecting a vague report to the error data: how many users, since when, and which release.

The Bug Triage bot reads new GitHub issues alongside your error tracker, links duplicates, sets severity from real impact, routes each issue to its owner, and says what's missing to reproduce. It proposes labels and comments; it doesn't apply them until you approve.

What it does

  • Links duplicate reports to one primary issue
  • Sets severity from error-tracker impact, not the reporter's tone
  • Spots regressions by matching first-seen times to releases
  • Proposes labels, owners and replies asking for missing details

Worked example

Seven issues opened in a day after a mobile release, with 24 hours of error-tracker data.

The bot's instructions

You triage new bug reports for the user's engineering team.

- For each report: link duplicates, set severity (S1 outage or data loss, S2 major feature broken with no workaround, S3 broken with a workaround, S4 cosmetic), pick the owning area, and say what's missing to reproduce.
- Use error-tracker events to size impact: how many users, since when, which release.
- Propose labels, owners and replies; never close, assign or comment on issues without approval.

Apps it uses

  • GitHubreads new issues and, with approval, labels and comments
  • Sentryreads error counts, users affected and first-seen release
  • Linearcreates the tracked ticket for the owner
Bug Triage

The prompt

The data below is sample data written for this page. A live run reads it from the connected apps.

Triage the issues opened since yesterday. Owners: mobile = Ana, api = Ben, web = Chloe, billing = Dev. Today's release is v4.12.0 (shipped Nov 21 16:00 UTC).

NEW GITHUB ISSUES
#2311 "App logs me out every few minutes" - iOS 18.2, v4.12.0. "Started after today's update. Have to log in again constantly." 4 thumbs up.
#2312 "Can't export schedule to CSV" - web. "Export button does nothing on Firefox." No console log attached.
#2313 "Logged out repeatedly on Android" - Pixel 8, v4.12.0. "Kicked out mid-shift twice."
#2314 "Typo on billing page: 'Recieve invoices'" - web.
#2315 "Customers charged twice for December" - from support, 2 customer emails attached, both on annual-to-monthly switch.
#2316 "Dark mode: map pins invisible" - iOS. Screenshot attached.
#2317 "Feature: recurring jobs every 3rd Tuesday" - web.

ERROR TRACKER (last 24h)
- AuthTokenRefreshError: 3,412 events, 1,180 users, first seen v4.12.0 Nov 21 16:20 UTC, iOS and Android.
- StripeInvoiceDuplicateWarning: 23 events, 19 customers, first seen Nov 20 (v4.11.3), all with plan_change=annual_to_monthly.
- TypeError in exportCsv (Firefox 133 only): 41 events, 29 users, first seen Nov 2.

Output

Claude Sonnet 5.5's reply, unedited. The names and numbers are fictional.

Triage: issues #2311–#2317 (as of 2026-11-22 21:26 UTC)

Nothing below has been applied. Labels, assignments, comments and closures all wait for your approval.

#SeverityAreaOwnerAction
#2315S1billingDevDouble charges. Treat as data and money loss.
#2311S2mobile (auth)AnaPrimary for the logout bug
#2313S2mobile (auth)AnaDuplicate of #2311
#2312S3webChloeExport bug, needs a repro
#2316S4mobileAnaDark-mode pins invisible
#2314S4web (billing page copy)Chloe or DevTypo
#2317Not a bugwebChloeFeature request, goes to the backlog
Details

#2315: duplicate charges (S1, Dev)

  • The error tracker shows StripeInvoiceDuplicateWarning: 23 events, 19 customers, all plan_change=annual_to_monthly.
  • It first appeared Nov 20 on v4.11.3, so it predates today's release (v4.12.0) and v4.12.0 is not the cause.
  • The tracker counts 19 affected customers, so more people than the 2 who emailed are probably hit. Dev should pull the full list.
  • The issue is about December, so charges are likely pending or recent. Refunds and a hold on further duplicate invoices are time-sensitive.
  • Still needed: Stripe invoice and charge IDs for the 2 customers, whether the charges are actually captured or only duplicate draft invoices, and the date of each plan switch.
  • Proposed reply: ask support for the IDs and tell them that Dev is investigating.

#2311 and #2313: logouts (S2, Ana)

  • AuthTokenRefreshError has 3,412 events across 1,180 users, first seen at 16:20 UTC on Nov 21. That is 20 minutes after v4.12.0 shipped, and it hits both iOS and Android.
  • Users can log back in, so there is a workaround, but it is a heavy one. Mid-shift logouts on a work app could be argued up to S1 if usage is high.
  • I'd link #2313 to #2311 as a duplicate and keep #2311 as the primary. The reports share the same cause and release, though I'm inferring the cause from timing and platform.
  • Ana should check what changed in token refresh in v4.12.0. A hotfix or rollback of v4.12.0 is a decision for you, Ana and Ben. The refresh endpoint is on the API side, so Ben should look at it too.
  • Note: #2311 says "after today's update", but the release shipped Nov 21, so the report is probably from the same day.
  • Still needed:
    • The app version in #2313. The reporter listed v4.12.0, so this is probably covered.
    • Whether #2311 is Android too.
    • Device logs or timestamps for the logout moments.
    • Whether the user is on cellular or Wi-Fi, and whether the app is backgrounded when it happens.

#2312: CSV export (S3, Chloe)

  • The tracker shows TypeError in exportCsv on Firefox 133 only: 41 events, 29 users, first seen Nov 2. That is not a v4.12.0 regression.
  • Users can export with another browser, so S3 fits.
  • Still needed: a console log, the exact Firefox version, and the schedule size and filters. The stack trace from the tracker may be enough to start.
  • Proposed reply: ask the reporter for those details and mention the Chrome or Safari workaround.

#2316: dark mode map pins (S4, Ana)

  • The issue is cosmetic, though pins that are invisible could hurt usability. I'd start at S4 and bump it to S3 if the map is essential to the workflow.
  • Still needed: iOS version, device, and app version. The screenshot is attached.

#2314: typo (S4)

  • "Recieve" should be "Receive". It's a one-line fix, good for a first-timer.
  • The billing page is a web surface, so I'd put it with Chloe, though Dev could take it if they own the copy.

#2317: feature request

  • Recurring jobs on every 3rd Tuesday. Suggest a feature-request label and no severity, with a note to the product backlog.
Proposed labels
  • #2315: bug, S1, billing
  • #2311: bug, S2, mobile, auth, regression-v4.12.0
  • #2313: bug, S2, mobile, auth, regression-v4.12.0, duplicate
  • #2312: bug, S3, web, firefox, needs-info
  • #2316: bug, S4, mobile, dark-mode
  • #2314: bug, S4, web, copy
  • #2317: feature-request, web
Suggested order
  1. Page Dev about #2315 now.
  2. Have Ana and Ben check the token refresh in v4.12.0. Then decide on a hotfix or rollback.
  3. Handle the rest in normal triage.

Do you want me to draft the comments and the duplicate link for #2313? I can also draft the message to Dev and Ana. I haven't sent anything.

Cost per run

  • Claude Sonnet 5.5$0.058
    Tokens in
    15,699
    Tokens out
    1,853
    Time
    14 s
  • GPT-6.2 Sol$0.027
    Tokens in
    8,832
    Tokens out
    900
    Time
    17 s
  • GPT-6 Luna$0.002
    Tokens in
    8,857
    Tokens out
    2,207
    Time
    22 s

Measured on November 23, 2026 (Claude Sonnet 5.5 the day before) on Rakazo 0.14.0 through OpenRouter, with no model-side caching, at each provider's list price. The data an app connection would return was pasted into the prompt, so a live run adds the tool calls that fetch it, and costs more the more it reads. Rakazo adds the bot's instructions, tools and memory (about 9,000 to 16,000 tokens, depending on the model) to every run.

Run it on a schedule

Ask the bot once and it creates the routine:

Every weekday at 8:30, triage the issues opened since yesterday and post the table here.
  • Claude Sonnet 5.5: about $1.27 a month in model usage, weekdays at 8:30.
  • GPT-6.2 Sol: about $0.59 a month in model usage, weekdays at 8:30.
  • GPT-6 Luna: about $0.04 a month in model usage, weekdays at 8:30.

Model usage is billed by your provider, or as Rakazo credits at the provider's price. Rakazo itself is free to self-host; see pricing for Rakazo Cloud.

What it won't do without you

  • Never closes, assigns or comments on issues without approval
  • Separates what it inferred from what the data shows
  • Leaves rollback and hotfix calls to people

Nothing leaves the bot without your yes. In Ask mode, every action that sends, changes or costs something posts an approval card first. Auto lets an approval model clear actions that fit what you asked and still asks about the rest.

Run it on every new issue instead

A routine can also start from a Git event: add the routine's URL as a GitHub webhook and each new issue is triaged as it arrives, rather than in a morning batch.

Set it up

  1. Create a bot and paste the instructions above, or ask any bot to set one up for this job.
  2. Connect the apps it needs from chat ("connect my Gmail") or from Integrations.
  3. Send the prompt once and correct what it gets wrong; it saves your rules to memory.
  4. Ask it to turn the prompt into a routine on a schedule.

FAQ

Can AI triage GitHub issues?

Yes. With GitHub and your error tracker connected, it reads each new issue, checks the error data, and proposes severity, labels and an owner for you to approve.

Does it need access to my code?

Not for triage. Issue text and error data are enough. A coding bot can take the next step on its own computer if you want it to.

How does it decide severity?

From the definitions in its instructions and the impact in the error data. You can change both; the worked example uses S1 to S4.

More use cases

All use cases →