360 Secure SkillHub
360 安全技能中心

Incident Dossier

该 Skill 将操作日志、审计记录、状态快照等证据解析后生成事件档案,包含时间线、影响范围、根因假设和下一步建议,并可用 Node 脚本处理 JSON/JSONL 输入、输出 Markdown 报告。

neo1307
neo1307
热度 45.71
最近更新 2026-05-11 17:34:12
分类:数据依赖:代码执行 / 读写文件应用场景:调试排错 / DevOps / 报告撰写 / 数据处理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add incident-dossier
Metadata
name
incident-dossier
description
Build a concise incident dossier from operational logs, audits, JSON/JSONL files, and state snapshots. Use when investigating failures, duplicate events, stuck jobs, queue anomalies, regressions, or any situation where Codex must turn raw evidence into a structured incident report with timeline, suspected root cause, blast radius, and recommended next actions.

Incident Dossier

Use this skill to turn messy operational artifacts into a usable incident report.

Workflow

  1. Identify the evidence set first: logs, JSON/JSONL audit trails, state snapshots, screenshots, or reports.
  2. Prefer summarizing from parsed artifacts instead of hand-reading long raw logs.
  3. Run scripts/build_incident_dossier.js with explicit inputs when at least one JSON/JSONL source exists.
  4. Verify the generated timeline against a few raw lines before trusting it.
  5. State uncertainty explicitly when timestamps are missing or conflicting.

Output contract

Always include:

  • Incident summary
  • Scope / blast radius
  • Timeline
  • Evidence list
  • Hypotheses / likely root cause
  • Recovery status
  • Recommended next actions

Script

Use scripts/build_incident_dossier.js to parse mixed JSON/JSONL evidence and emit a Markdown dossier. Give it multiple --input paths and one --out path.

Example:

node skills/incident-dossier/scripts/build_incident_dossier.js \
  --input memory/job-audit.jsonl \
  --input out/job_consistency_audit_report.json \
  --out out/incident-dossier.md

Guardrails

  • Do not fabricate timestamps.
  • Do not collapse distinct incidents into one unless the evidence clearly links them.
  • Keep the dossier evidence-first; interpretation comes after observed facts.