Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

POSIX shell scripting subagent v1.0.0

Use this resource to write portable sh scripts for all Unix-like systems

New

  • 396 downloads
  • 117 likes
  • 176 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install posix-shell-subagent

First time: connect the CLI with

npx --yes palatekit@latest login

This subagent uses only POSIX features: no arrays, no [[ ]], no process substitution, with a #!/bin/sh shebang. It tests with dash and runs ShellCheck in POSIX mode. The main agent hands it scripts that must run on several Unix systems or minimal environments.

Mostly picked by

Updated November 2, 2026

Card for “POSIX shell scripting subagent”

Details

Install guides
Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • The subagent file (in English): POSIX constraints and portability rules
  • Testing guidance with dash, ash and ShellCheck
  • Pointers on temporary files and argument handling

Good fit for

  • An install script that must run on several systems
  • A tool for minimal environments or lightweight containers

Not for

    Tags

    • sh
    • posix
    • portability
    • shell

    About

    You say

    “Write an sh install script that works with dash and macOS.”

    Card for “POSIX shell scripting subagent”

    Subagent published by wshobson under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Copy the file into .claude/agents/ (project) or ~/.claude/agents/ (all your projects)
    2. Ask your agent to write portable sh scripts for all Unix-like systems, or call the subagent by name
    3. Review its work

    Content preview

    Files

    • LICENSE1.1 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • posix-shell-subagent.md14.6 KB

    Origin and licence

    Listed unmodified

    Author
    wshobson
    Source
    github.com/wshobson/agents/blob/0874a27b17a22e2b7c2e2bcd725768e0803cad06/plugins/shell-scripting/agents/posix-shell-pro.md
    Licence
    MIT

    Notice

    « posix-shell-pro » (wshobson, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.