community-automations/linux-system-update

DevOps&コード

PublicClaude サブエージェント

Linuxシステムアップデート

Linuxサーバーへのパッチ適用を手作業で行うのは時間がかかります。しかも一度アップグレードに失敗すれば、サービスが停止し、元に戻すのも容易ではありません。このエージェントはWebhookをリッスンし、対象ホストに対してaptまたはdnfを実行、変更のたびにバージョンのスナップショットを保存します。

sonnet4日GitHub WebhooksAnsibleSlackPrometheus
ClaudeClaude
ROI for
README.md

このサブエージェントを選ぶ理由

Linuxサーバーへのパッチ適用を手作業で行うのは時間がかかります。しかも一度アップグレードに失敗すれば、サービスが停止し、元に戻すのも容易ではありません。このエージェントはWebhookをリッスンし、対象ホストに対してaptまたはdnfを実行、変更のたびにバージョンのスナップショットを保存します。

実行はすべてメンテナンスウィンドウ内で行われ、最後にサービスのヘルスチェックを実施します。正常に復旧しなければ、スナップショットへ自動的にロールバックし、結果をSlackに投稿します。ホストごとに「何が変わったか」「問題なく安定しているか」をまとめたレポートが届きます。

動作の流れ

    • Read

      Used at step 01 to kick off the pipeline.

    • Write

      Used at step 01 to kick off the pipeline.

    • WebFetch

      Used at step 01 to kick off the pipeline.

    • WebSearch

      Used at step 01 to kick off the pipeline.

出力サンプル

json
// Sample output
// (generated when the pipeline finishes)

Given a host group and webhook trigger, plan the smallest safe package upgrade and return a JSON run report with packages changed, health-check result, and rollback status.

Unlock the rest

The full agent definition, install snippet, and starter task are gated for community members.

Members get the full `.md` agent file, the npm / pnpm install one-liners, a starter prompt that we've tuned against real runs, and the open-source repo when this automation ships there. One email, magic link, done.