fish-shell-scripting

fish-shell-scripting is a skill for Claude Code from Pyroxin/opinionated-claude-skills. It costs 62 tokens per session (2,523 once invoked), scanned A, original, EPL-2.0.

A set of guidance for writing scripts and automation in the Fish shell, a command-line shell with syntax different from Bash. It covers Fish-specific patterns and compatibility considerations for macOS and Fedora.

In plain words
What is it for?
Use it when choosing Fish or Bash, writing Fish scripts, creating shell wrappers, handling interactive checks, and making automation work across macOS and Fedora.
Why use it?
It helps prevent shell scripts from failing because Bash and Fish use different syntax or variable behavior. It also highlights patterns that can cause unexpected persistent settings or interactive-only behavior.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the opinionated-fish-shell plugin — 1 skill shipped together

Good fit Use it when choosing Fish or Bash, writing Fish scripts, creating shell wrappers, handling interactive checks, and making automation work across macOS and Fedora.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pyroxin/opinionated-claude-skills/fish-shell-scripting
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Pyroxin/opinionated-claude-skills --skill fish-shell-scripting
Clone the repo
git clone --depth 1 https://github.com/Pyroxin/opinionated-claude-skills

Made for: Claude Code.

Or install opinionated-fish-shell, the plugin that ships this one along with the rest of its 1 skill.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for fish-shell-scripting

README.md
[![agentmods](https://agentmods.dev/badge/skills/pyroxin/opinionated-claude-skills/fish-shell-scripting/github.svg)](https://agentmods.dev/skills/pyroxin/opinionated-claude-skills/fish-shell-scripting)
Your own site
<a href="https://agentmods.dev/skills/pyroxin/opinionated-claude-skills/fish-shell-scripting"><img src="https://agentmods.dev/badge/skills/pyroxin/opinionated-claude-skills/fish-shell-scripting/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for fish-shell-scripting

Your own site · 80×15
<a href="https://agentmods.dev/skills/pyroxin/opinionated-claude-skills/fish-shell-scripting"><img src="https://agentmods.dev/badge/skills/pyroxin/opinionated-claude-skills/fish-shell-scripting.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,523 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00062 $0.02523
Opus 5 $0.00031 $0.01262
Sonnet 5 $0.00012 $0.00505
Haiku 4.5 $0.00006 $0.00252

Measured 9d ago against content hash 6741ecdecedf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

fish-shell-scripting scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

opinionated-fish-shell/skills/fish-shell-scripting/SKILL.md · 224 lines

The source is not reproduced here

Licensed EPL-2.0

The repository is licensed EPL-2.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 224 lines · 62 tokens per session scan A 6741ecdecedf

Subscribe to this mod's changes

fish-shell-scripting is a skill published in the GitHub repository Pyroxin/opinionated-claude-skills (9 stars, last pushed 2d ago), licensed EPL-2.0. It adds 62 tokens to every session and 2,523 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

create-site

Creates a new Power Pages code site (SPA) using React, Angular, Vue, or Astro. Guides through the full process from initial concept to deployed site: requirements discovery, scaffolding, component planning, design, implementation, validation, and deployment. Use when the user wants to create, build, or scaffold a new…

microsoft/power-platform-skills · 73 tokens

configure-env-variables

Configures environment variables for Power Pages site settings to support ALM across environments. Creates environment variable definitions in Dataverse, guides the user through linking site settings to those variables via the Power Pages Management app, adds the variables to the solution, and generates a…

microsoft/power-platform-skills · 119 tokens

deploy-site

Deploys an existing Power Pages code site to a Power Pages environment using PAC CLI. Handles tooling verification, authentication, environment confirmation, building, and uploading. Use when the user wants to deploy, upload, or publish their code site.

microsoft/power-platform-skills · 50 tokens

add-teams

Adds Microsoft Teams connector to a Power Apps code app. Use when sending Teams messages, posting to channels, or integrating with Teams chat.

microsoft/power-platform-skills · 31 tokens

elixir-idioms

OTP/BEAM patterns and Elixir idioms — GenServer, Supervisor, Task, Registry, pattern matching, with chains, pipes. Use when designing processes or debugging BEAM issues.

oliver-kriska/claude-elixir-phoenix · 44 tokens

security

Enforce Elixir/Phoenix security — auth, OAuth, sessions, CSRF, XSS, SQL injection, input validation, secrets. Use when editing auth files, login flows, RBAC, or API keys.

oliver-kriska/claude-elixir-phoenix · 47 tokens