Command Palette

Search for a command to run...

Назад к скиллам
скилл № 46656

starship-prompt

Expert knowledge of Starship cross-shell prompt — installation, CLI, TOML config, all modules, style strings, presets, advanced features including transient…

БесплатноБез исполняемых скриптов
mina-atef-00от mina-atef-00384 установки в других каталогах

Установить starship-prompt в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Starship Prompt — Complete Reference

Starship is the minimal, blazing-fast, infinitely customizable prompt for any shell. Written in Rust. Installed at /usr/sbin/starship v1.24.2 on this system.

This skill covers the entire Starship surface: CLI, configuration, all ~70 modules, advanced features, presets, Fish-specific integration, and debugging.


1. Installation

Linux (Fedora — this system)

# Via Copr (recommended for Fedora)
dnf copr enable atim/starship
dnf install starship

# Via curl install script
curl -sS https://starship.rs/install.sh | sh

# Via cargo
cargo install starship --locked

# Via Linuxbrew
brew install starship

Fish Shell Setup

Add this to the end of ~/.config/fish/config.fish:

starship init fish | source

Verify with: starship --version (expected: starship 1.24.2)


2. CLI Reference

starship <COMMAND>

Commands:
  bug-report    Create a pre-populated GitHub issue with config info
  completions   Generate shell completions for your shell to stdout
  config        Edit the starship configuration
  explain       Explains the currently showing modules
  init          Prints the shell function used to execute starship
  module        Prints a specific prompt module (e.g. `starship module rust`)
  preset        Prints a preset config to stdout or file
  print-config  Prints the computed starship configuration
  prompt        Prints the full starship prompt
  session       Generate random session key
  timings       Prints timings of all active modules (debugging)
  toggle        Toggle a given starship module on/off
  help          Print this message or the help of the given subcommand(s)

Key flags for starship prompt: --status, --jobs, --cmd-duration, --keymap, --terminal-width, --logical-path, --path.


3. Configuration File

Default path: ~/.config/starship.toml

Override via environment variable: STARSHIP_CONFIG

Schema

"$schema" = 'https://starship.rs/config-schema.json'

Top-Level Options

Option Default Description
format '$all' Prompt format string
right_format '' Right-aligned prompt content
scan_timeout 30 File-scan timeout (ms)
command_timeout 500 Command-execution timeout (ms)
add_newline true Blank line between prompts
palette '' Active color palette name
palettes {} Collection of color palettes
follow_symlinks true Follow symlinks for directory checks
continuation_prompt '[∙](bright-black) ' Prompt for incomplete input

Format Strings

  • Variables: $variable_name (letters, numbers, _)
  • Text groups: [content](style) — styles the content
  • Conditionals: (@$region) — only shows if $region is non-empty
  • $all — expands to all enabled modules (in default order)

Style Strings

Space-separated tokens: bold, italic, underline, dimmed, inverted, blink, hidden, strikethrough, fg:<color>, bg:<color>, <color>, none

Color specifiers:

  • Named: black, red, green, blue, yellow, purple, cyan, white
  • Bright: bright- prefix (e.g. bright-red)
  • Hex: #RRGGBB
  • ANSI 8-bit: 0–255
  • Contextual: prev_fg, prev_bg

4. All Modules

VCS Modules

Module Key Config Default Triggers
git_branch truncation_length, ignore_branches, only_attached Git repo
git_commit commit_hash_length, tag_disabled, only_detached Detached HEAD
git_state rebase, merge, revert, bisect labels Rebase/merge/etc. in progress
git_status conflicted, ahead, behind, staged, deleted Git repo
git_metrics added_style, deleted_style Git repo
hg_branch — Mercurial repo
fossil_branch truncation_length Fossil checkout
pijul_channel — Pijul repo

Language Runtimes (60+)

All share this pattern:

[<module>]
format = 'via [$symbol($version )]($style)'
version_format = 'v${raw}'
symbol = '...'
style = '<style>'
detect_extensions = [...]
detect_files = [...]
detect_folders = [...]
disabled = false

Modules include: bun, c, cmake, cobol, cpp, daml, dart, deno, dotnet, elixir, elm, erlang, fennel, fortran, gleam, golang, gradle, haskell, haxe, helm, java, julia, kotlin, lua, maven, mojo, nim, nodejs, ocaml, odin, opa, perl, php, pulumi, purescript, python, quarto, raku, rlang, red, ruby, rust, scala, solidity, swift, terraform, typst, vlang, vagrant, xmake, zig, buf, crystal, meson

Cloud & DevOps

Module Default Notes
aws bold yellow Region + profile + expiration timer
gcloud bold blue Active GCP config, account, region
azure **Disabled
Полный SKILL.md на ClawHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл starship-prompt?

Expert knowledge of Starship cross-shell prompt — installation, CLI, TOML config, all modules, style strings, presets, advanced features including transient prompts, custom modules, palettes, right prompt, and Fish shell integration.

Как установить скилл starship-prompt?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл starship-prompt запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить starship-prompt с