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.
npx agentmods add commands/agentmessaging/claude-plugin/amp-statuslinegit clone --depth 1 https://github.com/agentmessaging/claude-pluginWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.00319 |
| Opus 5 | $0.00000 | $0.00160 |
| Sonnet 5 | $0.00000 | $0.00064 |
| Haiku 4.5 | $0.00000 | $0.00032 |
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 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.
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 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:
AMP_AGENT_IDenv var (explicit UUID)CLAUDE_AGENT_NAMEenv var (AI Maestro sets this for managed agents)- tmux session name
- Working directory → AI Maestro API (matches agents by their configured working directory)
- Working directory → walks up to find
.claude/settings.local.jsoncontaining aCLAUDE_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
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.
- 2d ago First seen · 51 lines · 0 tokens per session scan B 84b4166fba28
amp-statusline 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 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.
Other commands, from other repositories
release
Ship a stable cmux release built by CI: bump version, update changelog, open a PR, merge, tag, then GitHub Actions builds, signs, and publishes.
impact-statusline
Show or configure the compact Fallow Impact statusline in Claude Code.
thumbgate-protect
Show this repo's branch/release governance and grant a scoped, time-limited approval for an action that touches protected files. Use for "protect this branch", "is main protected", "approve this protected change", "branch governance", "let me edit a protected file".
capture-feedback
Quick feedback capture with structured signals.
check-gates
Run a Pre-Action Gate check against prevention rules before executing a risky action.
show-lessons
Display promoted lessons and their corrective actions.