Logo Hatch3r Incident Response

Hatch3r Incident Response

Tổ chức
hatch3r
hatch3r-incident-response

Handles production incidents with structured triage, mitigation, and post-mortem. Use when responding to production issues, outages, or security incidents.

Tổng quan

Nhà phát hànhhatch3r
Kho mãhatch3r
Tên kỹ nănghatch3r-incident-response
Sao
26
Bản fork
7
Tệp đi kèm
Chỉ có hướng dẫn
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ộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được hatch3r 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 Hatch3r 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/hatch3r/hatch3r/tree/main/skills/hatch3r-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/hatch3r/hatch3r.git /tmp/hatch3r
mkdir -p .claude/skills
cp -r /tmp/hatch3r/skills/hatch3r-incident-response .claude/skills/hatch3r-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 Hatch3r 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 Hatch3r 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 Hatch3r 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 Workflow

Relationship to commands/hatch3r-incident-response.md (Decision 13 handoff)

This skill shares the id: hatch3r-incident-response with the orchestrator command commands/hatch3r-incident-response.md. The two are NOT duplicates — they split the incident workflow by execution model per CONSTITUTION §6 Decision 13:

  • commands/hatch3r-incident-response.md (orchestrator entry): the delegated live-incident pipeline — a hatch3r-incident-responder specialist drives triage → bounded-autonomy mitigation → communication → blameless post-mortem, and a hatch3r-reliability specialist runs the post-incident telemetry/SLO reconstruction in parallel once stabilized (agentPipeline: [hatch3r-incident-responder, hatch3r-reliability]). Use the command for a live production incident that warrants specialist fan-out (parallel mitigation + reliability reconstruction); a security-suspected incident adds hatch3r-security.
  • This skill (inline procedure): the single-pass reference body the responder follows for the classify → topology → triage → mitigate → root-cause → post-mortem sequence. Use the skill directly for a Tier 1 single-service incident where no fan-out is needed, OR as the step-by-step procedure the command's incident-responder stage executes.
  • Unique to this skill: the Bounded Autonomy & Escalation matrix (auto-action vs human-gate threshold by severity) and the Telemetry Sources adapter (signal-by-capability-class) are the inline-procedure detail the command references rather than restates.

The merge-candidate review (F16.3-H3) flagged the shared id; this handoff documentation is the explicit workflow-split declaration that disambiguates the pair, enforced by the Decision-13 command↔skill gate in src/cli/commands/validate.ts. A future collapse into a single command appendix requires coordinated edits to the command body, the bundled content inventory (skills count), and that gate.

Quick Start

Task Progress:
- [ ] Step 0: Detect ambiguity (P8 B1)
- [ ] Step 1: Classify severity (P0-P3) based on impact
- [ ] Step 1b: Capture topology context — impacted service graph + upstream/downstream deps
- [ ] Step 2: Triage — identify affected systems, user impact, blast radius
- [ ] Step 3: Mitigate — apply hotfix or rollback, verify mitigation works
- [ ] Step 4: Root cause analysis — trace the failure chain
- [ ] Step 5: Write post-mortem with timeline, root cause, action items
- [ ] Step 6: Create follow-up issues for permanent fixes and preventive measures

Two policies bound this workflow before any remediation action runs: the Bounded Autonomy & Escalation matrix (which actions auto-execute vs require a human gate, by severity) and the Telemetry Sources adapter (where to read signal, by capability class). Both are defined below; read them before Step 3.

Step 0 — Detect Ambiguity (P8 B1)

Before any work, scan the invocation for unresolved questions in scope, intent, acceptance criteria, target environment, or irreversibility. If any are found, ask the user via the platform-native question tool per agents/shared/user-question-protocol.md. Do not proceed under silent assumption. Default path, not an exception. Triggers for THIS skill: user-facing impact vs internal-only, blast radius known (single tenant vs all users), rollback safety verified, stakeholder notification scope (engineering vs exec vs public), and whether mitigation requires data write (irreversible) vs config flip (reversible).

Fan-out Discipline (P8 B2)

Fan-out scales with task size; token cost never justifies serializing independent work (rules/hatch3r-fan-out-discipline.md P8 B2; agents/shared/efficiency-patterns.md). Emit sub_agents_spawned: { count, rationale, task_structure } in your output.

