What problem does it solve?
Customizing the Letta Code CLI statusline requires writing a TypeScript mod file with the correct panel API, lifecycle rules, and async patterns, which is error-prone without guidance. This Skill handles creating, editing, and migrating the global statusline mod so the primary line below the input shows exactly what the user wants.
Core Features & Use Cases
- Statusline Creation and Editing: Generates or updates
~/.letta/mods/statusline.tsx as an order-0 panel that overrides the built-in agent · model line, with synchronous render and async state via intervals and panel.update().
- Legacy Migration: Converts legacy command-based statuslines from settings.json, standalone
.sh scripts, and shell PS1 prompts into the new mod format, mapping polling intervals and left/right output splits.
- Use Case: A user wants their statusline to show the current git branch and open PR number. The Skill writes a mod that polls
git branch --show-current and gh pr view every 30-60 seconds, caches results in closure variables, and renders them with row and chalk.
Quick Start
Ask the agent to customize your statusline, for example: update my statusline to show the current git branch and model name.