← incident.ioCONTENT HISTORY

Update to incident.io

Snapshot Nov 23, 2026 · 00:10 UTC · version 1.20261120.1016

Collection source: downloaded plugin package.

WHAT CHANGED

Instructions updated for postmortem

Skill instructions — Now says: **To add an image you have as a file, upload it first.** Markdown images (`![alt](url)`) and `<img>` are refused, because a document only holds images...

Observed in instructions or declared skills. Runtime behavior has not been tested.

Save incident.io and check future changes in Following.

Up to 3 plugins free · no card required.

All fields and original values.

Skill instructions

Before

Oct 24, 2026 · 13:24 UTC

**"refers to something on an incident you cannot see"** — an image, follow-up or scribe tag whose ID belongs elsewhere. Copy the tag from this document rather than writing an

After

Nov 23, 2026 · 00:10 UTC

**To add an image you have as a file, upload it first.** Markdown images (`![alt](url)`) and `<img>` are refused, because a document only holds images stored with the incident. Call `postmortem_image_upload_url` with the document's i...

Compare saved observations

Download comparison JSON

SKILL.md text changes

− removed · + added

--- before
+++ after
@@ -164,6 +164,12 @@
 - **Tag names use hyphens, never underscores.** An underscore is not legal in an HTML tag
   name, so `<user_mention/>` is read as prose. The schema's internal type names use
   underscores; the tags do not.
+- **To add an image you have as a file, upload it first.** Markdown images (`![alt](url)`)
+  and `<img>` are refused, because a document only holds images stored with the incident.
+  Call `postmortem_image_upload_url` with the document's id and the file's type, PUT the
+  file to the `upload_url` it returns, then insert the `tag` it returns with
+  `postmortem_edit`, adding an `alt` that describes the image. If the edit says the upload
+  has not finished, the PUT did not land: check its response before editing again.
 - **Some tags are read-only.** A document that already holds one keeps it and your edits
   leave it alone, but writing a new one is refused. The format resource lists which.
 
@@ -187,9 +193,9 @@
   their change may be the one you were about to make.
 - **"is not something this document can hold"** — a tag name or attribute that is not in
   the vocabulary. Check `format://postmortem-document`.
-- **"refers to something on an incident you cannot see"** — an image, follow-up or scribe
-  tag whose ID belongs elsewhere. Copy the tag from this document rather than writing an
-  ID.
+- **"refers to something that does not belong to this incident"** — an image, follow-up
+  or scribe tag whose ID belongs elsewhere. Copy the tag from this document rather than
+  writing an ID.
 - **"this document cannot be read as markdown"** or **"would change a part of it nobody
   asked to change"** — this particular document cannot go through the tool safely, so
   nothing was touched. Say so and point the user at the dashboard. This is about the
Full technical diff · 1 changed fields

changed /skill_md_contents