Bounded Autonomy & Escalation

An agent acting in a live incident operates under bounded autonomy: actions are bounded, reversible-first, and gated on a human-in-the-loop for high-blast-radius severities. This matrix sets the auto-action vs escalation threshold by severity. Match the row to the severity assigned in Step 1.

SeverityAutonomy boundRequired gate before action
P0No autonomous mutation. Investigate, build the timeline, propose a diff — do not apply.Human approval required before any mitigation. Page on-call; do not self-execute.
P1Confidence-routed. High-confidence reversible action (flag flip, scale-up, documented rollback) may auto-apply WITH a diff preview emitted first; low-confidence or irreversible action escalates.Human gate when confidence is medium/low OR the action writes data / is irreversible.
P2Auto-remediation acceptable for reversible actions with a diff preview emitted before apply.Human gate only for irreversible (data-write, schema, destructive) actions.
P3Auto-remediation acceptable.None for reversible actions; flag irreversible actions for review.

Rules that hold across all rows:

  • Reversibility-first. Prefer the reversible mitigation (feature-flag flip, config revert, scale-up, deploy rollback) over an irreversible one (data write, schema change). An irreversible action escalates one severity band on the gate column.
  • Diff preview before apply. Any auto-applied mutation emits the exact change (command, flag, config delta) before execution, never after.
  • Confidence routing. State confidence (high/medium/low per agents/shared/quality-charter.md section 1) on every proposed mitigation. Medium/low confidence on P1 routes to a human gate.
  • Audit trail. Every action (auto or gated) is recorded in the incident timeline (Step 5) with actor, timestamp, and the gate decision.

Telemetry Sources

Capture signal from the project's observability stack before declaring blast radius (Step 1b) and when verifying mitigation (Step 3). Read the configured stack from project conventions; do not assume a vendor. Adapter patterns by capability class:

Capability classWhat to readCommon providers
Distributed tracesRequest path spans, trace_id/span_id correlation, latency percentilesOpenTelemetry-compatible backend, Datadog APM, Grafana Tempo
Metrics (RED/USE)Rate, Errors, Duration per route; Utilization, Saturation, Errors per resourcePrometheus/Grafana, CloudWatch, Datadog
LogsStructured JSON with trace_id, service+version+environment, error-level stack tracesSplunk, CloudWatch Logs, Loki
Error trackingGrouped exceptions with release + environment tagsSentry-class tracker
Deploy/change historyRecent deploys, config changes, dependency bumps correlated to incident startPlatform CLI (gh/az/glab), CI deploy log

Reference rules/hatch3r-observability-tracing.md and rules/hatch3r-observability-logging.md for the end-user instrumentation floor these sources read from. When a capability class is not instrumented in the project, record the gap as a post-mortem action item rather than assuming data exists.

Step 1: Classify Severity

SeverityDefinitionExamples
P0Complete outage, data loss, security breachApp unusable, auth down, data exposed
P1Major degradation, significant user impactSync failing, billing broken, >1% error rate
P2Partial degradation, limited impactSingle flow broken, slow performance
P3Minor issue, workaround availableCosmetic bug, edge case
  • Check for related issues or prior incidents using the platform tools (check platform in .hatch3r/hatch.json):
    • GitHub: Use GitHub MCP (issue_read, search_issues) or gh issue list --search "..."
    • Azure DevOps: az boards query --wiql "SELECT [System.Id] FROM WorkItems WHERE [System.Title] CONTAINS '...'" or az boards work-item show --id N
    • GitLab: glab issue list --search "..." or glab issue view N
  • For external library docs and current best practices, follow the project's tooling hierarchy.

Step 1b: Capture Topology Context

Before declaring blast radius in Step 2, map the impacted service graph. A correct blast-radius estimate depends on knowing what the failing component talks to — upstream callers amplify user impact, downstream dependencies are candidate root causes.

  1. Identify the impacted node(s): which service, function, or resource is emitting the failure signal (from the Telemetry Sources above).
  2. Trace upstream: which services/clients call the impacted node? These define the user-facing blast radius — a failure in a shared dependency fans out to every caller.
  3. Trace downstream: which dependencies does the impacted node call (database, queue, third-party API, RPC peer)? A downstream failure is a candidate root cause, not a symptom site.
  4. Record the graph: capture the upstream/downstream edges (from distributed traces, a service catalog, or an architecture ADR in project docs) before estimating blast radius. If no service map exists, reconstruct it from trace spans and note the absence as a post-mortem action item.

