statusline

statusline is a skill for Claude Code, Codex from RashadAnsari/myagents. It costs 41 tokens per session (442 once invoked), scanned B, original, MIT.

A configuration tool for a Claude Code status line showing project, Git, model, context, and time information.

In plain words
What is it for?
Use it to install the status line globally or for one project and update the relevant Claude Code settings.
Why use it?
It keeps useful work-state details visible while coding without requiring separate commands to check them.

Skill for Claude CodeCodex

Written for Claude Code and Codex: allowed-tools in frontmatter, but also agents/openai.yaml present. Also seen: reads .claude/ paths; names the AskUserQuestion tool; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the albino plugin — 18 skills, 14 agents, 3 MCP servers shipped together

Good fit Use it to install the status line globally or for one project and update the relevant Claude Code settings.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add RashadAnsari/myagents
Claude Code
/plugin install albino

Made for: Claude Code, Codex.

Or install albino, the plugin that ships this one along with the rest of its 18 skills, 14 agents, 3 MCP servers.

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/skills/rashadansari/myagents/statusline/github.svg)](https://agentmods.dev/skills/rashadansari/myagents/statusline)
Your own site
<a href="https://agentmods.dev/skills/rashadansari/myagents/statusline"><img src="https://agentmods.dev/badge/skills/rashadansari/myagents/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/skills/rashadansari/myagents/statusline"><img src="https://agentmods.dev/badge/skills/rashadansari/myagents/statusline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 442 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.00041 $0.00442
Opus 5.5 $0.00016 $0.00177
Sonnet 5.5 $0.00008 $0.00088
Haiku 4.5 $0.00004 $0.00044

Measured 5d ago against content hash ce6958f2160e, 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 5d 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.

description: Configure the Claude Code statusline to show current directory, git branch and dirty state, model, context usage, and time. Writes the statusline script and updates ~/.claude/settings.json.
plugins/albino/skills/statusline/SKILL.md · 39 lines

What it actually says

Configure the Claude Code statusline by doing the following steps in order:

  1. Ask the user where to install using AskUserQuestion with these options:

    • Global: writes to ~/.claude/settings.json, applies to all projects
    • Project: writes to .claude/settings.local.json in the current working directory, applies only to this project (gitignored, personal)
  2. Find the albino plugin install directory. Check these locations in order and use the first that exists:

    • ~/.myagents/plugins/albino
    • The value of the CLAUDE_PLUGIN_ROOT environment variable

    The statusline script is at scripts/configure-statusline.sh inside that directory.

  3. Based on the user's choice, determine the target settings file:

    • Global: ~/.claude/settings.json
    • Project: .claude/settings.local.json (relative to current working directory: create .claude/ if it does not exist)
  4. Read the target settings file. If it does not exist, treat it as an empty JSON object {}.

  5. Add or update the statusLine field with:

    {
      "statusLine": {
        "type": "command",
        "command": "<absolute-path-to-configure-statusline.sh>",
        "refreshInterval": 30
      }
    }
    

    Preserve all other existing fields. Write the result back to the target settings file.

  6. Confirm to the user: statusline is configured (global or project, as chosen). It shows current directory, git branch and dirty state, model, color-coded context usage, and time. It refreshes every 30 seconds. Changes take effect on the next Claude Code interaction.

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 5d ago First seen · 39 lines · 41 tokens per session scan B ce6958f2160e

Subscribe to this mod's changes

statusline is a skill published in the GitHub repository RashadAnsari/myagents (6 stars, last pushed today), licensed MIT. It adds 41 tokens to every session and 442 once invoked, about $0.0002 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-10-15.