{"id":100984,"plugin_id":"plugins_6aed3278a3848191925fc74753ecbe72","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-11-17T06:15:21.494Z","digest":"f3eab645350aafddcfb0252b838339134f3096617976057d50fe61a05bff2447","against":null,"payload":{"description":"IDMP notification skill. Use it to inspect global notification config, contact points, templates, delivery history, template-level rules, and test-send behavior.","included_files":[{"relative_path":"references/notification-read-flows.md","size_in_bytes":1726}],"name":"idmp-notification","skill_md_contents":"---\nname: idmp-notification\ndescription: \"IDMP notification skill. Use it to inspect global notification config, contact points, templates, delivery history, template-level rules, and test-send behavior.\"\nmetadata:\n  author: \"TAOS Data\"\n  version: \"0.3.1\"\n  owner_team: \"AI\"\n  requires:\n    bins:\n      - idmp-cli\n  cliHelp: \"idmp-cli notification --help\"\n---\n\n# notification\n\n**Read [`../idmp-shared/SKILL.md`](../idmp-shared/SKILL.md) first.**\n\n**Before any write:** Follow the [🛑 Destructive op confirmation protocol](../idmp-shared/SKILL.md#-destructive-op-confirmation-mandatory). Read-only commands stay read-only here, but delete / write / patch flows still require the shared yes-gate.\n\n\n## What this skill covers\n\n- Read global notification configuration, contact points, default contact point, and templates.\n- Read delivery history and message details for troubleshooting.\n- Distinguish global infrastructure from element or element-template notify rules.\n- Use `try-send` only when a real test notification is acceptable.\n\n## Recommended shortcuts\n\n| Shortcut | Purpose |\n|----------|---------|\n| `+config` | Show notification config |\n| `+contacts` | List notification contact points |\n| `+default` | Show the default contact point |\n| `+details` | List notification delivery details |\n| `+rules` | List notification rules for one element template |\n\n## Recommended reference\n\n- [`Notification read flows`](references/notification-read-flows.md)\n- [`../idmp-workflow-alert-create/SKILL.md`](../idmp-workflow-alert-create/SKILL.md)\n- [`../idmp-workflow-alert-debug/SKILL.md`](../idmp-workflow-alert-debug/SKILL.md)\n\n## Missing context to resolve first\n\n| Context | Why it must be resolved before side effects |\n| --- | --- |\n| Scope type | Decide whether you are reading global notification infrastructure, element-scoped notify rules, or template-scoped notify rules. |\n| Owner scope | If the task touches notify rules, you need the exact `elementId` or `elementTemplateId` first. |\n| Delivery intent | Decide whether you only need history and config reads or whether a real `try-send` side effect is allowed. |\n| Template ID source | If you do not already know a template `id`, start with the generated template-list command `notification notification templates`. |\n| Rule target | Decide which contact point, template, severity, and resend policy the final rule should cover. |\n| Verification window | Decide how you will reread delivery history after resend or `try-send`. |\n\n## Constrained live behaviors\n\n- Element-scoped investigations use `notification notify-rules list`; template-scoped investigations use `notification notify-rules list-get`.\n- `notification template get` does have a generated list companion, but it lives under the awkward path `notification notification templates`. Use that list before you guess a template ID.\n- `try-send` is a real notification side effect when it runs without `--dry-run`, and it should run only when the operator explicitly accepts that validation.\n- If the task only needs a safe payload preview on a real event, prefer `try-send --dry-run --ack-risk`; treat that as validation of command shape, not proof that delivery completed.\n- `notification page list` is backed by message-detail pages, not by raw resend attempts. A resend can update an existing detail row and append records under it instead of creating a new top-level page row.\n- Delivery history can lag behind resend or `try-send`, so reread `notification page list` instead of assuming the first response is final.\n- Delivery retries can also be throttled by the event's minimum notification interval, so “no obvious new row yet” is not always a send failure.\n- Global notification config and contact points can be healthy even when no rule binds the target event template or severity.\n- If the task is really about creating or repairing alert delivery bindings, switch to [`../idmp-workflow-alert-create/SKILL.md`](../idmp-workflow-alert-create/SKILL.md) or [`../idmp-workflow-alert-debug/SKILL.md`](../idmp-workflow-alert-debug/SKILL.md).\n\n## Evidence of completion\n\n- A global config read is only complete when the reread exposes the same config or contact-point object you summarized.\n- A rule workflow is only complete when the scoped `notify-rules` reread shows the intended binding on the same owner.\n- A delivery proof is only complete when `notification page list` or the message-detail reread reflects the send or resend outcome you claimed.\n\n## Operator workflow\n\n1. Treat `config`, `contact-point`, `default`, and `template` / `templates` as global notification infrastructure.\n2. Treat `notify-rules` as bindings on elements or element templates, not as global config.\n3. Use `notification notification templates` before `template get` when no template ID is already known.\n4. Use `page list` and `details get` for delivery history and message-level troubleshooting.\n5. Remember that resend visibility is detail-centric: a retry can land as an extra record under an existing detail instead of a brand-new page row.\n6. Use `try-send --dry-run --ack-risk` for safe preview-only validation, and use non-dry-run `try-send` only when the operator explicitly accepts a real notification side effect.\n7. After any change, verify by re-reading config or rules and then checking delivery history.\n\n## Key commands\n\n```bash\nidmp-cli schema notification.config.list\nidmp-cli notification config list\n\nidmp-cli schema notification.list.list\nidmp-cli notification list list\n\nidmp-cli schema notification.notification.templates\nidmp-cli notification notification templates\n\nidmp-cli schema notification.template.get\nidmp-cli notification template get --params '{\"id\":123}'\n\nidmp-cli schema notification.notify-rules.list-get\nidmp-cli notification notify-rules list-get --params '{\"elementTemplateId\":123}'\n\nidmp-cli schema notification.page.list\nidmp-cli notification page list --params '{\"current\":1,\"size\":20}'\n\nidmp-cli schema notification.try-send.create-post\nidmp-cli notification try-send create-post --ack-risk --data '{...}' --params '{\"elementTemplateId\":123}'\n\nidmp-cli schema notification.try-send.create\nidmp-cli notification try-send create --dry-run --ack-risk --data '{...}' --params '{\"elementId\":123}'\n```\n\n## Exception and failure handling\n\n- Global config is missing or disabled: notify rules may exist but delivery still will not happen.\n- Contact-point or template reads fail: confirm the current account has notification administration access.\n- You need a template read but have no template ID: use `idmp-cli notification notification templates` first, and create a temporary template fixture only if the environment truly has no reusable template to inspect.\n- A template rule list is empty: treat that as “no binding exists yet,” not as proof of a delivery outage.\n- Dry-run `try-send` succeeds but there is no notification history: that is expected; dry-run only proves the payload shape and preview path.\n- Non-dry-run `try-send` runs but no message arrives: inspect contact points, template content, channel settings, and delivery history.\n- Delivery history looks empty after resend: widen the paging or time scope, inspect the existing detail row, and consider minimum-interval throttling before deciding no retry was attempted.\n\n## Validation scenarios\n\n1. Read global notification config with `idmp-cli notification config list`.\n2. List contact points with `idmp-cli notification list list`.\n3. List templates with `idmp-cli notification notification templates`, then read one template with `idmp-cli notification template get --params '{\"id\":123}'`.\n4. List template rules with `idmp-cli notification notify-rules list-get --params '{\"elementTemplateId\":123}'`, or list element rules with `idmp-cli notification notify-rules list --params '{\"elementId\":123}'` when the scope is element mode.\n5. Query delivery history with `idmp-cli notification page list --params '{\"current\":1,\"size\":20}'`, or preview a safe element-scoped `try-send` with `idmp-cli notification try-send create --dry-run --ack-risk --data '{...}' --params '{\"elementId\":123}'` when a live test only needs payload validation.\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}