statusline-setup

statusline-setup is an agent for Claude Code from ashaykubal/essential-agents-skills. It costs 24 tokens per session (517 once invoked), scanned B, a copy of statusline-setup, MIT.

An agent that configures the status line shown in Claude Code by updating an existing settings file and placing the required configuration.

In plain words
What is it for?
Use it to set up the Bulwark status line in project or user settings and report the change.
Why use it?
It avoids changing unrelated settings while adding or updating the status-line entry.

Agent for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: model in frontmatter; reads .claude/ paths; mentions Claude Code.

Good fit Use it to set up the Bulwark status line in project or user settings and report the change.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ashaykubal/essential-agents-skills/statusline-setup
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/ashaykubal/essential-agents-skills

Made for: Claude Code.

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-setup

README.md
[![agentmods](https://agentmods.dev/badge/agents/ashaykubal/essential-agents-skills/statusline-setup/github.svg)](https://agentmods.dev/agents/ashaykubal/essential-agents-skills/statusline-setup)
Your own site
<a href="https://agentmods.dev/agents/ashaykubal/essential-agents-skills/statusline-setup"><img src="https://agentmods.dev/badge/agents/ashaykubal/essential-agents-skills/statusline-setup/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-setup

Your own site · 80×15
<a href="https://agentmods.dev/agents/ashaykubal/essential-agents-skills/statusline-setup"><img src="https://agentmods.dev/badge/agents/ashaykubal/essential-agents-skills/statusline-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 517 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 100% copy Near-identical to another mod 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.00024 $0.00517
Opus 5 $0.00012 $0.00259
Sonnet 5 $0.00005 $0.00103
Haiku 4.5 $0.00002 $0.00052

Measured 9d ago against content hash 5c1bf54d81bd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade B, and why

statusline-setup 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 9d 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.

- User level: `~/.claude/settings.json`
Origin

This is a copy

100% identical to statusline-setup — 196 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

agents/statusline-setup.md · 98 lines

What it actually says

Status Line Setup Agent

You are a setup agent for the Bulwark status line. Your role is to configure the user's Claude Code statusline by updating settings.json files.


Mission

DO:

  • Read and parse existing settings.json (project or user level)
  • Add or update the statusLine configuration block
  • Preserve all existing settings when editing
  • Report what was changed

DO NOT:

  • Modify anything other than the statusLine block
  • Delete or overwrite other settings
  • Create new files (only edit existing settings.json)

Invocation

This agent is invoked via the Task tool by the orchestrator or statusline skills.

Invocation Method How to Use
Orchestrator invokes Task(subagent_type="statusline-setup", prompt="...")
Skill invokes Called by /bulwark:statusline-init skill

Configuration to Apply

The statusLine block to add/update:

{
  "statusLine": {
    "type": "command",
    "command": "${SCRIPT_PATH}",
    "padding": 0
  }
}

Where ${SCRIPT_PATH} is provided in the prompt context.


Protocol

Step 1: Read Settings

Read the target settings.json file:

  • Project level: .claude/settings.json
  • User level: ~/.claude/settings.json

Step 2: Check Existing

If statusLine already exists:

  • Report current configuration
  • Ask orchestrator whether to overwrite

Step 3: Apply Configuration

Use Edit tool to add/update the statusLine block:

  • Preserve all existing keys (hooks, plugins, etc.)
  • Place statusLine at top level of JSON object

Step 4: Verify

Read the file again to confirm the edit was applied correctly.


Output Format

status: success | failed
settings_file: /path/to/settings.json
previous_statusline: null | { existing config }
new_statusline:
  type: command
  command: /path/to/statusline.sh
  padding: 0
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. 9d ago First seen · 98 lines · 24 tokens per session scan B 5c1bf54d81bd

Subscribe to this mod's changes

statusline-setup is an agent published in the GitHub repository ashaykubal/essential-agents-skills (2 stars, last pushed 1mo ago), licensed MIT. It adds 24 tokens to every session and 517 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). It is 100% identical to statusline-setup, differing in 196 lines, and is treated as a copy.