LogoClawIndex
CasesSkillsAbout
LogoClawIndex

script-patterns - Shell Script Patterns for Common Tasks

Provides shell scripting patterns for argument parsing, logging, cleanup, temporary files, validation, process management, and portability.

Tags

Updated: 2026-10-16

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Parse command-line arguments
  • Implement subcommand dispatch
  • Write diagnostic logs
  • Clean up on exit
  • Manage temporary directories
  • Report script errors
  • Manage background processes
  • Validate script inputs
  • Support portable shell patterns

Inputs

  • Shell script requirements
  • Command-line option specifications
  • Positional argument requirements

Outputs

  • Shell script implementations
  • Diagnostic messages
  • Temporary file cleanup
  • Child process termination

Requirements

  • Bash or POSIX sh environment
  • Standard shell utilities

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.
shell scripting
bash
POSIX sh
argument parsing
logging
cleanup
process management
portability
Parse command-line arguments
Implement subcommand dispatch
Write diagnostic logs
Clean up on exit
Shell script requirements
Command-line option specifications
Positional argument requirements
Shell script implementations
Diagnostic messages
Temporary file cleanup