/nerdflair:nerdflairfrom nerdflair
Installs and configures the nerdflair statusline, including layout, chimes, color palette, MCP server display, and terminal bell. Use when user asks to set up or change statusline settings.
Ships in nerdflair. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Configure the nerdflair statusline. This skill handles both first-time install and ongoing configuration.
Base directory for this skill: $CLAUDE_PLUGIN_ROOT
If the user provided arguments (e.g., /nerdflair install, /nerdflair layout full), handle that request directly using the Install or Configure sections below.
If the user invoked /nerdflair with NO arguments, first run info to get the current state, then display a complete command reference showing current settings and all available commands. Format it like a CLI help page:
info output as a formatted summarynerdflair
Current settings:
layout: full width: auto
terminal-bell: on chimes: on (BalladPiano) color-palette: vibrant
Commands:
/nerdflair chime-events Show/toggle which events play chimes
/nerdflair chime-session [style] Set chime for this session only (plays preview)
/nerdflair chime-style [style] Set or cycle global chime style (random, BalladPiano, ...)
/nerdflair chime-volume [0-100] Set chime volume (0 = muted)
/nerdflair color-palette [mode] Set or cycle palette (vibrant, muted, mono)
/nerdflair layout [mode] Set or cycle layout (full, compact, minimal)
/nerdflair mcp-alias [name display] List MCP overrides, or show a server under another name
/nerdflair mcp-hide <name> Leave an MCP server out of the statusline list
/nerdflair mcp-show <name> Remove an alias or hide for an MCP server
/nerdflair info Show current settings without changing anything
/nerdflair install Install or upgrade (font check, settings.json; preserves settings)
/nerdflair uninstall Remove nerdflair from settings and clean up data
/nerdflair spinner-verbs Toggle custom spinner verbs on/off (or: enable | disable)
/nerdflair terminal-bell Toggle terminal bell on/off (tab indicator)
/nerdflair width [auto|50-150] Set layout width
Stop after displaying the help. Do NOT prompt the user or use AskUserQuestion — just print the settings and commands, then wait for the user to run a command themselves.
jq is required -- the statusline and configurator parse JSON with it, and the install script exits immediately if it's missing.
command -v jq >/dev/null 2>&1 && echo "jq found" || echo "jq MISSING"
If found: Continue to Step 1.
If missing: Use AskUserQuestion with header "jq":
Question: "nerdflair requires jq to run. How would you like to install it?"
Options:
Handle each response:
brew install jq, then continue to Step 1.sudo apt install jq, then continue to Step 1.A Nerd Font is required -- the progress bar, icons, and Powerline caps all use Nerd Font glyphs. Without one, the statusline renders as broken boxes.
find ~/Library/Fonts /Library/Fonts ~/.local/share/fonts ~/.fonts /usr/share/fonts -maxdepth 2 -iname '*nerd*' 2>/dev/null | head -5
If fonts are found: Tell the user and continue to Step 2.
If no fonts found: Use AskUserQuestion with header "Nerd Font":
Question: "nerdflair requires a Nerd Font for icons and the progress bar. How would you like to install one?"
Options:
Handle each response:
brew install --cask font-jetbrains-mono-nerd-font, then continue to Step 1b.Installing a font only puts the files on disk -- the user must also select it in their terminal app. Use AskUserQuestion with header "Terminal Font Setup":
Question: "Which terminal are you using? I'll give you the exact steps to activate the Nerd Font."
Options:
Give terminal-specific instructions based on their selection:
font-family = JetBrainsMono Nerd Font to ~/.config/ghostty/config (create the file if it doesn't exist), then restart Ghostty.JetBrainsMono Nerd Font. Alternatively, add "terminal.integrated.fontFamily": "JetBrainsMono Nerd Font" to your settings.json.If the user prefers smaller icons in any terminal, suggest the Mono variant JetBrainsMono Nerd Font Mono (installed by the same cask), which fits every icon in one cell.
After giving instructions, tell the user they can verify with echo "" -- if they see a box or question mark instead of an icon, the font isn't active yet.
bash "$CLAUDE_PLUGIN_ROOT/scripts/nerdflair.sh" install
This is idempotent: on first install it creates state with defaults; on upgrade it preserves existing settings. It also points the statusLine entry in ~/.claude/settings.json at this plugin's scripts/statusline.sh (absolute, quoted path).
Before running, check if a non-nerdflair statusLine is already configured:
statusLine is absent or already points to nerdflair (command contains nerdflair): proceed.statusLine exists and points to something else: warn the user that a different statusline is configured and use AskUserQuestion to ask whether to replace it. Show the current command. If they decline, skip this step.bash "$CLAUDE_PLUGIN_ROOT/scripts/nerdflair.sh" spinner-verbs enable
This loads the custom thinking/spinner phrases from assets/text/spinners.txt into ~/.claude/settings.json. If existing non-nerdflair spinner verbs are present, they are backed up first. If nerdflair verbs are already installed, they are refreshed in place (no backup needed).
bash "$CLAUDE_PLUGIN_ROOT/scripts/nerdflair.sh" info
bash "$CLAUDE_PLUGIN_ROOT/scripts/nerdflair.sh" chime-events
Display a summary table of settings from the info output. Format the table as follows:
chime-events output) instead of just a countTell the user to restart Claude Code for the changes to take effect.
Run the appropriate command based on what the user asked for. After running it, briefly confirm the change. The effect is visible on the next statusline render.
Cycle to the next layout:
bash "$CLAUDE_PLUGIN_ROOT/scripts/nerdflair.sh" layout
Set layout directly:
bash "$CLAUDE_PLUGIN_ROOT/scripts/nerdflair.sh" layout full
Cycle chime style (random -> BalladPiano -> DelicateBells -> ...):
bash "$CLAUDE_PLUGIN_ROOT/scripts/nerdflair.sh" chime-style
Set chime for this session only (plays SessionStart sound):
bash "$CLAUDE_PLUGIN_ROOT/scripts/nerdflair.sh" chime-session Vibraphone
List available session chime styles (no argument):
bash "$CLAUDE_PLUGIN_ROOT/scripts/nerdflair.sh" chime-session
When the user runs /nerdflair chime-session with no argument, run the command above to get the numbered list,
then use AskUserQuestion to let them pick a style (use the numbered style names as options).
After they choose, run chime-session <name> or chime-session <number> to apply it.
Set chime volume (0 = muted, 100 = full):
bash "$CLAUDE_PLUGIN_ROOT/scripts/nerdflair.sh" chime-volume 50
Cycle color palette (vibrant -> muted -> mono):
bash "$CLAUDE_PLUGIN_ROOT/scripts/nerdflair.sh" color-palette
Toggle terminal bell on/off (tab indicator on Notification, PermissionRequest, Stop):
bash "$CLAUDE_PLUGIN_ROOT/scripts/nerdflair.sh" terminal-bell
Set width:
bash "$CLAUDE_PLUGIN_ROOT/scripts/nerdflair.sh" width 60
Reset width to auto:
bash "$CLAUDE_PLUGIN_ROOT/scripts/nerdflair.sh" width auto
Show current settings without changing anything:
bash "$CLAUDE_PLUGIN_ROOT/scripts/nerdflair.sh" info
$COLUMNS), clamped to 50-150ls "$CLAUDE_PLUGIN_ROOT/assets/audio/" to discover available styles; "random" is always an option)
chime-style (or the random pick) for this sessionchime-session Vibraphone or chime-session 19chime-events <EventName>chime_sound (state.json only, default Glass): macOS system sound played when the active style has no file for an event$CLAUDE_PLUGIN_ROOT/assets/text/spinners.txt (one per line) into ~/.claude/settings.jsonspinnerVerbs field from settings (restores Claude Code defaults)assets/text/spinners.txt directly to customize the verb listExamples:
bash "$CLAUDE_PLUGIN_ROOT/scripts/nerdflair.sh" spinner-verbs
bash "$CLAUDE_PLUGIN_ROOT/scripts/nerdflair.sh" spinner-verbs enable
bash "$CLAUDE_PLUGIN_ROOT/scripts/nerdflair.sh" spinner-verbs disable
<name> is the server's configured name or the name the statusline shows, in any case (e.g. slack, Cal, Chrome, Gusto DEMO). Quote names with spaces.slack as Slack, github as GitHub), Google Calendar shows as Cal and Gmail as Mail; an alias overrides that.bash "$CLAUDE_PLUGIN_ROOT/scripts/nerdflair.sh" mcp-alias Expedia Trips
bash "$CLAUDE_PLUGIN_ROOT/scripts/nerdflair.sh" mcp-hide "Gusto DEMO"
bash "$CLAUDE_PLUGIN_ROOT/scripts/nerdflair.sh" mcp-show Expedia
~/.claude/
spinnerVerbs from ~/.claude/settings.jsonstatusLine from ~/.claude/settings.json~/.claude/nerdflair/ directory (state, sessions)bash "$CLAUDE_PLUGIN_ROOT/scripts/nerdflair.sh" uninstall
Older names still work and map onto the commands above: bell (terminal-bell), chimes (toggle mute), bell-sound / audio-style (chime-style), audio-events (chime-events), volume (chime-volume), spinner (spinner-verbs), color (color-palette), -w / --width (width), and a bare layout name such as /nerdflair compact (layout). Prefer the canonical names in new instructions.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub jcraigk/nerdflair --plugin nerdflair