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.