BEFORE
"---\nname: postmortem\ndescription: >\n  Work with an incident's postmortem document — the write-up a team produces after an\n  incident. Use when the conversation is about a postmortem, post-incident review,\n  debrief or retro document: finding it, creating one, reading it, changing its text, or\n  reviewing it against what actually happened. Covers rewriting a section, fixing a claim, adding a\n  timeline entry or a learning, and also judging whether its claims hold up, what is\n  missing, and what should become a follow-up. Not for general questions about an\n  incident, which is the incidents skill.\n---\n\n# Postmortems\n\nA postmortem is generated from a template: a set of sections, each with a title and,\noften, help text telling the writer what belongs there. The help text is the standard a\nsection is measured against.\n\nAn incident usually has one document, but it can have several.\n\nEverything here is one of three jobs. **Finding and reading** comes first and both other\njobs depend on it, because which rendering you read decides whether your work lands.\n**Editing** changes the text. **Reviewing** judges it and changes nothing.\n\n## 1. Finding the document\n\n**Find it with `postmortem_list`.** Pass `incident_id` to scope it to one incident: an\nID, an external ID, or a reference like `INC-123`. Each result carries the `id` the other\ntools take, with the title, status and whether it is the incident's primary document.\n\n**Check what kind of document it is, and whether it exists yet.** Everything below works\non `in_app` documents. An `external` one lives in a provider such as Notion, named in\n`provider`, and nothing here reads or edits it: give the user its `url`. A `state` of\n`pending` means it is still being created and holds only a placeholder, so wait for\n`created` before reading it. `failed` means it never was, with the reason in `error`:\ntell the user rather than trying again unasked.\n\n**An incident can hold several documents.** When more than one comes back and the user\nsaid \"the post-mortem\", tell them what exists and let them choose. Do not take the\nprimary one as what they meant — working on the wrong document is silent, and they will\nnot find out from you.\n\nYou already have the id without calling this when `incident_show` was run with\n`include: [\"postmortem\"]`, which carries the primary document's. That is the primary one\nonly, so it answers \"the post-mortem\" and not \"which post-mortems\".\n\n**When there isn't one, `postmortem_create` makes it.** Choose a template with\n`postmortem_template_list`, passing the incident to see its default. The template's\n`kind` decides what you get: an `in_app` document, or an `external` one, which goes to a\ndestination from `postmortem_destination_list` or to the incident's default. A document\nmade from a template comes back `pending`: follow it with `postmortem_list` until it is\n`created`. To write the post-mortem yourself, pass `content` as markdown instead of a\ntemplate, and it exists straight away.\n\n## 2. Reading it\n\n**There are two renderings of the same document, and they are not interchangeable.**\n\n| | what it is | what to use it for |\n|---|---|---|\n| **Reader's form** — `incident_show` with `include: [\"postmortem\"]` | the document as a person sees it: mentions are names, and the blocks that fill themselves in from the incident are the lists they display | reading, quoting, reviewing |\n| **Editable form** — `postmortem_show` | the same document with those parts as HTML tags carrying their IDs | the only valid source of anchors for an edit |\n\nReading the reader's form and then editing from it is the most common way to waste a\ncall: that text is not in the document, so nothing matches it. Read the form that fits\nthe job you are about to do.\n\n**Read `format://postmortem-document`** before writing a tag you cannot copy from the\ndocument in front of you. It lists every tag, its attributes and an example, and it is\nthe only place they are written down.\n\n## 3. Editing\n\nYou change the document by describing string operations on its markdown. Read it with\n`postmortem_show`, copy the exact text you want to act on out of what came back, and send\nthat text as the anchor for your edit. There is no cursor, no line number and no section\naddressing: an anchor is a substring, and it has to match.\n\nEverything in this section exists because that one mechanism has sharp edges.\n\n### The loop\n\n`postmortem_edit` takes the document ID and a list of edits, up to 50 in one call. The\ncall returns the whole document as markdown.\n\n**Anchor your next edit on what came back, never on what you sent.** The returned\nmarkdown is re-rendered from the document, so the bullet characters, blank lines and\nescaping you wrote may not be the bytes now stored. A second edit built from your own\ntext is the single most common way to get \"Found nothing matching\".\n\nWithin one call, each edit applies to the result of the edit before it. If your second\nedit anchors on text your first edit rewrote, anchor on the new text.\n\nThe whole call is refused if any single edit is, so nothing is ever half-applied. Fix the\nedit that was named and send the batch again.\n\n### The operations\n\n| op | fields | what it does |\n|---|---|---|\n| `replace` | `old_string`, `new_string` | swaps a run of text, or one tag for another |\n| `delete` | `old_string` | removes a run of text, or a whole node |\n| `insert_before` | `anchor`, `text` | adds blocks before the block the anchor sits in |\n| `insert_after` | `anchor`, `text` | adds blocks after the block the anchor sits in |\n| `prepend` | `text` | adds blocks at the very start of the document |\n| `append` | `text` | adds blocks at the very end |\n\n`replace` works at any scale: a word, a sentence, a whole section including its heading.\nPrefer one `replace` spanning a rewritten paragraph over five small ones, because every\nanchor is another chance to miss.\n\n`insert_before` and `insert_after` add **blocks**. They widen the anchor to the whole\nblock containing it and insert either side of that, so you cannot use them to put words\nin the middle of a sentence. Use `replace` for that: make `old_string` the part of the\nsentence you are changing and `new_string` the version with your words in it.\n\n`new_string` may not be empty. Removing text is `delete`, which also tidies up the blank\nlines the removed block leaves behind.\n\nInserted text is parsed as markdown, so headings, lists, tables and formatting all work,\nand so do tags.\n\n### Anchors\n\nAn anchor must appear **exactly once** in the document. Nothing is guessed: an anchor\nmatching nothing is refused, and an anchor matching several places is refused with the\nsurrounding text of each match so you can see what you hit.\n\n- **Copy it. Do not retype it.** Anchors are matched against the markdown, not against\n  what the text looks like on screen. A phrase that reads bold in the document is\n  `**bold**` in the markdown, and an anchor without the asterisks does not match it. The\n  same goes for links, inline code, list markers and heading hashes.\n- **Some characters are escaped in ordinary text.** A literal underscore, asterisk,\n  backtick, backslash, tilde, square bracket or angle bracket in the document is written\n  with a backslash in front of it. Copying handles this; retyping does not.\n- **When an anchor is ambiguous, extend it rather than shortening it.** Add the words\n  before or after it, in the same string, until it names one place. For a mention that\n  appears in several paragraphs, include the sentence it sits in.\n- **Keep anchors as short as they can be while still unique.** A whole paragraph as an\n  anchor for a one-word change means any other edit touching that paragraph invalidates\n  it.\n\n### Tags\n\nA postmortem holds things markdown has no syntax for: mentions carrying the ID of a\nperson or record, blocks that fill themselves in from the incident, marks with no\nmarkdown equivalent. These read and write as self-closing HTML tags.\n\n```\nReported by <user id=\"01JOHANNA\" value=\"Johanna Larsson\" /> at <timestamp .../>.\n\n<followups />\n```\n\n- **Leave tags alone unless you mean to remove what they point at.** Replacing\n  `<user id=\"01JOHANNA\" value=\"Johanna Larsson\" />` with the words \"Johanna Larsson\"\n  turns a live reference into dead text. The document stops knowing who that is.\n- **To add one, copy a tag already in the document and change its attributes.** That is\n  the safest route by far, because the ID is the part you cannot invent.\n- **When there is nothing to copy, read `format://postmortem-document`.** Writing a tag\n  from memory is how you get a tag name the document has no node for, which would be\n  stored as visible markup rather than as a mention. That is refused rather than written,\n  but it costs a round trip.\n- **Tag names use hyphens, never underscores.** An underscore is not legal in an HTML tag\n  name, so `<user_mention/>` is read as prose. The schema's internal type names use\n  underscores; the tags do not.\n- **Some tags are read-only.** A document that already holds one keeps it and your edits\n  leave it alone, but writing a new one is refused. The format resource lists which.\n\nDynamic blocks like `<followups />`, `<timeline />` and `<custom-fields />` are not text\nyou can correct. They render from the incident's own data. If the timeline is wrong, the\nincident's timeline is wrong, and the fix is there rather than in the document. To see\nwhat one of them currently says, read the reader's form.\n\n### When an edit is refused\n\nThe error says which edit and why. The common ones:\n\n- **\"Found nothing matching\"** — the anchor is not in the document. Almost always because\n  it was retyped, or taken from the reader's form, or built from the text you sent in a\n  previous call rather than the text that came back. Read the document again with\n  `postmortem_show` and copy from that.\n- **\"Found N places matching\"** — extend the anchor with surrounding words. The error\n  shows each match in context.\n- **\"The document changed while we were editing it\"** — somebody typed in it between your\n  read and your write. Read it again and re-apply. Do not re-send the same batch blind;\n  their change may be the one you were about to make.\n- **\"is not something this document can hold\"** — a tag name or attribute that is not in\n  the vocabulary. Check `format://postmortem-document`.\n- **\"refers to something on an incident you cannot see\"** — an image, follow-up or scribe\n  tag whose ID belongs elsewhere. Copy the tag from this document rather than writing an\n  ID.\n- **\"this document cannot be read as markdown\"** or **\"would change a part of it nobody\n  asked to change\"** — this particular document cannot go through the tool safely, so\n  nothing was touched. Say so and point the user at the dashboard. This is about the\n  document, not about your edit, and retrying will not help.\n\n### Working with the user\n\nThe document is live and shared. Someone may have it open while you write to it, and\nthere is no draft and no review step, so treat every call as publishing.\n\n- **Edit what was asked and nothing else.** Do not tidy wording, fix headings or\n  restructure sections you were not asked about. It is their document and their voice.\n- **For anything beyond a small correction, say what you are about to write and get\n  agreement first.** Rewriting a section is not a small correction.\n- **Say what you changed, in their words rather than in anchors.** \"Rewrote the root\n  cause paragraph\" is useful; a diff of markdown is not.\n- **Do not invent facts to fill a gap.** If a section is thin because nobody knows what\n  happened, writing something plausible into the document is worse than leaving it thin.\n  Check the incident's own record first, and say what you could not establish.\n\n## 4. Reviewing\n\nA review judges the document and changes nothing. Answer what is asked: a question gets\nan answer, a request to create a follow-up creates one. Offer a review only when the user\nasks for one.\n\nWhen the user asks for a review, settle four things first:\n\n- **Scope** — the whole document, or one section (timeline, root cause, action items)?\n- **Focus** — factual accuracy, structure and clarity, learning value, or all three?\n- **Audience** — the team, the whole organisation, or leadership?\n- **Concerns** — anything they are already unsure about?\n\nIf they decline to answer, or tell you to get on with it: review all three dimensions,\nassume an organisation-wide audience, and cover every section.\n\n### The three dimensions\n\nUse these as a guide for what to ask. Do not recite the framework at the user.\n\n**Factual quality** — is it comprehensive and accurate?\n\n- Are critical events, decisions or timeline entries missing?\n- Do the timeline entries match the incident data?\n- Were important contributing factors or context left out?\n- Is anyone claiming something happened that did not, or the reverse?\n- Are contributing factors evidenced?\n- Does it cover both what enabled the incident and what limited the damage?\n- Are there gaps in the narrative that leave a reader with questions?\n- Are timestamps and durations right?\n\n**Structure and tone** — can a reader who was not there follow it?\n\n- Does each section meet the expectation its help text sets?\n- Is the timeline a narrative of key moments and turning points, rather than an\n  exhaustive audit trail?\n- Is it clear what happened, and when?\n- Is there jargon or assumed knowledge that blocks understanding?\n- Is it blameless?\n\n**Learning value** — will it prevent the next incident?\n\n- Are the learnings specific and actionable, or vague and generic?\n- Are action items identified, owned and achievable?\n- Does it name systemic risks — key-person dependencies, process gaps, architectural\n  problems — or only surface symptoms?\n- Do the lessons reflect what the data shows?\n- Would a reader gain something that applies to other incidents?\n\n### Checking a claim against what happened\n\nThe incident's own record is what a claim is checked against: `incident_show`,\n`incident_update_list` for how the response unfolded, and `action_list` and\n`follow_up_list` for what came out of it. Where telemetry is connected, a claim about\nsystem behaviour — \"the error rate increased tenfold\" — can be checked against it rather\nthan taken on trust.\n\nSome incidents have no telemetry. That is not a finding.\n\n### How to give the feedback\n\n- Point at specific problems, with evidence from the incident data.\n- **Quote the document** so every point lands somewhere concrete, and quote it\n  verbatim rather than paraphrasing. Never invent a quote.\n- Say what is missing or wrong, and why it matters.\n- Give an actionable suggestion, not a verdict.\n- Drop feedback the user cannot act on. If a section is simply fine, say nothing about it.\n- Do not be pedantic about numbers unless the difference is material. \"About 200\" against\n  a true 220 is not worth a comment.\n- When you dispute a fact, say what makes you think it is wrong.\n\n### Turning a review into changes\n\nA review suggests; it does not write. When the user asks you to make the change rather\nthan describe it, go back to **Editing** above — and read the document with\n`postmortem_show` first, because the text you quoted in the review came from the reader's\nform and will not match.\n\nA gap the review exposes — missing monitoring, a process that did not work — is worth a\nfollow-up rather than a sentence in the document. Create one when the user asks, or offer\nwhen the gap is clear.\n"
AFTER
"---\nname: postmortem\ndescription: >\n  Work with an incident's postmortem document — the write-up a team produces after an\n  incident. Use when the conversation is about a postmortem, post-incident review,\n  debrief or retro document: finding it, creating one, reading it, changing its text, or\n  reviewing it against what actually happened. Covers rewriting a section, fixing a claim, adding a\n  timeline entry or a learning, and also judging whether its claims hold up, what is\n  missing, and what should become a follow-up. Not for general questions about an\n  incident, which is the incidents skill.\n---\n\n# Postmortems\n\nA postmortem is generated from a template: a set of sections, each with a title and,\noften, help text telling the writer what belongs there. The help text is the standard a\nsection is measured against.\n\nAn incident usually has one document, but it can have several.\n\nEverything here is one of three jobs. **Finding and reading** comes first and both other\njobs depend on it, because which rendering you read decides whether your work lands.\n**Editing** changes the text. **Reviewing** judges it and changes nothing.\n\n## 1. Finding the document\n\n**Find it with `postmortem_list`.** Pass `incident_id` to scope it to one incident: an\nID, an external ID, or a reference like `INC-123`. Each result carries the `id` the other\ntools take, with the title, status and whether it is the incident's primary document.\n\n**Check what kind of document it is, and whether it exists yet.** Everything below works\non `in_app` documents. An `external` one lives in a provider such as Notion, named in\n`provider`, and nothing here reads or edits it: give the user its `url`. A `state` of\n`pending` means it is still being created and holds only a placeholder, so wait for\n`created` before reading it. `failed` means it never was, with the reason in `error`:\ntell the user rather than trying again unasked.\n\n**An incident can hold several documents.** When more than one comes back and the user\nsaid \"the post-mortem\", tell them what exists and let them choose. Do not take the\nprimary one as what they meant — working on the wrong document is silent, and they will\nnot find out from you.\n\nYou already have the id without calling this when `incident_show` was run with\n`include: [\"postmortem\"]`, which carries the primary document's. That is the primary one\nonly, so it answers \"the post-mortem\" and not \"which post-mortems\".\n\n**When there isn't one, `postmortem_create` makes it.** Choose a template with\n`postmortem_template_list`, passing the incident to see its default. The template's\n`kind` decides what you get: an `in_app` document, or an `external` one, which goes to a\ndestination from `postmortem_destination_list` or to the incident's default. A document\nmade from a template comes back `pending`: follow it with `postmortem_list` until it is\n`created`. To write the post-mortem yourself, pass `content` as markdown instead of a\ntemplate, and it exists straight away.\n\n## 2. Reading it\n\n**There are two renderings of the same document, and they are not interchangeable.**\n\n| | what it is | what to use it for |\n|---|---|---|\n| **Reader's form** — `incident_show` with `include: [\"postmortem\"]` | the document as a person sees it: mentions are names, and the blocks that fill themselves in from the incident are the lists they display | reading, quoting, reviewing |\n| **Editable form** — `postmortem_show` | the same document with those parts as HTML tags carrying their IDs | the only valid source of anchors for an edit |\n\nReading the reader's form and then editing from it is the most common way to waste a\ncall: that text is not in the document, so nothing matches it. Read the form that fits\nthe job you are about to do.\n\n**Read `format://postmortem-document`** before writing a tag you cannot copy from the\ndocument in front of you. It lists every tag, its attributes and an example, and it is\nthe only place they are written down.\n\n## 3. Editing\n\nYou change the document by describing string operations on its markdown. Read it with\n`postmortem_show`, copy the exact text you want to act on out of what came back, and send\nthat text as the anchor for your edit. There is no cursor, no line number and no section\naddressing: an anchor is a substring, and it has to match.\n\nEverything in this section exists because that one mechanism has sharp edges.\n\n### The loop\n\n`postmortem_edit` takes the document ID and a list of edits, up to 50 in one call. The\ncall returns the whole document as markdown.\n\n**Anchor your next edit on what came back, never on what you sent.** The returned\nmarkdown is re-rendered from the document, so the bullet characters, blank lines and\nescaping you wrote may not be the bytes now stored. A second edit built from your own\ntext is the single most common way to get \"Found nothing matching\".\n\nWithin one call, each edit applies to the result of the edit before it. If your second\nedit anchors on text your first edit rewrote, anchor on the new text.\n\nThe whole call is refused if any single edit is, so nothing is ever half-applied. Fix the\nedit that was named and send the batch again.\n\n### The operations\n\n| op | fields | what it does |\n|---|---|---|\n| `replace` | `old_string`, `new_string` | swaps a run of text, or one tag for another |\n| `delete` | `old_string` | removes a run of text, or a whole node |\n| `insert_before` | `anchor`, `text` | adds blocks before the block the anchor sits in |\n| `insert_after` | `anchor`, `text` | adds blocks after the block the anchor sits in |\n| `prepend` | `text` | adds blocks at the very start of the document |\n| `append` | `text` | adds blocks at the very end |\n\n`replace` works at any scale: a word, a sentence, a whole section including its heading.\nPrefer one `replace` spanning a rewritten paragraph over five small ones, because every\nanchor is another chance to miss.\n\n`insert_before` and `insert_after` add **blocks**. They widen the anchor to the whole\nblock containing it and insert either side of that, so you cannot use them to put words\nin the middle of a sentence. Use `replace` for that: make `old_string` the part of the\nsentence you are changing and `new_string` the version with your words in it.\n\n`new_string` may not be empty. Removing text is `delete`, which also tidies up the blank\nlines the removed block leaves behind.\n\nInserted text is parsed as markdown, so headings, lists, tables and formatting all work,\nand so do tags.\n\n### Anchors\n\nAn anchor must appear **exactly once** in the document. Nothing is guessed: an anchor\nmatching nothing is refused, and an anchor matching several places is refused with the\nsurrounding text of each match so you can see what you hit.\n\n- **Copy it. Do not retype it.** Anchors are matched against the markdown, not against\n  what the text looks like on screen. A phrase that reads bold in the document is\n  `**bold**` in the markdown, and an anchor without the asterisks does not match it. The\n  same goes for links, inline code, list markers and heading hashes.\n- **Some characters are escaped in ordinary text.** A literal underscore, asterisk,\n  backtick, backslash, tilde, square bracket or angle bracket in the document is written\n  with a backslash in front of it. Copying handles this; retyping does not.\n- **When an anchor is ambiguous, extend it rather than shortening it.** Add the words\n  before or after it, in the same string, until it names one place. For a mention that\n  appears in several paragraphs, include the sentence it sits in.\n- **Keep anchors as short as they can be while still unique.** A whole paragraph as an\n  anchor for a one-word change means any other edit touching that paragraph invalidates\n  it.\n\n### Tags\n\nA postmortem holds things markdown has no syntax for: mentions carrying the ID of a\nperson or record, blocks that fill themselves in from the incident, marks with no\nmarkdown equivalent. These read and write as self-closing HTML tags.\n\n```\nReported by <user id=\"01JOHANNA\" value=\"Johanna Larsson\" /> at <timestamp .../>.\n\n<followups />\n```\n\n- **Leave tags alone unless you mean to remove what they point at.** Replacing\n  `<user id=\"01JOHANNA\" value=\"Johanna Larsson\" />` with the words \"Johanna Larsson\"\n  turns a live reference into dead text. The document stops knowing who that is.\n- **To add one, copy a tag already in the document and change its attributes.** That is\n  the safest route by far, because the ID is the part you cannot invent.\n- **When there is nothing to copy, read `format://postmortem-document`.** Writing a tag\n  from memory is how you get a tag name the document has no node for, which would be\n  stored as visible markup rather than as a mention. That is refused rather than written,\n  but it costs a round trip.\n- **Tag names use hyphens, never underscores.** An underscore is not legal in an HTML tag\n  name, so `<user_mention/>` is read as prose. The schema's internal type names use\n  underscores; the tags do not.\n- **To add an image you have as a file, upload it first.** Markdown images (`![alt](url)`)\n  and `<img>` are refused, because a document only holds images stored with the incident.\n  Call `postmortem_image_upload_url` with the document's id and the file's type, PUT the\n  file to the `upload_url` it returns, then insert the `tag` it returns with\n  `postmortem_edit`, adding an `alt` that describes the image. If the edit says the upload\n  has not finished, the PUT did not land: check its response before editing again.\n- **Some tags are read-only.** A document that already holds one keeps it and your edits\n  leave it alone, but writing a new one is refused. The format resource lists which.\n\nDynamic blocks like `<followups />`, `<timeline />` and `<custom-fields />` are not text\nyou can correct. They render from the incident's own data. If the timeline is wrong, the\nincident's timeline is wrong, and the fix is there rather than in the document. To see\nwhat one of them currently says, read the reader's form.\n\n### When an edit is refused\n\nThe error says which edit and why. The common ones:\n\n- **\"Found nothing matching\"** — the anchor is not in the document. Almost always because\n  it was retyped, or taken from the reader's form, or built from the text you sent in a\n  previous call rather than the text that came back. Read the document again with\n  `postmortem_show` and copy from that.\n- **\"Found N places matching\"** — extend the anchor with surrounding words. The error\n  shows each match in context.\n- **\"The document changed while we were editing it\"** — somebody typed in it between your\n  read and your write. Read it again and re-apply. Do not re-send the same batch blind;\n  their change may be the one you were about to make.\n- **\"is not something this document can hold\"** — a tag name or attribute that is not in\n  the vocabulary. Check `format://postmortem-document`.\n- **\"refers to something that does not belong to this incident\"** — an image, follow-up\n  or scribe tag whose ID belongs elsewhere. Copy the tag from this document rather than\n  writing an ID.\n- **\"this document cannot be read as markdown\"** or **\"would change a part of it nobody\n  asked to change\"** — this particular document cannot go through the tool safely, so\n  nothing was touched. Say so and point the user at the dashboard. This is about the\n  document, not about your edit, and retrying will not help.\n\n### Working with the user\n\nThe document is live and shared. Someone may have it open while you write to it, and\nthere is no draft and no review step, so treat every call as publishing.\n\n- **Edit what was asked and nothing else.** Do not tidy wording, fix headings or\n  restructure sections you were not asked about. It is their document and their voice.\n- **For anything beyond a small correction, say what you are about to write and get\n  agreement first.** Rewriting a section is not a small correction.\n- **Say what you changed, in their words rather than in anchors.** \"Rewrote the root\n  cause paragraph\" is useful; a diff of markdown is not.\n- **Do not invent facts to fill a gap.** If a section is thin because nobody knows what\n  happened, writing something plausible into the document is worse than leaving it thin.\n  Check the incident's own record first, and say what you could not establish.\n\n## 4. Reviewing\n\nA review judges the document and changes nothing. Answer what is asked: a question gets\nan answer, a request to create a follow-up creates one. Offer a review only when the user\nasks for one.\n\nWhen the user asks for a review, settle four things first:\n\n- **Scope** — the whole document, or one section (timeline, root cause, action items)?\n- **Focus** — factual accuracy, structure and clarity, learning value, or all three?\n- **Audience** — the team, the whole organisation, or leadership?\n- **Concerns** — anything they are already unsure about?\n\nIf they decline to answer, or tell you to get on with it: review all three dimensions,\nassume an organisation-wide audience, and cover every section.\n\n### The three dimensions\n\nUse these as a guide for what to ask. Do not recite the framework at the user.\n\n**Factual quality** — is it comprehensive and accurate?\n\n- Are critical events, decisions or timeline entries missing?\n- Do the timeline entries match the incident data?\n- Were important contributing factors or context left out?\n- Is anyone claiming something happened that did not, or the reverse?\n- Are contributing factors evidenced?\n- Does it cover both what enabled the incident and what limited the damage?\n- Are there gaps in the narrative that leave a reader with questions?\n- Are timestamps and durations right?\n\n**Structure and tone** — can a reader who was not there follow it?\n\n- Does each section meet the expectation its help text sets?\n- Is the timeline a narrative of key moments and turning points, rather than an\n  exhaustive audit trail?\n- Is it clear what happened, and when?\n- Is there jargon or assumed knowledge that blocks understanding?\n- Is it blameless?\n\n**Learning value** — will it prevent the next incident?\n\n- Are the learnings specific and actionable, or vague and generic?\n- Are action items identified, owned and achievable?\n- Does it name systemic risks — key-person dependencies, process gaps, architectural\n  problems — or only surface symptoms?\n- Do the lessons reflect what the data shows?\n- Would a reader gain something that applies to other incidents?\n\n### Checking a claim against what happened\n\nThe incident's own record is what a claim is checked against: `incident_show`,\n`incident_update_list` for how the response unfolded, and `action_list` and\n`follow_up_list` for what came out of it. Where telemetry is connected, a claim about\nsystem behaviour — \"the error rate increased tenfold\" — can be checked against it rather\nthan taken on trust.\n\nSome incidents have no telemetry. That is not a finding.\n\n### How to give the feedback\n\n- Point at specific problems, with evidence from the incident data.\n- **Quote the document** so every point lands somewhere concrete, and quote it\n  verbatim rather than paraphrasing. Never invent a quote.\n- Say what is missing or wrong, and why it matters.\n- Give an actionable suggestion, not a verdict.\n- Drop feedback the user cannot act on. If a section is simply fine, say nothing about it.\n- Do not be pedantic about numbers unless the difference is material. \"About 200\" against\n  a true 220 is not worth a comment.\n- When you dispute a fact, say what makes you think it is wrong.\n\n### Turning a review into changes\n\nA review suggests; it does not write. When the user asks you to make the change rather\nthan describe it, go back to **Editing** above — and read the document with\n`postmortem_show` first, because the text you quoted in the review came from the reader's\nform and will not match.\n\nA gap the review exposes — missing monitoring, a process that did not work — is worth a\nfollow-up rather than a sentence in the document. Create one when the user asks, or offer\nwhen the gap is clear.\n"
Full snapshot data
{
  "description": "Work with an incident's postmortem document — the write-up a team produces after an incident. Use when the conversation is about a postmortem, post-incident review, debrief or retro document: finding it, creating one, reading it, changing its text, or reviewing it against what actually happened. Covers rewriting a section, fixing a claim, adding a timeline entry or a learning, and also judging whether its claims hold up, what is missing, and what should become a follow-up. Not for general questions about an incident, which is the incidents skill.\n",
  "included_files": [],
  "name": "postmortem",
  "skill_md_contents": "---\nname: postmortem\ndescription: >\n  Work with an incident's postmortem document — the write-up a team produces after an\n  incident. Use when the conversation is about a postmortem, post-incident review,\n  debrief or retro document: finding it, creating one, reading it, changing its text, or\n  reviewing it against what actually happened. Covers rewriting a section, fixing a claim, adding a\n  timeline entry or a learning, and also judging whether its claims hold up, what is\n  missing, and what should become a follow-up. Not for general questions about an\n  incident, which is the incidents skill.\n---\n\n# Postmortems\n\nA postmortem is generated from a template: a set of sections, each with a title and,\noften, help text telling the writer what belongs there. The help text is the standard a\nsection is measured against.\n\nAn incident usually has one document, but it can have several.\n\nEverything here is one of three jobs. **Finding and reading** comes first and both other\njobs depend on it, because which rendering you read decides whether your work lands.\n**Editing** changes the text. **Reviewing** judges it and changes nothing.\n\n## 1. Finding the document\n\n**Find it with `postmortem_list`.** Pass `incident_id` to scope it to one incident: an\nID, an external ID, or a reference like `INC-123`. Each result carries the `id` the other\ntools take, with the title, status and whether it is the incident's primary document.\n\n**Check what kind of document it is, and whether it exists yet.** Everything below works\non `in_app` documents. An `external` one lives in a provider such as Notion, named in\n`provider`, and nothing here reads or edits it: give the user its `url`. A `state` of\n`pending` means it is still being created and holds only a placeholder, so wait for\n`created` before reading it. `failed` means it never was, with the reason in `error`:\ntell the user rather than trying again unasked.\n\n**An incident can hold several documents.** When more than one comes back and the user\nsaid \"the post-mortem\", tell them what exists and let them choose. Do not take the\nprimary one as what they meant — working on the wrong document is silent, and they will\nnot find out from you.\n\nYou already have the id without calling this when `incident_show` was run with\n`include: [\"postmortem\"]`, which carries the primary document's. That is the primary one\nonly, so it answers \"the post-mortem\" and not \"which post-mortems\".\n\n**When there isn't one, `postmortem_create` makes it.** Choose a template with\n`postmortem_template_list`, passing the incident to see its default. The template's\n`kind` decides what you get: an `in_app` document, or an `external` one, which goes to a\ndestination from `postmortem_destination_list` or to the incident's default. A document\nmade from a template comes back `pending`: follow it with `postmortem_list` until it is\n`created`. To write the post-mortem yourself, pass `content` as markdown instead of a\ntemplate, and it exists straight away.\n\n## 2. Reading it\n\n**There are two renderings of the same document, and they are not interchangeable.**\n\n| | what it is | what to use it for |\n|---|---|---|\n| **Reader's form** — `incident_show` with `include: [\"postmortem\"]` | the document as a person sees it: mentions are names, and the blocks that fill themselves in from the incident are the lists they display | reading, quoting, reviewing |\n| **Editable form** — `postmortem_show` | the same document with those parts as HTML tags carrying their IDs | the only valid source of anchors for an edit |\n\nReading the reader's form and then editing from it is the most common way to waste a\ncall: that text is not in the document, so nothing matches it. Read the form that fits\nthe job you are about to do.\n\n**Read `format://postmortem-document`** before writing a tag you cannot copy from the\ndocument in front of you. It lists every tag, its attributes and an example, and it is\nthe only place they are written down.\n\n## 3. Editing\n\nYou change the document by describing string operations on its markdown. Read it with\n`postmortem_show`, copy the exact text you want to act on out of what came back, and send\nthat text as the anchor for your edit. There is no cursor, no line number and no section\naddressing: an anchor is a substring, and it has to match.\n\nEverything in this section exists because that one mechanism has sharp edges.\n\n### The loop\n\n`postmortem_edit` takes the document ID and a list of edits, up to 50 in one call. The\ncall returns the whole document as markdown.\n\n**Anchor your next edit on what came back, never on what you sent.** The returned\nmarkdown is re-rendered from the document, so the bullet characters, blank lines and\nescaping you wrote may not be the bytes now stored. A second edit built from your own\ntext is the single most common way to get \"Found nothing matching\".\n\nWithin one call, each edit applies to the result of the edit before it. If your second\nedit anchors on text your first edit rewrote, anchor on the new text.\n\nThe whole call is refused if any single edit is, so nothing is ever half-applied. Fix the\nedit that was named and send the batch again.\n\n### The operations\n\n| op | fields | what it does |\n|---|---|---|\n| `replace` | `old_string`, `new_string` | swaps a run of text, or one tag for another |\n| `delete` | `old_string` | removes a run of text, or a whole node |\n| `insert_before` | `anchor`, `text` | adds blocks before the block the anchor sits in |\n| `insert_after` | `anchor`, `text` | adds blocks after the block the anchor sits in |\n| `prepend` | `text` | adds blocks at the very start of the document |\n| `append` | `text` | adds blocks at the very end |\n\n`replace` works at any scale: a word, a sentence, a whole section including its heading.\nPrefer one `replace` spanning a rewritten paragraph over five small ones, because every\nanchor is another chance to miss.\n\n`insert_before` and `insert_after` add **blocks**. They widen the anchor to the whole\nblock containing it and insert either side of that, so you cannot use them to put words\nin the middle of a sentence. Use `replace` for that: make `old_string` the part of the\nsentence you are changing and `new_string` the version with your words in it.\n\n`new_string` may not be empty. Removing text is `delete`, which also tidies up the blank\nlines the removed block leaves behind.\n\nInserted text is parsed as markdown, so headings, lists, tables and formatting all work,\nand so do tags.\n\n### Anchors\n\nAn anchor must appear **exactly once** in the document. Nothing is guessed: an anchor\nmatching nothing is refused, and an anchor matching several places is refused with the\nsurrounding text of each match so you can see what you hit.\n\n- **Copy it. Do not retype it.** Anchors are matched against the markdown, not against\n  what the text looks like on screen. A phrase that reads bold in the document is\n  `**bold**` in the markdown, and an anchor without the asterisks does not match it. The\n  same goes for links, inline code, list markers and heading hashes.\n- **Some characters are escaped in ordinary text.** A literal underscore, asterisk,\n  backtick, backslash, tilde, square bracket or angle bracket in the document is written\n  with a backslash in front of it. Copying handles this; retyping does not.\n- **When an anchor is ambiguous, extend it rather than shortening it.** Add the words\n  before or after it, in the same string, until it names one place. For a mention that\n  appears in several paragraphs, include the sentence it sits in.\n- **Keep anchors as short as they can be while still unique.** A whole paragraph as an\n  anchor for a one-word change means any other edit touching that paragraph invalidates\n  it.\n\n### Tags\n\nA postmortem holds things markdown has no syntax for: mentions carrying the ID of a\nperson or record, blocks that fill themselves in from the incident, marks with no\nmarkdown equivalent. These read and write as self-closing HTML tags.\n\n```\nReported by <user id=\"01JOHANNA\" value=\"Johanna Larsson\" /> at <timestamp .../>.\n\n<followups />\n```\n\n- **Leave tags alone unless you mean to remove what they point at.** Replacing\n  `<user id=\"01JOHANNA\" value=\"Johanna Larsson\" />` with the words \"Johanna Larsson\"\n  turns a live reference into dead text. The document stops knowing who that is.\n- **To add one, copy a tag already in the document and change its attributes.** That is\n  the safest route by far, because the ID is the part you cannot invent.\n- **When there is nothing to copy, read `format://postmortem-document`.** Writing a tag\n  from memory is how you get a tag name the document has no node for, which would be\n  stored as visible markup rather than as a mention. That is refused rather than written,\n  but it costs a round trip.\n- **Tag names use hyphens, never underscores.** An underscore is not legal in an HTML tag\n  name, so `<user_mention/>` is read as prose. The schema's internal type names use\n  underscores; the tags do not.\n- **To add an image you have as a file, upload it first.** Markdown images (`![alt](url)`)\n  and `<img>` are refused, because a document only holds images stored with the incident.\n  Call `postmortem_image_upload_url` with the document's id and the file's type, PUT the\n  file to the `upload_url` it returns, then insert the `tag` it returns with\n  `postmortem_edit`, adding an `alt` that describes the image. If the edit says the upload\n  has not finished, the PUT did not land: check its response before editing again.\n- **Some tags are read-only.** A document that already holds one keeps it and your edits\n  leave it alone, but writing a new one is refused. The format resource lists which.\n\nDynamic blocks like `<followups />`, `<timeline />` and `<custom-fields />` are not text\nyou can correct. They render from the incident's own data. If the timeline is wrong, the\nincident's timeline is wrong, and the fix is there rather than in the document. To see\nwhat one of them currently says, read the reader's form.\n\n### When an edit is refused\n\nThe error says which edit and why. The common ones:\n\n- **\"Found nothing matching\"** — the anchor is not in the document. Almost always because\n  it was retyped, or taken from the reader's form, or built from the text you sent in a\n  previous call rather than the text that came back. Read the document again with\n  `postmortem_show` and copy from that.\n- **\"Found N places matching\"** — extend the anchor with surrounding words. The error\n  shows each match in context.\n- **\"The document changed while we were editing it\"** — somebody typed in it between your\n  read and your write. Read it again and re-apply. Do not re-send the same batch blind;\n  their change may be the one you were about to make.\n- **\"is not something this document can hold\"** — a tag name or attribute that is not in\n  the vocabulary. Check `format://postmortem-document`.\n- **\"refers to something that does not belong to this incident\"** — an image, follow-up\n  or scribe tag whose ID belongs elsewhere. Copy the tag from this document rather than\n  writing an ID.\n- **\"this document cannot be read as markdown\"** or **\"would change a part of it nobody\n  asked to change\"** — this particular document cannot go through the tool safely, so\n  nothing was touched. Say so and point the user at the dashboard. This is about the\n  document, not about your edit, and retrying will not help.\n\n### Working with the user\n\nThe document is live and shared. Someone may have it open while you write to it, and\nthere is no draft and no review step, so treat every call as publishing.\n\n- **Edit what was asked and nothing else.** Do not tidy wording, fix headings or\n  restructure sections you were not asked about. It is their document and their voice.\n- **For anything beyond a small correction, say what you are about to write and get\n  agreement first.** Rewriting a section is not a small correction.\n- **Say what you changed, in their words rather than in anchors.** \"Rewrote the root\n  cause paragraph\" is useful; a diff of markdown is not.\n- **Do not invent facts to fill a gap.** If a section is thin because nobody knows what\n  happened, writing something plausible into the document is worse than leaving it thin.\n  Check the incident's own record first, and say what you could not establish.\n\n## 4. Reviewing\n\nA review judges the document and changes nothing. Answer what is asked: a question gets\nan answer, a request to create a follow-up creates one. Offer a review only when the user\nasks for one.\n\nWhen the user asks for a review, settle four things first:\n\n- **Scope** — the whole document, or one section (timeline, root cause, action items)?\n- **Focus** — factual accuracy, structure and clarity, learning value, or all three?\n- **Audience** — the team, the whole organisation, or leadership?\n- **Concerns** — anything they are already unsure about?\n\nIf they decline to answer, or tell you to get on with it: review all three dimensions,\nassume an organisation-wide audience, and cover every section.\n\n### The three dimensions\n\nUse these as a guide for what to ask. Do not recite the framework at the user.\n\n**Factual quality** — is it comprehensive and accurate?\n\n- Are critical events, decisions or timeline entries missing?\n- Do the timeline entries match the incident data?\n- Were important contributing factors or context left out?\n- Is anyone claiming something happened that did not, or the reverse?\n- Are contributing factors evidenced?\n- Does it cover both what enabled the incident and what limited the damage?\n- Are there gaps in the narrative that leave a reader with questions?\n- Are timestamps and durations right?\n\n**Structure and tone** — can a reader who was not there follow it?\n\n- Does each section meet the expectation its help text sets?\n- Is the timeline a narrative of key moments and turning points, rather than an\n  exhaustive audit trail?\n- Is it clear what happened, and when?\n- Is there jargon or assumed knowledge that blocks understanding?\n- Is it blameless?\n\n**Learning value** — will it prevent the next incident?\n\n- Are the learnings specific and actionable, or vague and generic?\n- Are action items identified, owned and achievable?\n- Does it name systemic risks — key-person dependencies, process gaps, architectural\n  problems — or only surface symptoms?\n- Do the lessons reflect what the data shows?\n- Would a reader gain something that applies to other incidents?\n\n### Checking a claim against what happened\n\nThe incident's own record is what a claim is checked against: `incident_show`,\n`incident_update_list` for how the response unfolded, and `action_list` and\n`follow_up_list` for what came out of it. Where telemetry is connected, a claim about\nsystem behaviour — \"the error rate increased tenfold\" — can be checked against it rather\nthan taken on trust.\n\nSome incidents have no telemetry. That is not a finding.\n\n### How to give the feedback\n\n- Point at specific problems, with evidence from the incident data.\n- **Quote the document** so every point lands somewhere concrete, and quote it\n  verbatim rather than paraphrasing. Never invent a quote.\n- Say what is missing or wrong, and why it matters.\n- Give an actionable suggestion, not a verdict.\n- Drop feedback the user cannot act on. If a section is simply fine, say nothing about it.\n- Do not be pedantic about numbers unless the difference is material. \"About 200\" against\n  a true 220 is not worth a comment.\n- When you dispute a fact, say what makes you think it is wrong.\n\n### Turning a review into changes\n\nA review suggests; it does not write. When the user asks you to make the change rather\nthan describe it, go back to **Editing** above — and read the document with\n`postmortem_show` first, because the text you quoted in the review came from the reader's\nform and will not match.\n\nA gap the review exposes — missing monitoring, a process that did not work — is worth a\nfollow-up rather than a sentence in the document. Create one when the user asks, or offer\nwhen the gap is clear.\n"
}

SHA-256 of public snapshot: b151d8a59910dc906380f789cc8d95252f14de4d6a72e62e8ddf02d93864e5f1