powerline

powerline is a command for coding agents from Owloops/claude-powerline. It costs 10 tokens per session (3,899 once invoked), scanned C, original, MIT.

An interactive setup wizard for Claude Powerline, a status display for Claude Code. It asks for your choices and saves the resulting settings in a JSON configuration file.

In plain words
What is it for?
Use it to configure the Claude Code statusline and save its settings.
Why use it?
It guides you through setup decisions instead of requiring you to build the configuration by hand. It also checks whether a suitable version of Node.js is available.

Command

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the claude-powerline plugin — 1 command shipped together

About the project

Claude Powerline is a vim-style statusline for Claude Code that displays information such as usage and Git status in the terminal. It is for Claude Code users who want a configurable session display, and the catalogue entries provide its plugin and command.

Owloops/claude-powerline · 1,165 stars · on GitHub

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 commands/owloops/claude-powerline/powerline
Clone the repo
git clone --depth 1 https://github.com/Owloops/claude-powerline

Or install claude-powerline, the plugin that ships this one along with the rest of its 1 command.

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 powerline

README.md
[![agentmods](https://agentmods.dev/badge/commands/owloops/claude-powerline/powerline.svg)](https://agentmods.dev/commands/owloops/claude-powerline/powerline)
Your own site
<a href="https://agentmods.dev/commands/owloops/claude-powerline/powerline"><img src="https://agentmods.dev/badge/commands/owloops/claude-powerline/powerline.svg" alt="Measured on agentmods" height="20"></a>
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,899 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 3 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 $0.00010 $0.03899
Opus 5 $0.00005 $0.01950
Sonnet 5 $0.00002 $0.00780
Haiku 4.5 $0.00001 $0.00390

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

Security

Grade C, and why

powerline scanned grade C with 3 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 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

Read `~/.claude/settings.json` if it exists. Add or update ONLY the `statusLine` key:

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -
plugin/commands/powerline.md · 404 lines

How it starts

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

Claude Powerline Setup Wizard

You are running an interactive setup wizard to configure the claude-powerline statusline for Claude Code. Follow these steps in order, using AskUserQuestion for each decision point.

Important Notes

  • Do not skip steps or combine questions.
  • Always wait for the user's response before moving to the next step.
  • Track the user's choices in variables throughout the wizard.
  • The final config is written as JSON to ~/.claude/claude-powerline.json.
  • Do NOT use the Agent tool or Explore subagents. All information you need is in this document.
  • Do NOT read source code from the claude-powerline package. Use only the instructions below.
  • IMPORTANT: After running any Bash or Read tool, repeat the key output as text in your response. Some users have a collapsed UI mode where tool outputs require a click to expand. Always relay important results (like version numbers, previews, or file contents) in your text so the user can see them without expanding.

Step 1: Check Node.js

Run this command to check if Node.js 18+ is available:

node --version 2>/dev/null || echo "not_installed"

Tell the user the detected version in your text response.

If Node.js is NOT installed or version is below 18

Display:

Claude Powerline requires **Node.js 18+** to run.

Install it from https://nodejs.org or via your package manager:

```bash
# macOS
brew install node

# Ubuntu/Debian
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -
sudo apt-get install -y nodejs
```

Then ask:

  • Question: "Install Node.js or check again?"
  • Header: "Node.js"
  • Options:
    • "I installed it, check again" -> Re-run the version check from the top of Step 1
    • "Exit wizard" -> Tell them to install Node.js 18+ and exit

If Node.js 18+ IS installed

Continue to the next step.

Step 2: Nerd Font Detection

[!IMPORTANT] You cannot display nerd font glyphs properly in your text output. You MUST run the cat command below and let the terminal render it. After running it, tell the user to expand the bash output if they cannot see the icons.

Read the full file on GitHub · 404 lines

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 · 404 lines · 10 tokens per session scan C 9cdea5e42a28

Subscribe to this mod's changes

powerline is a command published in the GitHub repository Owloops/claude-powerline (1,165 stars, last pushed 4d ago), licensed MIT. It adds 10 tokens to every session and 3,899 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 3 findings (asks for root, reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.