status

A command that reports the current AI provider, model settings, and API-key status.

In plain words
What is it for?
Checking the active provider, base URL, configured models, whether an API key is set, and which providers have saved keys.
Why use it?
It makes provider configuration easier to inspect without opening settings files manually.

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/kossakovsky/cc-plugins/status
Clone the repo
git clone --depth 1 https://github.com/kossakovsky/cc-plugins
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 368 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00010 $0.00368
Opus 5 $0.00005 $0.00184
Sonnet 5 $0.00002 $0.00074
Haiku 4.5 $0.00001 $0.00037

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

Security

Grade B, and why

status 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 yesterday.

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.

1. **Read** `~/.claude/settings.json` using the Read tool
plugins/switch-provider/commands/status.md · 30 lines

What it actually says

Provider Status

Show the current AI provider configuration.

Steps

  1. Read ~/.claude/settings.json using the Read tool

  2. Determine current provider by checking env.ANTHROPIC_BASE_URL:

    • Not set or missing → Anthropic (native)
    • Contains z.aiZ.AI
    • Contains moonshotKimi
    • Contains minimaxMiniMax
    • Other → Custom (show the URL)
  3. Display the following information:

    • Provider: name of the current provider
    • Base URL: value of ANTHROPIC_BASE_URL (or "native" if not set)
    • Opus model: value of ANTHROPIC_DEFAULT_OPUS_MODEL (or "default" if not set)
    • Sonnet model: value of ANTHROPIC_DEFAULT_SONNET_MODEL (or "default" if not set)
    • Haiku model: value of ANTHROPIC_DEFAULT_HAIKU_MODEL (or "default" if not set)
    • Small/fast model: value of ANTHROPIC_SMALL_FAST_MODEL (or "default" if not set)
    • API key: show first 8 characters + "..." if ANTHROPIC_AUTH_TOKEN is set, or "not set"
  4. Check saved keys: Read ~/.claude/provider-keys.json if it exists, and list which providers have saved keys (just the provider names, not the keys themselves)

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. yesterday First seen · 30 lines · 10 tokens per session scan B a8fc0b7dd7ed

Subscribe to this mod's changes

status is a command published in the GitHub repository kossakovsky/cc-plugins (3 stars, last pushed 5mo ago), licensed MIT. It adds 10 tokens to every session and 368 once invoked, about $0.0001 per session on Opus 5. 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.