EAD_Enterprise_Suite_MCP: Command for Claude Code

.claude/commands/notification-attachments.md

notification-attachments is a command for Claude Code from g-digital-by-Garrigues/EAD_Enterprise_Suite_MCP. It costs 0 tokens per session (1,332 once invoked), scanned A, a copy of notification-attachments, MIT.

A command for adding documents to a certified notification before it is sent. It requires each document to be registered, uploaded, and ready before any recipient is added.

In plain words
What is it for?
It helps prepare notifications that include one or more documents, while avoiding failed sends caused by incorrect attachment order.
Why use it?
The notification service has a strict ordering rule: adding a recipient first prevents attachments from being added, and an unfinished upload can make sending fail.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is g-digital-by-Garrigues/EAD_Enterprise_Suite_MCP's own configuration. It tells Claude Code how to work on EAD_Enterprise_Suite_MCP itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything EAD_Enterprise_Suite_MCP configures →

Reuse

Borrowing it

Nothing to install: this file belongs to g-digital-by-Garrigues/EAD_Enterprise_Suite_MCP. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/g-digital-by-Garrigues/EAD_Enterprise_Suite_MCP/main/.claude/commands/notification-attachments.md
Clone the repo
git clone --depth 1 https://github.com/g-digital-by-Garrigues/EAD_Enterprise_Suite_MCP

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for notification-attachments

README.md
[![agentmods](https://agentmods.dev/badge/commands/g-digital-by-garrigues/ead_enterprise_suite_mcp/notification-attachments/github.svg)](https://agentmods.dev/commands/g-digital-by-garrigues/ead_enterprise_suite_mcp/notification-attachments)
Your own site
<a href="https://agentmods.dev/commands/g-digital-by-garrigues/ead_enterprise_suite_mcp/notification-attachments"><img src="https://agentmods.dev/badge/commands/g-digital-by-garrigues/ead_enterprise_suite_mcp/notification-attachments/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for notification-attachments

Your own site · 80×15
<a href="https://agentmods.dev/commands/g-digital-by-garrigues/ead_enterprise_suite_mcp/notification-attachments"><img src="https://agentmods.dev/badge/commands/g-digital-by-garrigues/ead_enterprise_suite_mcp/notification-attachments.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,332 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.01332
Opus 5 $0.00000 $0.00666
Sonnet 5 $0.00000 $0.00266
Haiku 4.5 $0.00000 $0.00133

Measured 4d ago against content hash 2f4279e6a23e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

notification-attachments scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to notification-attachments — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/commands/notification-attachments.md · 111 lines

How it starts

The opening of the file, as written. The whole thing — 111 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Certified Notifications — Attachments

Attach one or more documents to a certified notification. Read this before attaching anything: the API imposes an ordering rule here that it does not impose anywhere else, and violating it fails the send after the notification already exists.

The rule

Documents must be registered and uploaded BEFORE any recipient is added, and every document must reach READY_TO_SEND before the notification is sent.

Attaching after recipients, or sending while a document is still PENDING, fails with 409 / 404 NOTIFICATION_NOT_FOUND. This is tested behaviour, not a guess.

The consequence worth internalising: once a recipient exists, you can no longer attach a document. If an upload fails, stop and fix it before adding anyone. A notification that already has recipients can never receive the file you meant to send with it.

The easy way

notification_send_with_attachments does the whole sequence in one call:

notification_send_with_attachments
  caseFileId=<cf-id>
  subject="Your contract"           language=en_GB     type=NO_RESPONSE
  content="<p>Please review the attached document.</p>"
  attachments=[ { file: { source: "path", path: "/abs/path/contract.pdf" } } ]
  recipients=[ { firstName: "Alice", lastName: "Smith", email: "[email protected]" } ]

Each attachment's file accepts four sources:

source Fields Use when
path path the file is on the server's own machine (stdio/local mode only)
base64 filename, contentBase64 you already hold the bytes
url url the file is at an HTTPS URL (fetched with SSRF protection)
n8n-binary binaryRef the file came from a previous node in an n8n workflow

The hash, the presigned upload and the READY_TO_SEND wait are handled internally.

If an attachment fails, the tool stops before adding recipients and returns the draft's notificationRequestId. That is deliberate — see the rule above. Retry the failed file with notification_document_add, or discard the draft with notification_request_delete.

Read the full file on GitHub · 111 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 111 lines · 0 tokens per session scan A 2f4279e6a23e

Subscribe to this mod's changes

notification-attachments is a command published in the GitHub repository g-digital-by-Garrigues/EAD_Enterprise_Suite_MCP (0 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,332 tokens. A static security scan graded it A with 0 findings. It is 100% identical to notification-attachments, differing in 0 lines, and is treated as a copy.