Provides idiomatic Fish shell patterns: functions, completions, abbreviations, argparse, and config layout. Useful when writing or reviewing .fish files.
Ships in supermodel-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Fish is not bash. Different syntax (test over [[ ]], (cmd) over $(cmd)), string/math builtins, scopes via set -l/-g/-gx/-U, and no &&/|| — use ; and/; or or chained commands.
~/.config/fish/ (chezmoi source: private_dot_config/fish/)functions/<name>.fish — autoloaded on first use; filename must match function nameconf.d/*.fish — sourced at startup; abbreviations, keybindings, env tweakscompletions/<cmd>.fish — completion definitionsconfig.fish — assembled from .chezmoitemplates/fish/*.fish fragments at chezmoi apply time. If you're editing specifically how the templates are assembled, you should load the chezmoi skill, otherwise you won't need that depth.You're in bash. Run fish via subshell: fish -c "<commands>". New .fish files are picked up automatically by each new subshell after chezmoi apply — no reload needed. Shell side effects can be destructive, so prefer asking the user to test interactive features rather than self-validating.
Add tests only for Fish functions with substantial branching, parsing, state handling, or external integration. Co-locate them as functions/<name>_test.fish, define the matching <name>_test function, and run it in a fresh Fish subshell.
logirl — preferred for all structured messagesgum — confirms, inputs, choosers| Bash | Fish |
|---|---|
[[ ... ]] | test ... |
$(command) | (command) |
VAR=value | set VAR value |
export VAR=value | set -gx VAR value |
command -v cmd | type -q cmd |
$((1+2)) | math 1+2 |
${var:-default} | set -q var; or set var default |
"${arr[@]}" | $arr |
${#var} | string length $var |
cmd1 && cmd2 | cmd1; and cmd2 |
cmd1 || cmd2 | cmd1; or cmd2 |
source file | source file or . file |
Fish shell docs — fetch when something isn't covered locally.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/supermodel-skills:fish-shellfrom supermodel-skills
npx claudepluginhub gwenwindflower/dotfiles --plugin supermodel-skills22 skills in this plugin
/agent-configCoding agent harness config - Claude Code hooks and settings, Codex config.toml layers, sandbox and approvals, permission profiles, MCP, plugins./analytics-engineeringAnalytics engineering - dbt projects, maintainable SQL as CTE pipelines, event patterns (funnels, sessions, retention, window functions, MATCH_RECOGNIZE)./ascii-animationsASCII and Unicode terminal animations - spinners, logo reveals, particles. Frame loops, character grids, per-character state, performance.Other plugins' skills for the same job