Open source alternatives to bash-defensive-patterns
200 open source apps like bash-defensive-patterns, closest match first.
Top picks
- G
garrytan/guard
GetGuard is an agent skill that turns on two safety layers with a single command. The first warns about destructive commands such as rm -rf, DROP TABLE and force-pushes. The second restricts file edits to a chosen directory, in the same way th
- S
Shell GPT
LaunchShellGPT is a command-line tool that uses large language models to generate shell commands, code snippets and documentation from a plain-language request, so you do not have to search for the syntax of common commands such as find. It runs
Open source
- S

Shellcheck
LaunchShellCheck is an open-source static analysis tool that finds bugs in shell scripts before they run. It points out quoting mistakes, portability problems, mismatched shebangs, and higher-level semantic issues such as unused or misused variab
Open source
- S
ShellOracle
LaunchShellOracle is a terminal utility that turns a plain-language description into a shell command. It is designed to run as a BASH, ZSH or fish widget. You press CTRL+F, describe the command you want, and press Enter, and the generated command
Open source
- G

Greywall
LaunchGreywall is a container-free, deny-by-default sandbox for AI coding agents on Linux and macOS. You prefix the command you already use, such as greywall -- claude, and it runs the agent with a live feed of every file read, write and network
Open source
- S

Shellsage
LaunchSpent countless hours in the terminal. I always wished for an AI assistant that's helpful, fast, and respects privacy—so I built Shell Sage!🚀 Ollama runs locally for offline AI, while it also supports cloud APIs for more flexibility. Whethe
Open source
More like bash-defensive-patterns
About bash-defensive-patterns

bash-defensive-patterns
Master defensive Bash programming techniques for production-grade scripts
bash-defensive-patterns is an agent skill from the wshobson/agents collection for writing production-grade Bash scripts. It collects defensive programming techniques: error handling, careful handling of variables and input, and safety practices that prevent the common pitfalls that cause shell scripts to fail quietly or do the wrong thing. The goal is reliability for scripts that matter, including automation scripts, CI/CD pipeline steps, deployment helpers, system administration utilities and shell libraries that many scripts share. The skill also covers the logging and monitoring that make a script's behavior visible, and it helps scripts that must handle edge cases safely, such as unusual file names or missing inputs. The detailed patterns and worked examples sit in a separate reference file, which the agent reads when the main guidance is not enough. The skill is useful when writing new scripts or hardening existing ones. It is installed with the skills CLI from the wshobson/agents repository, and its skills.sh page showed about 13.0K installs and passing results from three security audits at the time of the scan.
- Price
- Free
- Made by
- wshobson
- Category
- AI Skills
- Website
- github.com/wshobson/agents/bash-defensive-patterns



.png?auto=compress&fit=max&w=128)






