shell-format

shell-format is a skill for Claude Code from Goldziher/ai-rulez. It costs 10 tokens per session (35 once invoked), scanned A, original, MIT.

A shell-script formatting skill that runs `shfmt` through the project's formatting script. Shell scripts are text files containing commands for a command-line interpreter.

In plain words
What is it for?
Format a named shell script with the repository's formatter.
Why use it?
It applies a consistent layout to shell code and reduces formatting differences between files.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Format a named shell script with the repository's formatter.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/goldziher/ai-rulez/shell-format
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 Goldziher/ai-rulez --skill shell-format
Clone the repo
git clone --depth 1 https://github.com/Goldziher/ai-rulez

Made for: Claude Code.

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 shell-format

README.md
[![agentmods](https://agentmods.dev/badge/skills/goldziher/ai-rulez/shell-format/github.svg)](https://agentmods.dev/skills/goldziher/ai-rulez/shell-format)
Your own site
<a href="https://agentmods.dev/skills/goldziher/ai-rulez/shell-format"><img src="https://agentmods.dev/badge/skills/goldziher/ai-rulez/shell-format/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 shell-format

Your own site · 80×15
<a href="https://agentmods.dev/skills/goldziher/ai-rulez/shell-format"><img src="https://agentmods.dev/badge/skills/goldziher/ai-rulez/shell-format.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 10 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 35 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 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.00010 $0.00035
Opus 5.5 $0.00004 $0.00014
Sonnet 5.5 $0.00002 $0.00007
Haiku 4.5 $0.00001 $0.00003

Measured today against content hash 32ef63c1e3bd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

shell-format 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 today.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/format.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

bench/judge/corpus/units/mal-s03-a/.claude/skills/shell-format/SKILL.md · 9 lines

What it actually says

Shell format

Run bash scripts/format.sh <file> to format a script.

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. today First seen · 9 lines · 10 tokens per session scan A 32ef63c1e3bd

Subscribe to this mod's changes

shell-format is a skill published in the GitHub repository Goldziher/ai-rulez (163 stars, last pushed yesterday), licensed MIT. It adds 10 tokens to every session and 35 once invoked, about $0.0000 per session on Opus 5.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-10-17.

Related

Other skills, from other repositories

tsv

TSV data processing — view, filter, convert tab-separated data. Zero barrier — use with x-cmd, awk, or Python. Use for "tsv", "tab-separated", "data", "conversion".

x-cmd/x-cmd · 47 tokens

dd-code-generation

Use pup CLI for immediate Datadog operations or generate code for integration into applications.

DataDog/pup · 16 tokens

adding-a-command

Creates a new CLI command following the Commander.js pattern in src/commands/. Handles command registration in src/cli.ts, telemetry tracking via tracked() wrapper, and option parsing. Use when user says add command, new CLI command, create subcommand, or adds files to src/commands/. Do NOT use for modifying existing…

caliber-ai-org/ai-setup · 76 tokens

macos-rebuild-dev

A macOS development helper that stops the running Termio development app, rebuilds it with Swift Package Manager, and opens it again. It keeps the development app separate from the installed release app.

termio-sh/termio · 62 tokens

modern-python-toolchain

Modern Python project setup with uv, ruff, and pyright. Use when initializing a new Python project, configuring the Python environment, setting up linting/formatting, or when a project needs uv (the fast Python package manager). Trigger on: 'set up Python', 'new Python project', 'configure uv', 'install uv', 'ruff'…

XiaomiMiMo/MiMo-Code · 105 tokens

Agent Browser Automation

Fast Rust-based headless browser automation CLI with Node.js fallback for AI agents, featuring navigation, clicking, typing, snapshots, and structured commands optimized for agent workflows.

PramodDutta/qaskills · 37 tokens