fish-shell-scripting SKILL.md skillA

fish-shell-scripting from pyroxin/opinionated-claude-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add pyroxin/opinionated-claude-skills/fish-shell-scripting@git:20251129.c7223ee

Pins git:20251129.c7223ee in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
pyroxin/opinionated-claude-skills
Path
opinionated-fish-shell/skills/fish-shell-scripting/SKILL.md
Versions recorded
1
Latest version
git:20251129.c7223ee, committed Nov 29, 2025
Size
10,240 bytes
Repository stars
9
License
EPL-2.0

Fish shell scripting judgment frameworks and critical idioms. Use when writing Fish scripts or shell automation. Focuses on when to use Fish vs bash, macOS/Fedora compatibility requirements, and Fish-specific patterns that prevent bugs (universal variable anti-patterns, wrapper functions, interactive guards).

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Fish Shell Scripting

**Related skills:**
- `software-engineer` - General scripting design principles
- `python-programmer` - When shell complexity exceeds ~100 lines, consider Python

<core_philosophy>
**Fish is a user-friendly shell that prioritizes correctness over POSIX compatibility.** Its lists-not-strings semantics eliminates entire classes of bugs common in bash/zsh. The limitation is portability, not capability.

**Key insight**: Fish handles sophisticated automation well. Choose Fish when you control the environment; choose bash when you don't.
</core_philosophy>

## Platform Requirements

<platform_requirements>
**Compatibility**: All Fish scripts MUST work on both macOS and Fedora Linux. Handle platform differences via `uname` detection.

**Quote paths with spaces**: Always quote file paths even though Fish has no word splitting. Fish doesn't need quotes technically (no word splitting), but quoting anyway: (1) makes intent explicit for readability, (2) builds consistent habits when switching between shells, (3) ensures compatibility when passing to external commands that may interpret spaces.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add pyroxin/opinionated-claude-skills/fish-shell-scripting@sha256:6741ecdecedfd184

The line at the top of this page pins the label git:20251129.c7223ee, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_j5qoh7yfhax6rvrc.svg)](https://markdownregistry.com/a/art_j5qoh7yfhax6rvrc)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Nov 29, 2025.

versioncommittedcommitsizeaudit
git:20251129.c7223ee latest2025-11-29 c7223ee 10,240 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (10240 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

pyroxin/opinionated-claude-skills · 9 stars · license EPL-2.0 · pushed 2026-10-13 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_j5qoh7yfhax6rvrc
GET https://markdownregistry.com/api/v1/resolve?ref=pyroxin/opinionated-claude-skills/fish-shell-scripting
GET https://markdownregistry.com/api/v1/blob/6741ecdecedfd184e77a7607e382dbc1912b9f68e0d83c3bfdfe845895c7490c

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from pyroxin/opinionated-claude-skills

CLAUDE.md CLAUDE.md file
pyroxin/opinionated-claude-skills · CLAUDE.md
git:20260614.651580b · audit A · 9 stars
macos-programmer SKILL.md skill
pyroxin/opinionated-claude-skills · opinionated-apple-development/skills/macos-programmer/SKILL.md · macOS-specific development patterns, platform APIs, and decision frameworks. Use when developing Mac apps, macOS…
git:20260906.756f678 · audit A · 9 stars
swift-programmer SKILL.md skill
pyroxin/opinionated-claude-skills · opinionated-apple-development/skills/swift-programmer/SKILL.md · Swift-specific idioms, tooling, and philosophy for both application development and command-line scripting. Use when…
git:20260906.756f678 · audit F · 9 stars
java-programmer SKILL.md skill
pyroxin/opinionated-claude-skills · opinionated-java-ecosystem/skills/java-programmer/SKILL.md · Java-specific tooling, documentation standards, testing practices, and modern idioms. Use when working with Java code…
git:20251129.c7223ee · audit A · 9 stars
clojure-programmer SKILL.md skill
pyroxin/opinionated-claude-skills · opinionated-lisp-development/skills/clojure-programmer/SKILL.md · Clojure-specific philosophy, idioms, and judgment frameworks. Use when working with Clojure code. Emphasizes…
git:20251129.c7223ee · audit A · 9 stars
racket-programmer SKILL.md skill
pyroxin/opinionated-claude-skills · opinionated-lisp-development/skills/racket-programmer/SKILL.md · Racket-specific tooling, libraries, idioms, and language-oriented programming philosophy. Use when working with Racket…
git:20251129.c7223ee · audit A · 9 stars
swi-prolog-programmer SKILL.md skill
pyroxin/opinionated-claude-skills · opinionated-logic-development/skills/swi-prolog-programmer/SKILL.md · SWI-Prolog-specific tooling, standards, and idioms. Use when working with SWI-Prolog code. Emphasizes relational…
git:20251129.c7223ee · audit A · 9 stars
python-programmer SKILL.md skill
pyroxin/opinionated-claude-skills · opinionated-python-development/skills/python-programmer/SKILL.md · Python-specific idioms, philosophy, and expert-level patterns. Use when working with Python code, including Jupyter…
git:20260301.390d514 · audit A · 9 stars
decision-analysis SKILL.md skill
pyroxin/opinionated-claude-skills · opinionated-research/skills/decision-analysis/SKILL.md · Systematic framework for rigorous, situationally-grounded decision analysis. Use when evaluating options with competing…
git:20260927.f14dc60 · audit A · 9 stars
deep-research SKILL.md skill
pyroxin/opinionated-claude-skills · opinionated-research/skills/deep-research/SKILL.md · Deprecated name; the skill formerly here is now opinionated-research:interactive-research. Retained as a context-level…
git:20260704.474737c · audit A · 9 stars
interactive-research SKILL.md skill
pyroxin/opinionated-claude-skills · opinionated-research/skills/interactive-research/SKILL.md · Runs multi-source research and produces a cited, synthesized report, then remains available for follow-up questions…
git:20261003.763aa74 · audit A · 9 stars
expert-skill-creator SKILL.md skill
pyroxin/opinionated-claude-skills · opinionated-skill-creation/skills/expert-skill-creator/SKILL.md · Expert-level guidance for creating high-quality Claude Code skills, complementing Anthropic's skill-creator, which…
git:20261013.271bbad · audit A · 9 stars

Every file in pyroxin/opinionated-claude-skills

Browse by kind, by grade A, or by owner.