Output a one-line topology summary: impacted: {node} | upstream callers: {list} | downstream deps: {list}. Step 2 blast-radius estimation consumes this directly.

Step 2: Triage

  • Affected systems: Frontend, backend, database, auth, payment, third-party services?
  • User impact: How many users? Which flows? Which plans (free/paid)?
  • Blast radius: Is the issue contained or spreading?
  • Data: Any data corruption, loss, or exposure? Check project privacy/security specs for implications.
  • Timeline: When did it start? Any recent deploys, config changes, or dependency updates?

Step 3: Mitigate

  • Immediate actions: Rollback last deploy, disable feature flag, revert config, scale up, or apply hotfix.
  • Verification: Confirm mitigation works — error rate drops, affected flow recovers.
  • Communication: Notify stakeholders per the page-target SLA below. Document status in incident channel or issue.
    • Default page-target by severity (tune per org): P0 — page on-call ≤5 min after detection; P1 — ≤15 min; P2 — ≤1 h; P3 — next business day.
  • Do not spend time on perfect fixes during active incident — stabilize first.

Step 4: Root Cause Analysis

  • Trace the failure chain: what changed, what failed, why.
  • Review logs (correlationId, userId), metrics, deploy history.
  • Check ADRs in project docs for architectural context.
  • For external library docs and current best practices, follow the project's tooling hierarchy.

Step 5: Post-Mortem

Write a structured post-mortem document:

  • Summary: One-paragraph description of the incident.
  • Timeline: Key events (detection, mitigation, resolution) with timestamps.
  • Root cause: What went wrong and why.
  • Impact: Users affected, duration, business impact.
  • Action items: Permanent fixes, preventive measures, process improvements.
  • Lessons learned: What we'll do differently.

Store in project incident docs or as an issue/wiki page on the platform. Follow project conventions.

Step 6: Follow-Up Issues

  • Create follow-up issues/work items for each action item from the post-mortem (check platform in .hatch3r/hatch.json):
    • GitHub: gh issue create --title "..." --body "..." --label "incident-follow-up" (or use GitHub MCP issue_create)
    • Azure DevOps: az boards work-item create --type "Bug" --title "..." --description "..." --fields "System.Tags=incident-follow-up"
    • GitLab: glab issue create --title "..." --description "..." --label "incident-follow-up"
  • Label appropriately (e.g., incident-follow-up, P0, P1).
  • Link issues/work items to the post-mortem and to each other.
  • Assign owners and due dates for critical fixes.

Error Handling

  • Cannot reproduce the incident locally: Use production logs and traces to build the timeline. If local reproduction is blocked by environment differences, document the gap and recommend a staging environment test.
  • Mitigation introduces new issues: Roll back the mitigation immediately, reassess the approach, and apply a more targeted fix. Document both the original incident and the mitigation regression in the post-mortem.
  • Root cause spans multiple services or teams: Document the cross-service dependency chain, assign follow-up items to the responsible teams, and coordinate a joint post-mortem.

Definition of Done

  • Incident mitigated and verified
  • Post-mortem written with timeline, root cause, and action items
  • Follow-up issues created for permanent fixes and preventive measures
  • Stakeholders notified (if P0/P1)
  • No sensitive data (secrets, PII, code content) in post-mortem or logs

Additional Resources

  • Privacy/security specs: project documentation
  • Observability: project logging and correlation conventions
  • Error handling: project error handling patterns

References

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

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

Handles production incidents with structured triage, mitigation, and post-mortem. Use when responding to production issues, outages, or security incidents.

Vì sao nên dùng Hatch3r 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. Hatch3r 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 Hatch3r Incident Response trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/hatch3r/hatch3r/tree/main/skills/hatch3r-incident-response. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để 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 Hatch3r 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 Hatch3r 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 Hatch3r 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 Hatch3r Incident Response có miễn phí không?

Có. Kỹ năng này được hatch3r 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 👇