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/github.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/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 statusline

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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.5 $0.00005 $0.00112
Sonnet 5.5 $0.00003 $0.00056
Haiku 4.5 $0.00001 $0.00028

Measured 3mo ago against content hash 4aa238ccfb4a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-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 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.

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. 3mo 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 3mo ago), licensed MIT. It adds 13 tokens to every session and 280 once invoked, about $0.0001 per session on Opus 5.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

statusline compared with commands from other repositories

statusline next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
statuslineegorus1/ask-a-seniorCommand23mo agoMITB13Claude Code
diagnose-underperformermarkifact/markifact-mcpCommand5910d agoMITA70Claude Code, Cursor
edit-meta-creativemarkifact/markifact-mcpCommand5910d agoMITA93Claude Code, Cursor
launch-meta-campaignmarkifact/markifact-mcpCommand5910d agoMITA41Claude Code, Cursor
launch-pmaxmarkifact/markifact-mcpCommand5910d agoMITA45Claude Code, Cursor
negative-keyword-sweepmarkifact/markifact-mcpCommand5910d agoMITA56Claude Code, Cursor
designproyecto26/system-design-skillsCommand1481mo agoMITA40Claude Code