>_

is.sh

agent-ready non-interactive

Human readable conditions for bash ๐Ÿ‘Œ

How to install is.sh

npm install -g is.sh

is.sh use case

Write clear and readable conditional statements in bash scripts, replacing the traditional 'test' command.

When to use is.sh

  • When writing bash scripts that require human-readable numeric, string, or file conditionals
  • When performing portable numeric comparisons (e.g., equality, greater-than, less-than) without relying on arithmetic context
  • When checking file properties (exists, directory, etc.) with intuitive syntax

When not to use is.sh

  • When already using native bash test/bracket commands and readability is not a concern
  • When the script must run in environments where sourcing an external script is impractical
  • When complex logical combinations (AND/OR) are needed beyond simple sequential conditions

is.sh features

  • ยท Numeric comparisons (equal, gt, lt, ge, le)
  • ยท String checks (empty, substring, regex matching)
  • ยท File tests (file exists, directory, etc.)
  • ยท Human-readable, English-like syntax

Want your agent to find this automatically?

Add the MCP server to your agent config and it will discover tools like is.sh on its own.

Set up MCP โ†’

Similar tools to is.sh