Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
letta-ai avatar

Customizing Statusline

  • 8 installs
  • 2.9k repo stars
  • Updated August 3, 2026
  • letta-ai/letta-code

Helps with ai & agent building tasks.

About

customizing-statusline is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.

  • customizing-statusline
  • AI & Agent Building
  • AI-coding skill

Customizing Statusline by the numbers

  • 8 all-time installs (skills.sh)
  • Ranked #12,269 of 16,556 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 3, 2026 (Skillselion catalog sync)
npx skills add https://github.com/letta-ai/letta-code --skill customizing-statusline

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs8
repo stars2.9k
Last updatedAugust 3, 2026
Repositoryletta-ai/letta-code

What it does

Helps with ai & agent building tasks.

Files

SKILL.mdMarkdownGitHub ↗

Customizing Statusline

Use this skill to create or update the global Letta Code statusline mod:

~/.letta/mods/statusline.tsx

The statusline is a full-row idle renderer. Host UI can still temporarily preempt it for safety confirmations and transient hints.

Statusline ownership model

safety preemption
else transient host hint
else custom statusline mod
else built-in default statusline

A custom statusline owns the whole idle row. Do not preserve legacy left/right split semantics in the new API.

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, start from the built-in default template or 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, panels, or stateful mod behavior, also use creating-mods and its references/architecture.md. 7. Guard statusline-specific behavior with letta.capabilities.ui.customStatuslineRenderer 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 the default Letta 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 renderers synchronous. Do not shell, fetch, or await inside render.
  • Do async work in setup code, intervals, subscriptions, or status providers.
  • Use letta.ui.setStatus for data and setStatuslineRenderer for drawing that data.
  • Guard optional APIs with letta.capabilities.ui.statusValues and letta.capabilities.ui.customStatuslineRenderer in new files.
  • Return a disposer that clears timers/subscriptions.
  • Preserve existing mod code unless the user asks to reset.
  • Do not delete legacy command statusline files or settings unless the user explicitly asks.

Useful references

  • references/api.md - mod API, render context, lifecycle rules
  • references/examples.md - common statusline patterns
  • references/migration.md - legacy command .sh and PS1 migration

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.