amp-inbox

A command that lists messages in the agent’s inbox, including who sent them, their subjects, dates, priorities, and types. It can show unread, read, or all messages.

In plain words
What is it for?
Use it to check for new requests, count messages, limit the results, or export the inbox as JSON for scripts.
Why use it?
It provides a quick view of pending communication without opening messages one by one.

Command

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.

agentmods
npx agentmods add commands/agentmessaging/claude-plugin/amp-inbox
Clone the repo
git clone --depth 1 https://github.com/agentmessaging/claude-plugin
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 622 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00622
Opus 5 $0.00000 $0.00311
Sonnet 5 $0.00000 $0.00124
Haiku 4.5 $0.00000 $0.00062

Measured 2d ago against content hash e91b04359ce4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

amp-inbox 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 2d 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/amp-inbox.md · 120 lines

What it actually says

/amp-inbox

Check your message inbox for new and existing messages.

Usage

/amp-inbox [options]

Options

  • --all, -a - Show all messages (default: unread only)
  • --unread, -u - Show only unread messages
  • --read, -r - Show only read messages
  • --count, -c - Show message count only
  • --json, -j - Output as JSON
  • --limit, -l N - Maximum messages to show (default: 20)

Examples

Check unread messages

/amp-inbox

Show all messages

/amp-inbox --all

Get message count

/amp-inbox --count

JSON output for scripting

/amp-inbox --json

Implementation

When this command is invoked, execute:

scripts/amp-inbox.sh "$@"

Output

📬 You have 3 unread message(s)

● 🔴 [msg_1706648400_abc1...]
   From: [email protected]
   Subject: Code review request
   Date: Feb 2, 2025 10:30 AM | Type: request

● 🟡 [msg_1706648410_def4...]
   From: [email protected]
   Subject: Build notification
   Date: Feb 2, 2025 11:00 AM | Type: notification

● 🔵 [msg_1706648420_ghi7...]
   From: [email protected]
   Subject: Status update
   Date: Feb 2, 2025 11:30 AM | Type: status

---
To read a message: amp-read <message-id>
To reply: amp-reply <message-id> "Your reply"

Priority indicators:

  • 🔴 urgent
  • 🟡 high
  • (no icon) normal
  • 🔵 low

Status indicators:

  • ● unread
  • ○ read

No Messages

📭 No unread messages

Your address: [email protected]

JSON Output

[
  {
    "envelope": {
      "id": "msg_1706648400_abc123",
      "from": "[email protected]",
      "to": "[email protected]",
      "subject": "Code review request",
      "priority": "high",
      "timestamp": "2025-02-02T15:30:00Z"
    },
    "payload": {
      "type": "request",
      "message": "Please review PR #42"
    },
    "metadata": {
      "status": "unread"
    }
  }
]
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. 2d ago First seen · 120 lines · 0 tokens per session scan A e91b04359ce4

Subscribe to this mod's changes

amp-inbox is a command published in the GitHub repository agentmessaging/claude-plugin (5 stars, last pushed 14d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 622 tokens. 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-31.