Skip to content
Back to skills

M3 Notify

ASecurity

Poll the inbox for new notifications addressed to you.

  • 29 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 9, 2026
ai-agentsbash

Works with

  • cli
  • mcp

Security analysis

A100/100

Scanned November 9, 2026

npx -y skills add skynetcmd/m3-memory --skill m3-notify --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of M3 Notify?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for M3 Notify
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/skynetcmd-m3-notify-m3-memory/badge)](https://www.skillsdirectory.com/skills/skynetcmd-m3-notify-m3-memory)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: m3-notify
description: "Poll the inbox for new notifications addressed to you."
---

<!-- Generated by bin/gen_agent_plugins.py from commands/notify.md; edit that file and re-run. -->

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:

```bash
m3 agent agent_list
```

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

## 2. Poll

```bash
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:

```json
{"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.

**Ack by specific id. Always.**

```bash
m3 admin notifications_ack --notification_id <id>
```

⚠ **Do not use `notifications_ack_all` after reading or replying.** It acks
everything unread *at the moment it runs* — including messages that arrived while
you were composing, which you have never seen. `notifications` carries a single
timestamp, `read_at`; that flag was the only record the work was pending, so there
is nothing to recover from and a lost message is indistinguishable from one you
read and declined to answer. (Measured: AGY lost a message this way on
2026-09-15.)

Reserve `ack_all` for deliberately dumping a backlog you have decided not to
read, and never chain it after a reply. If you only need to confirm delivery, use
`m3 admin notifications_mark_received --agent_id <id>` — it stamps `received_at`,
is idempotent, and never touches `read_at`, so unread messages stay unread.

Neither ack command needs `--yes`.

Empty inbox is the expected state — say "inbox is clear" rather than printing nothing.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.