customizing-statusline
/customizing-statusline
Creates, edits, and migrates Letta Code statusline mods. Use when handling the /statusline command or continuing work started by /statusline.
- Author
- letta-ai ↗
- Repository
- letta-code ↗
- Licence
- Apache-2.0
- Last repository change
- 25.10.2026
Assessment and security
- Files in this package
- 4
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 25.10.2026, without references to retired models or APIs.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
What it does and when to use it
Creates, edits, and migrates Letta Code statusline mods. Use when handling the /statusline command or continuing work started by /statusline.
Original author description
Creates, edits, and migrates Letta Code statusline mods. Use when handling the /statusline command or continuing work started by /statusline.
How it works
- Statusline ownership model
- Workflow
- Bare /statusline behavior
- Rules
- Useful references
SKILL.md preview
--- name: customizing-statusline description: Creates, edits, and migrates Letta Code statusline mods. Use when handling the /statusline command or continuing work started by /statusline. --- # Customizing Statusline Use this skill to create or update the global Letta Code statusline mod: ```text ~/.letta/mods/statusline.tsx ``` The statusline is a panel registered at `order: 0` — the primary line just below the input. It overrides the built-in `agent · model` line. Host UI can still temporarily preempt it for safety confirmations and transient hints. ## Statusline ownership model ```text safety preemption else transient host hint else order-0 statusline panel else built-in default statusline ``` The order-0 panel owns the whole primary row. It renders text (not React) and owns its own layout via the `row`/`columns` helpers. ## Workflow 1. Check whether `~/.letta/mods/statusline.tsx` exists. 2. If it exists, read it before editing and preserve unrelated code. 3. If it does not exist, synthesize a focused starter for the user's request. 4. If the user asks to migrate, import a `.sh` file, or match a shell prompt, read `references/migration.md`. 5. If API details or concrete patterns are needed, read `references/api.md` and `references/examples.md`. 6. If the request combines statusline work with commands, tools, events, other panels, or stateful mod behavior, also use `creating-mods` and its `references/architecture.md`. 7. Guard panel work with `letta.capabilities.ui.panels` when writing new files. 8. Edit `~/.letta/mods/statusline.tsx`. 9. Summarize the absolute file path changed and tell the user to run `/reload` unless the command can reload automatically. ## Bare `/statusline` behavior If the user ran `/statusline` without a specific request: - If a custom statusline file exists, summarize what it appears to do and ask what they want to change. - If no custom file exists, explain that Letta is using the built-in default statusline and offer focused next steps: 1. start from a simple `agent · model` statusline 2. add project info like git branch, worktree, or PR 3. migrate an existing legacy statusline `.sh` file 4. match shell prompt / PS1 5. describe a custom statusline in their own words Keep this conversational. Do not build a menu UI unless the product command explicitly asks for one. ## Rules - Global-only for now. Do not create project mods. - Keep the mod single-file for MVP. - Do not assume extra npm packages are available. - Do not use relative multi-file imports yet. - Keep `render` synchronous and side-effect-free. Do not shell, fetch, await, or read files inside render. - Do async work in setup code, intervals, or subscriptions, store the result in a closure variable, then call `panel.update()` to re-render. - Register the statusline at `order: 0`. Compose left/right with `row(left, right, width)`; color with `chalk`. - Guard panel work with `letta.capabilities.ui.panels` in new files. - Return a disposer that clears timers/subscriptions and calls `panel.close()`. - Preserve existing mod code unless the user asks to reset. ## Useful references - `references/api.md` - panel API, render context, lifecycle rules - `references/examples.md` - common statusline patterns - `references/migration.md` - legacy command `.sh` and PS1 migration
Files in this package (4)
- SKILL.md 3 KB
- references/api.md 5 KB
- references/examples.md 4 KB
- references/migration.md 4 KB
Versions
The database has no other skills named customizing-statusline.
Database snapshot: 13.11.2026 · package version 41dba65860da (SHA-256 digest of the entire package)
Downloads in the last 30 days: 3 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100creating-mods
Creates and edits trusted local Letta Code mods, including tools, slash commands, local-only model providers, lifecycle/turn events, scoped conversation helpers, panels, and capability-gated behavior. Use when asked to make a mod, add an agent-callable tool, add a slash command,… - 100customizing-commands
Creates, edits, and enables Letta Code mod-provided slash commands. Use when the user asks to add a custom /command, slash command, command shortcut, scoped conversation-backed command, or command-driven panel behavior. - 100claude-code-statusline-development
This skill should be used when the user asks to "create a statusline", "customize the status line", "add a custom prompt", or mentions Claude Code statusline. Also suggest when the user wants to display git branch, context usage, model name, or session costs at the bottom of Claude Code. - 100claude-statusline
Guide for creating and configuring the Claude Code status line. Use when building a custom status bar, configuring statusLine in settings.json, scripting token/model/git readouts, or debugging status-line output. - 100statusline
Configure a custom status line in the CLI. Use when the user mentions status line, statusline, statusLine, CLI status bar, prompt footer customization, or wants to add session context above the prompt. - 100setup-statusline
Powerlineスタイルのステータスラインをセットアップする。「ステータスライン設定」「statusline setup」「ステータスバー」などのリクエスト時に使用。