IA

Generador de barra de estado para Claude Code

Arrastra los segmentos a su sitio y copia el prompt que describe la barra de estado. El script lo escribe Claude Code — la herramienta no genera ninguno, así que tampoco hay ninguno que se quede obsoleto.

Actualizado el 26 ago 2026

Plantillas

Componer

Arrastra para colocar o reordenar · haz clic para añadir o quitar

✳ Claude Code
Claude Code v2.1.246
Opus 5 with high effort · Claude Max
~/Developer/Projects/statuslines
❯ try "refactor <filepath>"
▶▶ bypass permissions on · ← for agentsEsta línea la dibuja Claude Code, no tu script

Sin ratón: tabula hasta un segmento, muévelo con las flechas y quítalo con Retroceso.

Bandeja

5 sin usar · haz clic para añadir

Estilo

Forma
Glifos
Color

Prompt para Claude Code

7 segmentos · 3 filas · 47 líneas de prompt

Write me a Claude Code status line script and install it.

LAYOUT — 3 rows, printed top to bottom.
  Row 1  left:  directory, git branch
         right: clock   (pad to $COLUMNS so it sits flush right)
  Row 2  left:  model · effort
         right: context window   (pad to $COLUMNS so it sits flush right)
  Row 3  left:  5h rate limit
         right: 7d rate limit   (pad to $COLUMNS so it sits flush right)

  Order within a row is exact — keep the segments in the order listed.

DATA — read from the stdin JSON. Every access must tolerate absence:
  workspace.current_dir
  git + workspace.git_worktree
  no input — needs refreshInterval
  model.display_name, effort.level
  context_window.used_percentage
  rate_limits.five_hour.used_percentage + .resets_at
  rate_limits.seven_day.used_percentage + .resets_at

STYLE
  Palette:  Catppuccin Mocha, 24-bit ANSI (\x1b[38;2;R;G;Bm)
  Segments: filled pills — background colour, base-coloured text, one space of
            padding
  Glyphs:   Nerd Font icons, with an ASCII fallback if the font is missing
  Bars:     10 cells, green under 70%, yellow 70–89, red at 90+

REQUIREMENTS
  - Node, zero dependencies, reads the JSON from stdin.
  - rate_limits is Pro/Max only and context_window.current_usage is null
    before the first API call — degrade quietly, never crash.
  - Read $COLUMNS for width; truncate the longest segment first.
  - Give each rate-limit gauge a pace tick. resets_at is a unix
    timestamp, so the window opened at resets_at − 18000 (5h) or
    resets_at − 604800 (7d); put the tick at elapsed ÷ window
    across the ten cells, drawn over that cell's own colour so
    fill and empty still read through it. Usage behind the tick
    means I am pacing under; ahead of it means I am burning the
    window early.
  - Work out where my Claude Code settings actually live before
    writing anything — a project .claude/settings.json takes
    precedence over ~/.claude/settings.json — then install the
    script next to the one you pick and point statusLine at it by
    absolute path.
  - Set "refreshInterval": 60 in that same settings.json so the clock
    ticks.

El prompt se queda en inglés en todos los idiomas: es con lo que mejor trabaja Claude Code. Pégalo en una sesión y escribe el script, apunta settings.json hacia él y sigue ahí para «haz la barra más ancha».

Esta herramienta funciona entera en tu navegador. Lo que escribes no se sube, ni se guarda, ni se registra — cierras la pestaña y desaparece.

Todas las herramientas