bash-52-features

bash-52-features is a skill for Claude Code from Jamie-BitFlight/claude_skills. It costs 58 tokens per session (1,501 once invoked), scanned A, original, MIT.

A reference guide to new and changed features in Bash 5.2, the command-line shell used to run scripts and commands.

In plain words
What is it for?
Use it to learn about Bash 5.2 variable handling, Readline, arrays, and bug fixes, with practical shell examples.
Why use it?
It helps you understand version-specific behavior without searching through release notes or guessing which features are available.

Skill for Claude Code

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

Part of the bash-development plugin — 8 skills, 2 agents shipped together

Good fit Use it to learn about Bash 5.2 variable handling, Readline, arrays, and bug fixes, with practical shell examples.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jamie-bitflight/claude_skills/bash-52-features
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 Jamie-BitFlight/claude_skills --skill bash-52-features
Clone the repo
git clone --depth 1 https://github.com/Jamie-BitFlight/claude_skills

Made for: Claude Code.

Or install bash-development, the plugin that ships this one along with the rest of its 8 skills, 2 agents.

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 bash-52-features

README.md
[![agentmods](https://agentmods.dev/badge/skills/jamie-bitflight/claude_skills/bash-52-features.svg)](https://agentmods.dev/skills/jamie-bitflight/claude_skills/bash-52-features)
Your own site
<a href="https://agentmods.dev/skills/jamie-bitflight/claude_skills/bash-52-features"><img src="https://agentmods.dev/badge/skills/jamie-bitflight/claude_skills/bash-52-features.svg" alt="Measured on agentmods" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,501 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original 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.00058 $0.01501
Opus 5 $0.00029 $0.00750
Sonnet 5 $0.00012 $0.00300
Haiku 4.5 $0.00006 $0.00150

Measured 4d ago against content hash 73841e9c6088, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

bash-52-features 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 4d 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.

plugins/bash-development/skills/bash-52-features/SKILL.md · 224 lines

How it starts

The opening of the file, as written. The whole thing — 224 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Bash 5.2 Features and Improvements

Released in September 2022, Bash 5.2 brought enhancements to variable handling, readline integration, array support, and numerous bug fixes.

Variable Handling Enhancements

Improved Readonly and Unset Variable Behavior

Better error messages and more consistent behavior:

# More informative error messages for readonly variables
readonly CONFIG_PATH="/etc/app/config"

# Attempting to modify generates clearer error
CONFIG_PATH="/tmp/config"  # bash: CONFIG_PATH: readonly variable

# Better handling of unset variables with set -u
set -u

# Checking before use is now more reliable
if [[ -n "${OPTIONAL_VAR:-}" ]]; then
    echo "Variable is set: ${OPTIONAL_VAR}"
else
    echo "Variable is not set"
fi

# Practical example: Configuration validation
validate_config() {
    local -a required_vars=("DATABASE_URL" "API_KEY" "LOG_DIR")
    local var

    for var in "${required_vars[@]}"; do
        if [[ -z "${!var:-}" ]]; then
            printf 'Error: Required variable %s is not set\n' "${var}" >&2
            return 1
        fi
    done

    echo "All required configuration variables are set"
}

export DATABASE_URL="postgres://localhost/db"
export API_KEY="secret123"
export LOG_DIR="/var/log/app"

validate_config

Nameref Improvements

Enhanced reference variable handling.

Code examples

Readline 8.2 Integration

Significant improvements to command-line editing:

Enhanced Completion and History

# Better completion behavior in ~/.inputrc
# Skip completions for invisible characters
set skip-completed-text on

# Enhanced history search
# Cycle through history with prefix matching
bind '"\e[A": history-search-backward'  # Up arrow
bind '"\e[B": history-search-forward'   # Down arrow

# Improved completion coloring
set colored-stats on
set colored-completion-prefix on

# Better handling of long completions
set completion-display-width 0  # Use full terminal width

Read the full file on GitHub · 224 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago First seen · 224 lines · 58 tokens per session scan A 73841e9c6088

Subscribe to this mod's changes

bash-52-features is a skill published in the GitHub repository Jamie-BitFlight/claude_skills (66 stars, last pushed today), licensed MIT. It adds 58 tokens to every session and 1,501 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-09-03.

Related

Other skills, from other repositories

matlab

Build, review, migrate, and safely plan MATLAB or GNU Octave numerical workflows, including arrays, tabular/time data, tests, projects, graphics, MAT files, and explicit Python interoperability.

K-Dense-AI/scientific-agent-skills · 42 tokens

ast-grep

Guide for writing ast-grep rules to perform structural code search and analysis. Use when users need to search codebases using Abstract Syntax Tree (AST) patterns, find specific code structures, or perform complex code queries that go beyond simple text search. This skill should be used when users ask to search for…

JanDeDobbeleer/oh-my-posh · 80 tokens

platform-detection

Identify a .NET project's test platform, framework, command mode, and SDK-style vs classic project system. Use only for "which test platform/framework?", "VSTest or MTP?", or "what runner does this project use?", including bridge settings, UseVSTest opt-outs, and incompatible or conflicting VSTest/MTP configuration.…

dotnet/skills · 146 tokens

unity-version-split

Split a C# file into Unity 6.5+ and pre-Unity 6.5 variants. Use when a file needs different implementations for different Unity versions due to API changes (e.g., EntityId vs int, GetEntityId vs GetInstanceID).

IvanMurzak/Unity-MCP · 59 tokens

omh-rust

This is a Hermes-native rust workflow skill.

rlaope/oh-my-hermes · 69 tokens

axiom-concurrency

Use when writing ANY async code, actors, threads, or seeing ANY concurrency error. Covers Swift 6 concurrency, @MainActor, Sendable, data races, async/await patterns.

CharlesWiltgen/Axiom · 43 tokens