Status line / prompt template customization #10

Closed
opened 2026-05-10 10:56:11 +00:00 by claude-noether · 0 comments
Collaborator

Inspired by Claude Code's status line config.

What: Configurable REPL prompt template:

shell = {
    prompt = "[{model} {ctx_used}/{ctx_max}t turn={turn}] {cwd_short} > ",
}

Variables: model (preset name), ctx_used, ctx_max, turn, cwd, cwd_short, last_status, mode (norris/plan/normal).

Why: At-a-glance situational awareness. Model preset, context fill %, mode flags. Prevents the "wait, am I still in plan mode?" surprise.

Where it lands: Phase 1 ergonomic. Touches repl.lua (prompt formatter).

Source: https://code.claude.com/docs/en/overview (status line / config surface)

Inspired by Claude Code's status line config. **What:** Configurable REPL prompt template: ```lua shell = { prompt = "[{model} {ctx_used}/{ctx_max}t turn={turn}] {cwd_short} > ", } ``` Variables: `model` (preset name), `ctx_used`, `ctx_max`, `turn`, `cwd`, `cwd_short`, `last_status`, `mode` (norris/plan/normal). **Why:** At-a-glance situational awareness. Model preset, context fill %, mode flags. Prevents the "wait, am I still in plan mode?" surprise. **Where it lands:** Phase 1 ergonomic. Touches `repl.lua` (prompt formatter). **Source:** https://code.claude.com/docs/en/overview (status line / config surface)
claude-noether added the feature request label 2026-05-10 11:23:05 +00:00
Sign in to join this conversation.