Skip to content
bash-defensive-patterns

Open source alternatives to bash-defensive-patterns

200 open source apps like bash-defensive-patterns, closest match first.

Top picks

  1. G

    garrytan/guard

    Get

    Guard 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

  2. S

    Shell GPT

    Launch

    ShellGPT 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

  3. S

    Shellcheck

    Launch

    ShellCheck 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

  4. S

    ShellOracle

    Launch

    ShellOracle 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

  5. G

    Greywall

    Launch

    Greywall 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

  6. S

    Shellsage

    Launch

    Spent 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

7
C

CC Safety Net

A pre-execution guard for AI coding agents

Launch
8
U

Ultimate Bug Scanner

Static analysis tool that catches 1000+ bug patterns across all popular

Launch
9
A

agnix

Linter for AI agent configurations

Get
10
R

rusiaaman/wcgw

Autonomous shell execution, computer control and coding agent for Mac

Get
11
S

ShellGPT

Upgrade your terminal with LLMs

Launch
12
D

debug-skill

Give your AI agent a real debugger

Get
13
B

Bug Hunter

Adversarial AI bug hunter with auto-fix skill for Claude Code, Cursor, Codex…

Launch
14
S

Savvy

Create and share runbooks directly from the terminal

Launch
15
A

Ansible CLI

Automate tasks, streamline workflow, and securely manage IT systems

Launch
16
U

Uncensored-AI--Tartarus-AI-Developer

Uncensored AI coding agent in your terminal

Launch
17
G

Grok Keysmith

Preview-first Grok Build instruction deployment

Launch
18
T

Tirith

Terminal security for developers and AI agents

Launch
19
H

HOL Guard

Open-source antivirus for AI agents: block risky tools, secret access

Get
20
S

Skill Doctor

Local-first inspector for coding-agent skills, conflicts, precedence

Launch
21
S

Secure Repo

Orchestrate GitHub Actions Security

Launch
22
H

HackBot

AI-powered cybersecurity chatbot designed to provide helpful

Launch
23
M

Myrqen

Security testing that runs inside the coding agent you already use

Launch
24
C

cc-devops-skills

by akin-ozer - Immensely detailed set of skills for DevOps Engineers

Get
25
C

Claude Cybersecurity

AI-powered cybersecurity code review skill for Claude Code

Launch
26
V

Vkit

Tools and Scripts for Linux VPS

Launch
27
B

Bash Prompt Generator

Customize your Bash Prompt by setting the PS1 variable

Launch
28
O

opensource-pipeline

Open-source pipeline: fork, sanitize

Get
29
S

skylos

Open source local-first PR scanner

Get
30
G

github-ops

GitHub repository operations, automation, and management

Get
31
O

OpenHunterAI

Local-first AI red team for web, API, and LLM application security

Launch
32
R

RubyShell

Rubyist way to create Shell Scripts!!

Launch
33
P

PromptScript

Prompt-as-Code for Enterprise AI

Launch
34
A

Aislop

Catch and fix the code-quality issues AI coding agents leave behind

Launch
35
E

Envradar

Catch undocumented, unused, and drifting environment variables in your repo

Launch
36
T

trailofbits/testing-handbook-skills

Testing Handbook skills: fuzzers, static analysis, sanitizers

Get
37
F

fosdickio/binaryninjamcp

Binary Ninja plugin and bridge for automating binary analysis

Get
38
S

Skill Flow

Install, manage, and share skills across every major coding agent

Launch
39
T

TerminalGPT

Terminal-based ChatGPT personal assistant app

Launch
40
A

AI Security Tool

Free open-source AI-powered security terminal & vulnerability scanner

Launch
41
G

garrytan/land-and-deploy

Merge the PR, wait for CI and deploy, verify production health

Get
42
G

Github Misc Scripts

GitHub script samples for automation

Launch
43
H

Hex SSH

Standalone skills for Claude Code and Codex: product discovery, architecture

Get
44
O

Openclaw Ops

OpenClaw operations skill with health checks, repair scripts, watchdogs…

Launch
45
N

niubash

AI-native bash for humans and AI agents: real bash syntax, Unix commands

Launch
46
F

ferrislucas/iterm-mcp

Access iTerm: run commands and ask questions about what is shown in the terminal

Get
47
B

BugTraceAI

Open-source, self-hosted web pentesting suite

Launch
48
B

bashell

A simple BASH script for unit-testing all your BASH scripts

Launch
49
A

Arr Scripts

Extended Container Scripts - Automation scripts to make life easier!

Launch
50
H

Hermes IDE

AI-powered shell wrapper for zsh, bash, and fish

Launch

About bash-defensive-patterns

B

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