Skip to content
Back to skills

Shell Scripts

ASecurity

Use when writing or fixing shell scripts: strict mode, quoted variables, checks for required tools, cleanup with traps, and a script that behaves the same on macOS and Linux or says plainly which it supports.

  • 1,567 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 26, 2026
ai-agentsshell

Security analysis

A100/100

Scanned November 26, 2026

npx -y skills add autonomous-ai/openharness --skill shell-scripts --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Shell Scripts?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Shell Scripts
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/autonomous-ai-shell-scripts/badge)](https://www.skillsdirectory.com/skills/autonomous-ai-shell-scripts)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: shell-scripts
description: "Use when writing or fixing shell scripts: strict mode, quoted variables, checks for required tools, cleanup with traps, and a script that behaves the same on macOS and Linux or says plainly which it supports."
---

Start with set -euo pipefail. Quote every expansion. Check for each external command before using it. Use mktemp and a trap to clean up. Prefer portable flags, and run shellcheck before committing.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.