すべてのユースケース

エンジニアリング

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回通して確認してください。

プロンプト

これはヒントであり、貼り付けられるシステムプロンプトではありません。作者はプロンプトを公開していません。初回の手順に従ってください。

初回実行

  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.

セットアップパックの全文を見る