Starship Prompt Builder

Claude cost module

Configure Starship's Claude cost module.

When it appears

It renders when Starship detects the matching context and its configured conditions are met.

Starting configuration

[claude_cost]
format = "[$symbol(\\$$cost)]($style) "
symbol = "💰 "
Open in the builder

The configuration is compressed into the URL fragment and stays in your browser.

Key options

formatstring
A Starship option for this module.
symbolstring
A Starship option for this module.
displayarray
A Starship option for this module.
disabledboolean
A Starship option for this module.

Format variables

Starship does not document format variables for this module.

Common adjustments

  • Edit format to reorder its variables or make surrounding text conditional.