amp-statusline

amp-statusline is a command for Claude Code from agentmessaging/claude-plugin. It costs 0 tokens per session (319 once invoked), scanned B, original, Apache-2.0.

A command that installs, removes, or previews an AMP status line in Claude Code. AMP is a messaging system for AI agents, and the status line displays agent and session details at the bottom of the terminal.

In plain words
What is it for?
Use it to install or uninstall the status line, preview its output, and see the agent address, unread-message count, model, context usage, and session cost.
Why use it?
It keeps messaging and session information visible without opening separate status commands or tools.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; positional $N argument; mentions Claude Code.

Part of the agent-messaging plugin — 1 skill, 13 commands shipped together

Good fit Use it to install or uninstall the status line, preview its output, and see the agent address, unread-message count, model, context usage, and session cost.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/agentmessaging/claude-plugin/amp-statusline
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/agentmessaging/claude-plugin

Made for: Claude Code.

Or install agent-messaging, the plugin that ships this one along with the rest of its 1 skill, 13 commands.

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 amp-statusline

README.md
[![agentmods](https://agentmods.dev/badge/commands/agentmessaging/claude-plugin/amp-statusline/github.svg)](https://agentmods.dev/commands/agentmessaging/claude-plugin/amp-statusline)
Your own site
<a href="https://agentmods.dev/commands/agentmessaging/claude-plugin/amp-statusline"><img src="https://agentmods.dev/badge/commands/agentmessaging/claude-plugin/amp-statusline/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 amp-statusline

Your own site · 80×15
<a href="https://agentmods.dev/commands/agentmessaging/claude-plugin/amp-statusline"><img src="https://agentmods.dev/badge/commands/agentmessaging/claude-plugin/amp-statusline.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 319 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00000 $0.00319
Opus 5.5 $0.00000 $0.00128
Sonnet 5.5 $0.00000 $0.00064
Haiku 4.5 $0.00000 $0.00032

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

Security

Grade B, and why

amp-statusline scanned grade B with 1 finding 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 3mo 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

5. Working directory → walks up to find `.claude/settings.local.json` containing a `CLAUDE_AGENT_NAME=` reference
commands/amp-statusline.md · 51 lines

What it actually says

amp-statusline

Install or manage the AMP status line for Claude Code.

Usage

amp-statusline.sh --install     # Add to Claude Code settings
amp-statusline.sh --uninstall   # Remove from Claude Code settings
amp-statusline.sh --test        # Preview output with current agent

What It Shows

The status line appears at the bottom of your Claude Code terminal:

[email protected] | 3 unread
Opus 4.6 | ctx 42% | $1.23
  • Line 1: Your AMP agent address and unread message count
  • Line 2: Model name, context window usage, and session cost

How It Finds Your Agent

The script resolves your AMP identity automatically:

  1. AMP_AGENT_ID env var (explicit UUID)
  2. CLAUDE_AGENT_NAME env var (AI Maestro sets this for managed agents)
  3. tmux session name
  4. Working directory → AI Maestro API (matches agents by their configured working directory)
  5. Working directory → walks up to find .claude/settings.local.json containing a CLAUDE_AGENT_NAME= reference

If no agent is resolved, it shows "AMP: not configured (run amp-init)".

Setup

# Install (one-time)
amp-statusline.sh --install

# Restart Claude Code to see the status bar

Uninstall

amp-statusline.sh --uninstall
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. 3mo ago First seen · 51 lines · 0 tokens per session scan B 84b4166fba28

Subscribe to this mod's changes

amp-statusline is a command published in the GitHub repository agentmessaging/claude-plugin (5 stars, last pushed 2d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 319 tokens. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

amp-statusline compared with commands from other repositories

amp-statusline next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
amp-statuslineagentmessaging/claude-pluginCommand52d agoApache-2.0B0Claude Code
configurebriansmith80/claude-code-status-barCommand2321d agoMITA12Claude Code
setupbriansmith80/claude-code-status-barCommand2321d agoMITA12Claude Code
delete-sessionihoooohi/claude-code-session-cleanerCommand154mo agoMITA14Claude Code
statusactually-useful-ai/aiviaCommand17mo agoMITA9Claude Code
exitactually-useful-ai/aiviaCommand17mo agoMITC6Claude Code
commitechoVic/blade-codeCommand18115d agoMITA8Claude Code