statusline

statusline is a command for Claude Code from egorus1/ask-a-senior. It costs 13 tokens per session (280 once invoked), scanned B, original, MIT.

A status-line command that adds an “[senior]” badge to Claude Code when ask-a-senior mode is active.

In plain words
What is it for?
Use it to connect the ask-a-senior badge to Claude Code’s existing status line without replacing an existing status-line script.
Why use it?
It lets you see at a glance whether the mode is on, along with its recent activity. The badge disappears when the mode is off.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions Claude Code.

Part of the ask-a-senior plugin — 1 skill, 5 commands, 3 hooks shipped together

Good fit Use it to connect the ask-a-senior badge to Claude Code’s existing status line without replacing an existing status-line script.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/egorus1/ask-a-senior/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/egorus1/ask-a-senior

Made for: Claude Code.

Or install ask-a-senior, the plugin that ships this one along with the rest of its 1 skill, 5 commands, 3 hooks.

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 statusline

README.md
[![agentmods](https://agentmods.dev/badge/commands/egorus1/ask-a-senior/statusline.svg)](https://agentmods.dev/commands/egorus1/ask-a-senior/statusline)
Your own site
<a href="https://agentmods.dev/commands/egorus1/ask-a-senior/statusline"><img src="https://agentmods.dev/badge/commands/egorus1/ask-a-senior/statusline.svg" alt="Measured on agentmods" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 280 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.00013 $0.00280
Opus 5 $0.00006 $0.00140
Sonnet 5 $0.00003 $0.00056
Haiku 4.5 $0.00001 $0.00028

Measured 7d ago against content hash 4aa238ccfb4a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade B, and why

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 7d 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.

2. Read `~/.claude/settings.json`.
commands/statusline.md · 24 lines

What it actually says

Wire up the ask-a-senior statusline badge, which shows [senior · 12m · 4 asked] while the mode is on and nothing at all while it's off.

  1. Read ~/.claude/ask-a-senior/plugin-root.txt for the plugin's install path. If it's missing, the mode has never been turned on — tell them to run /ask-a-senior:on once, then run this again.

  2. Read ~/.claude/settings.json.

  3. If there is no statusLine key, add one:

    "statusLine": { "type": "command", "command": "node \"<plugin-root>/hooks/statusline.js\"" }
    

    If they already have a statusLine, do not overwrite it. Show them the command above and tell them to append its output to their existing script — it prints an empty string when the mode is off.

  4. Tell them it shows up on the next prompt.

If the edit is blocked because senior mode is on, tell them to run /ask-a-senior:off first, set it up, then turn it back on.

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. 7d ago First seen · 24 lines · 13 tokens per session scan B 4aa238ccfb4a

Subscribe to this mod's changes

statusline is a command published in the GitHub repository egorus1/ask-a-senior (2 stars, last pushed 17d ago), licensed MIT. It adds 13 tokens to every session and 280 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.

Related

Other commands, from other repositories

diagnose-underperformer

Diagnose why a specific Google Ads or Meta Ads campaign / ad set / ad is underperforming and prescribe the next concrete action. Use when the user says something like "why is X not converting?", "this campaign is wasting money", or "why are impressions so low?". Read-only — no changes are made.

markifact/markifact-mcp · 64 tokens

edit-meta-creative

Edit a Meta ad's creative content — landing page URL, primary text, headline, description, CTA, link description — across one ad or many. Use when the user says "change the URL on my ads", "update the copy", "swap the CTA", or anything that changes what an existing Meta ad shows. Meta does not allow in-place creative…

markifact/markifact-mcp · 88 tokens

launch-meta-campaign

Launch a complete Meta Ads campaign — campaign, ad set, and ad(s) — built paused and ready to review. Use when the user wants a new Facebook/Instagram campaign.

markifact/markifact-mcp · 36 tokens

launch-pmax

Launch a Google Ads Performance Max campaign with a complete asset group, audience signals, and (for ecom) listing groups. Built paused for review. Use when the user wants a new PMax campaign.

markifact/markifact-mcp · 41 tokens

negative-keyword-sweep

Find wasted spend in Google Ads search terms and add negatives at the right scope (account list, campaign, or ad group). Use when the user says "find junk keywords", "stop wasting on bad searches", or wants a search-terms cleanup.

markifact/markifact-mcp · 50 tokens

duck-off

Turn off Rubber Duck mode and answer normally.

centsandcode/rubber-duck · 8 tokens