Logo Incident Response

Incident Response

Cộng đồng
nahid-sparktales
incident-response

Stabilize a system that is failing right now — name the signal that flagged it, size the blast radius in numbers, keep a timestamped log written as you go, find the last known-good state, then propose the smallest reversible mitigation and confirm recovery against that same signal. Use when production is degraded or down and time to mitigation matters more than a complete explanation. Not for a defect that is not currently failing (systematic-debugging), not for the root-cause investigation or the postmortem that follows, and never authorization to touch production without asking first.

Tổng quan

Nhà phát hànhnahid-sparktales
Kho mãagent-dispatcher
Tên kỹ năngincident-response
Sao
58
Bản fork
5
Tệp đi kèm
1
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 1 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được nahid-sparktales công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Incident Response trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/nahid-sparktales/agent-dispatcher/tree/main/skills/devops/incident-response
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/nahid-sparktales/agent-dispatcher.git /tmp/agent-dispatcher
mkdir -p .claude/skills
cp -r /tmp/agent-dispatcher/skills/devops/incident-response .claude/skills/incident-response
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Incident Response trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Incident Response ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Incident Response với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Incident response

Mitigation comes before explanation. The cause keeps; the outage does not. Every step here exists to stop you from applying an unrecorded change you cannot undo and then calling a coincidence a fix.

When this fires

A production system is failing or degraded now and the harm is ongoing. It stops firing the moment the signal is stable again — then it is a debugging problem and a postmortem, not this.

If the symptom has already passed on its own, do not start mitigating. Preserve evidence and hand it to investigation.

Procedure

  1. Name the flagging signal exactly — which alert, dashboard, query or user report, what threshold, and the first bad timestamp. Everything you do later is judged against this one signal. If nobody can name it, you do not yet know that anything is wrong.
  2. Open the log before investigating. Append-only, UTC timestamps, one line per observation, action and decision, each action recording who ran it and what happened. A timeline written afterwards is a story assembled from memory of a stressful hour.
  3. Size the blast radius in numbers: who (users, tenants, regions), what (endpoints, jobs, features), how much (share and absolute count of affected requests), since when — and whether it is growing, flat or shrinking. "Lots of users" is not a blast radius.
  4. Say the impact out loud early, and leave comms to a human. Status pages, customer notices and broadcast messages are outward-facing: draft them if asked, stop before posting.
  5. Enumerate what changed before the first bad timestamp — deploys, config edits, feature-flag flips, migrations, scaling changes, dependency bumps, credential or certificate rotation, traffic shifts, upstream vendor status. List them before forming a causal theory; a theory formed first will pick whichever change it likes.
  6. Rank mitigations by reversibility and blast radius, not by how likely they are to be the cause. Revert the deploy, flip the flag off, drain or fail over the bad instance, scale out, shed load or rate-limit, restart. A mitigation does not need to know the cause. Writing a forward fix during an outage is the least reversible option available — treat it as the last one.
  7. Before applying anything, state four things: the expected effect on the flagging signal, the window you expect it in, the risk the action itself carries, and exactly how to undo it. Then stop and ask. Every production-affecting action needs its own confirmation, and "while I am in there" changes are never included in it.
  8. Apply one change at a time and record the time it went in. Two simultaneous changes buy an uninterpretable recovery and a mitigation nobody can safely remove later.
  9. Preserve evidence before it ages out. Copy the log excerpts, the metric graph with its time range, traces, failing payloads and the exact error strings into the incident log. Never delete logs, rotate files, drop tables or clear a queue to make a symptom disappear — that is irreversible data loss during the one hour it matters most; stop and ask.
  10. Confirm recovery against the flagging signal, over a window long enough to outlast a coincidental dip and to cover at least one full cycle of whatever failed. A green build, a passing test, a healthy synthetic check and "I am not seeing errors now" are none of them recovery evidence.
  11. If the mitigation did not work, undo it before trying the next one. An incident carrying three abandoned mitigations has become a second incident with no known-good state.
  12. Hand off explicitly: what is mitigated and by what, what is still unexplained, every change still in place and how to remove it, and where the preserved evidence is. Root cause goes to systematic debugging once the bleeding has stopped.

Checklist

  • The flagging signal is named, with its threshold and first bad timestamp
  • A timestamped log exists and was written during, not after
  • Blast radius stated in numbers, with its direction of travel
  • Recent changes enumerated before any causal theory was offered
  • Mitigation options ranked by reversibility, with the undo written down
  • Each production-affecting action confirmed individually before it was applied
  • One change at a time, each with the time it was applied
  • Evidence preserved before retention could drop it
  • Recovery confirmed on the flagging signal over a stated window
  • Handoff names what is mitigated, what is unexplained, and what must still be removed

Failure handling

  • The signal recovered but your change could not have reached it — different region, tenant or code path — it is a coincidence. Do not close the incident on it; keep watching.
  • Nothing changed in the window — not every incident is self-inflicted. Check upstream provider status, expired certificates, exhausted quotas or licences, full disks and volumes, rotated credentials, and the slowly growing resource (connections, queue, retention, ids) that crossed a threshold with no deploy at all.
  • Several things broke at once — look for the shared dependency before treating them as separate incidents.
  • Monitoring itself is degraded — absence of alerts is now unknown, not healthy. Say so and fall back to a signal you can read directly.
  • "Just restart it" — acceptable as a mitigation when it is reversible and recorded, but a restart destroys the process state that would have explained the failure. Capture what you can first, and expect it to return.
  • Pressure to apply a fix without confirmation — urgency is not authorization. State the proposed action and its undo, and wait.

Evidence to report

The timestamped log itself, verbatim — it is the deliverable, not a summary of it. The flagging signal with its query, and its values before and after with timestamps. Each action with the time applied, who confirmed it, and its observed effect on that signal. Then state plainly what is mitigated (the symptom stopped) versus what is fixed (the cause is gone) — conflating these is how a mitigation gets removed a week later and takes the site down again. List what remains unexplained, and every temporary change still holding the system up, each with an owner.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Incident Response làm được gì?

Stabilize a system that is failing right now — name the signal that flagged it, size the blast radius in numbers, keep a timestamped log written as you go, find the last known-good state, then propose the smallest reversible mitigation and confirm recovery against that same signal. Use when production is degraded or down and time to mitigation matters more than a complete explanation. Not for a defect that is not currently failing (systematic-debugging), not for the root-cause investigation or the postmortem that follows, and never authorization to touch production without asking first.

Vì sao nên dùng Incident Response trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Incident Response là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Incident Response trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/nahid-sparktales/agent-dispatcher/tree/main/skills/devops/incident-response. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Incident Response?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Incident Response với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Incident Response với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Incident Response có miễn phí không?

Có. Kỹ năng này được nahid-sparktales phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