LogoClawIndex
CasesSkillsAbout
LogoClawIndex

shell-conventions - Guidelines for writing bash and helper scripts

Guides writing and updating bash scripts, CLI wrappers, and Node.js helper scripts following strict portability and execution rules.

Tags

Updated: 2026-09-13

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Write portable bash scripts
  • Enable bash strict mode
  • Use explicit ESM extensions
  • Resolve project root relative paths
  • Handle parameter defaults safely
  • Implement cleanup traps

Inputs

  • Scripts in scripts directory
  • Script arguments and flags

Outputs

  • Executable shell scripts
  • Command line process execution results
  • Cleaned temporary files

Requirements

  • Bash shell environment
  • Script execute permissions
  • Node.js runtime environment

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
bash
shell
scripts
conventions
cli
Write portable bash scripts
Enable bash strict mode
Use explicit ESM extensions
Resolve project root relative paths
Scripts in scripts directory
Script arguments and flags
Executable shell scripts
Command line process execution results
Cleaned temporary files