Skill Detail

Rewrite fragile shell scripts toward safer quoting and stricter patterns with Shellharden

Inspect or auto-fix shell scripts to reduce quoting bugs and brittle Bash patterns before they break in CI or production.

Code Quality & ReviewMulti-Framework
Code Quality & Review Multi-Framework Security Reviewed
⭐ 4.8k GitHub stars
INSTALL WITH ANY AGENT
npx skills add agentskillexchange/skills --skill rewrite-fragile-shell-scripts-toward-safer-quoting-and-stricter-patterns-with-shellharden Copy
Works best when you want a reusable capability, not another fragile one-off prompt.
At a glance
Tools required
Shellharden binary, shell scripts to review
Install & setup
Install Shellharden from a release or package manager, review findings with `shellharden <script>` and use its rewrite mode only after inspecting the proposed changes.
Author
anordal
Publisher
Individual
Last updated
Apr 15, 2026
Quick brief

Use Shellharden when an agent is responsible for making existing shell scripts safer, more predictable, and easier to maintain. The agent reviews quoting, substitutions, and common Bash hazards, then proposes or applies focused rewrites that reduce foot-guns. Invoke this instead of using the product normally when the job is shell-script hardening during cleanup, review, or incident prevention, not general shell authoring. The scope boundary is concrete: rewrite-oriented hardening of shell scripts.