notify

notify is a command for Claude Code from skynetcmd/m3-memory. It costs 12 tokens per session (803 once invoked), scanned A, original, Apache-2.0.

A command that checks an inbox for notifications sent to the current agent. It displays each message with its severity, sender, time, and acknowledgement command.

In plain words
What is it for?
Use it to poll notifications, review incoming messages, and decide whether to acknowledge individual messages or all of them.
Why use it?
It makes new agent-to-agent messages visible and explains how to mark them as acknowledged. An empty result is reported clearly as an empty inbox.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

Part of the m3 plugin — 16 skills, 15 commands, 2 agents, 3 hooks, 2 MCP servers shipped together

Good fit Use it to poll notifications, review incoming messages, and decide whether to acknowledge individual messages or all of them.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/skynetcmd/m3-memory/notify
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/skynetcmd/m3-memory

Made for: Claude Code.

Or install m3, the plugin that ships this one along with the rest of its 16 skills, 15 commands, 2 agents, 3 hooks, 2 MCP servers.

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 notify

README.md
[![agentmods](https://agentmods.dev/badge/commands/skynetcmd/m3-memory/notify/github.svg)](https://agentmods.dev/commands/skynetcmd/m3-memory/notify)
Your own site
<a href="https://agentmods.dev/commands/skynetcmd/m3-memory/notify"><img src="https://agentmods.dev/badge/commands/skynetcmd/m3-memory/notify/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 notify

Your own site · 80×15
<a href="https://agentmods.dev/commands/skynetcmd/m3-memory/notify"><img src="https://agentmods.dev/badge/commands/skynetcmd/m3-memory/notify.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 803 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 original No closer match found 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.00012 $0.00803
Opus 5.5 $0.00005 $0.00321
Sonnet 5.5 $0.00002 $0.00161
Haiku 4.5 $0.00001 $0.00080

Measured 1mo ago against content hash 669c7ac87a18, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

notify 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 1mo 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.

commands/notify.md · 82 lines

How it starts

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

Poll via the CLI, not an MCP tool call. notifications_poll lives in m3's admin domain, and even after tools_load_domain(admin) it is often not invokable from an LLM-facing session. m3_call is not a fallback: the anti-spoofing guard refuses an LLM-facing caller that addresses an arbitrary agent_id and fails with "caller's identity was refused". The CLI is the supported path.

1. Resolve your inbox

Notifications are addressed to an agent_id, so you need yours before polling:

m3 agent agent_list

Claude Code polls claude-code. Sessions may also register a per-session id (claude-code@<short>) — if one exists for this session, poll both, since a sender may have addressed either. Ignore other agents' inboxes (agy, probe-*).

2. Poll

m3 admin notifications_poll --agent_id <id> --limit 20 --as_records

--as_records returns JSON; omit it for a one-line-per-item display string. Records look like:

{"count": 1, "items": [{"id": 1270, "kind": "test_message",
  "created_at": "2026-09-16T00:46:19+00:00", "read_at": null, "received_at": null,
  "payload": {"message": "...", "severity": "info", "_from": {"agent": "claude-code"}}}]}

Only id, kind, created_at, read_at, received_at and payload are guaranteed. Severity, message and sender are not top-level fields — they are conventions inside payload (sender is payload._from.agent, and _from.session when the sender set one). Any of them may be absent.

Render each notification as:

[<payload.severity or kind>] <created_at>  from <payload._from.agent or "unknown">:
  <payload.message, else the payload compactly>
  ack: m3 admin notifications_ack --notification_id <id>

If notifications_poll reports the agent is not registered, the inbox result is still valid — that note only means the poll recorded no heartbeat.

3. Ack

Only after listing, ask whether to ack. Never ack unprompted — an unread notification no one has read is the signal.

Read the full file on GitHub · 82 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. 1mo ago Changed · +64 lines 669c7ac87a18
  2. 1mo ago First seen · 18 lines · 12 tokens per session scan A 86bc5178f8b6

Subscribe to this mod's changes

notify is a command published in the GitHub repository skynetcmd/m3-memory (29 stars, last pushed today), licensed Apache-2.0. It adds 12 tokens to every session and 803 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.