claude-code-statusline-development

claude-code-statusline-development is a skill for Claude Code from dwmkerr/claude-toolkit. It costs 70 tokens per session (685 once invoked), scanned A, original, MIT.

A configuration guide for adding a custom information line at the bottom of Claude Code. It can show details such as the current Git branch, model, context use, and session cost.

In plain words
What is it for?
Use it to create or customize a Claude Code status line, including scripts that read session data and display project or usage details.
Why use it?
It removes the need to build the status line from scratch or look up its input format and configuration. It also helps keep useful session information visible while you work.

Skill for Claude Code

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

Part of the toolkit plugin — 15 skills, 3 commands, 1 agent shipped together

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 skills/dwmkerr/claude-toolkit/claude-code-statusline-development
Any agent
npx skills add dwmkerr/claude-toolkit --skill claude-code-statusline-development
Clone the repo
git clone --depth 1 https://github.com/dwmkerr/claude-toolkit

Made for: Claude Code.

Or install toolkit, the plugin that ships this one along with the rest of its 15 skills, 3 commands, 1 agent.

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 claude-code-statusline-development

README.md
[![agentmods](https://agentmods.dev/badge/skills/dwmkerr/claude-toolkit/claude-code-statusline-development.svg)](https://agentmods.dev/skills/dwmkerr/claude-toolkit/claude-code-statusline-development)
Your own site
<a href="https://agentmods.dev/skills/dwmkerr/claude-toolkit/claude-code-statusline-development"><img src="https://agentmods.dev/badge/skills/dwmkerr/claude-toolkit/claude-code-statusline-development.svg" alt="Measured on agentmods" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 685 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.1 $0.00070 $0.00685
Opus 5 $0.00035 $0.00342
Sonnet 5 $0.00014 $0.00137
Haiku 4.5 $0.00007 $0.00068

Measured 6d ago against content hash 145200958a3b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

claude-code-statusline-development scanned grade A with 0 findings 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 6d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/toolkit/skills/claude-code-statusline-development/SKILL.md · 97 lines

How it starts

The opening of the file, as written. The whole thing — 97 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Claude Code Statusline Development

Create custom status lines that display contextual information at the bottom of Claude Code.

Quick Reference

You MUST read the reference files for detailed schemas and examples:

Configuration

Add to .claude/settings.json:

{
  "statusLine": {
    "type": "command",
    "command": "~/.claude/statusline.sh",
    "padding": 0
  }
}

How It Works

  • Status line updates when conversation messages change
  • Updates run at most every 300ms
  • First line of stdout becomes the status line text
  • ANSI color codes supported
  • JSON context passed via stdin

JSON Input (Quick Reference)

Field Description
model.display_name Model name (e.g., "Opus")
workspace.current_dir Current working directory
workspace.project_dir Original project directory
cost.total_cost_usd Session cost in USD
cost.total_lines_added Lines added this session
cost.total_lines_removed Lines removed this session
context_window.context_window_size Max context tokens
context_window.current_usage Current token usage object

See JSON Schema for complete structure.

Script Template

#!/bin/bash
input=$(cat)

# Extract values using jq
model=$(echo "$input" | jq -r '.model.display_name')
dir=$(echo "$input" | jq -r '.workspace.current_dir')

# Colors via tput
blue=$(tput setaf 4)
reset=$(tput sgr0)

echo "${blue}[$model]${reset} ${dir##*/}"

Make executable:

chmod +x ~/.claude/statusline.sh

Read the full file on GitHub · 97 lines

Files

What ships with it

6 files 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. 6d ago First seen · 97 lines · 70 tokens per session scan A 145200958a3b

Subscribe to this mod's changes

claude-code-statusline-development is a skill published in the GitHub repository dwmkerr/claude-toolkit (23 stars, last pushed 11d ago), licensed MIT. It adds 70 tokens to every session and 685 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.