Все сценарии

Разработка

SRE triage bot: skill + box + Grafana/Sentry/GitHub MCP

SRE agent demos need a custom environment and seven hand-written tools first.

Поделиться

Что болело

刘屿之外 (@Lucian_Lc7) contrasted Anthropic's SRE agent demo (define agent, environment, session, upload logs, write tools for metrics/deploys/diff) with Grok Bot: create a triage bot, encode on-call steps as a Skill, drop logs on the box, connect Grafana/Sentry/GitHub via MCP, then ask what caused the latency spike. Tip with method — no invented skill body.

Что установить или создать

One triage bot. Your on-call checklist becomes a Skill. Box reads logs/greps. MCP for Grafana/Sentry/GitHub when available. One concrete incident question per run.

Боты

  • SRE triage

    Follows on-call Skill. Reads logs on the box. Uses MCP for metrics/issues/diff. No deploy without yes.

Плагины

  • Браузер

    Необязательно

Файлы

  • On-call Skill. Incident log drop folder.

Рутины

  • На первом запуске их нет. Сначала пройдите один раз вручную.

Промпт

Это совет, а не системный промпт, который можно вставить. Автор его не опубликовал. Следуйте шагам первого запуска.

Первый запуск

  1. 1Read https://x.com/Lucian_Lc7/status/2098939622307029495.
  2. 2Create SRE triage. Write your real on-call steps into a Skill (inputs, checks, output format, approvals).
  3. 3Connect Grafana/Sentry/GitHub MCP when you have them. Drop one incident log bundle on the box.
  4. 4Ask one concrete question (e.g. what caused this latency spike?). Review the cited evidence.
  5. 5Only after clean read-only runs, allow deploy/rollback behind your yes.

Барьер одобрения

Read-only on first incidents. Deploys/rollbacks need your yes.

Что поправить

Steal the Skill + box + MCP stack. Do not invent the Anthropic tool functions.

Источник

刘屿之外 @Lucian_Lc7 · Исходный пост

Не связаны с xAI. Этот промпт написали не мы. Условия сторонних шаблонов по-прежнему действуют.

Смотреть шаблоны

Смотреть схемы команд

Пакет Pro

PR & deploy watcher: reviews, deploy checks, error triage

Wakes on GitHub, deploy and error events. It reviews each PR, checks the live site after deploys and triages error spikes, and hands small fixes to a cloud coding agent. Nothing merges or deploys without you.

Смотреть полный пакет