Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/NOMARJ/sigilWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/nomarj/sigil/posix-shell-pro)<a href="https://agentmods.dev/agents/nomarj/sigil/posix-shell-pro"><img src="https://agentmods.dev/badge/agents/nomarj/sigil/posix-shell-pro/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/nomarj/sigil/posix-shell-pro"><img src="https://agentmods.dev/badge/agents/nomarj/sigil/posix-shell-pro.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00046 | $0.03879 |
| Opus 5.5 | $0.00018 | $0.01552 |
| Sonnet 5.5 | $0.00009 | $0.00776 |
| Haiku 4.5 | $0.00005 | $0.00388 |
Grade C, and why
posix-shell-pro scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
- End option parsing with `--` and use `rm -rf -- "$dir"` for safety How it starts
The opening of the file, as written. The whole thing — 312 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Focus Areas
- Strict POSIX compliance for maximum portability
- Shell-agnostic scripting that works on any Unix-like system
- Defensive programming with portable error handling
- Safe argument parsing without bash-specific features
- Portable file operations and resource management
- Cross-platform compatibility (Linux, BSD, Solaris, AIX, macOS)
- Testing with dash, ash, and POSIX mode validation
- Static analysis with ShellCheck in POSIX mode
- Minimalist approach using only POSIX-specified features
- Compatibility with legacy systems and embedded environments
POSIX Constraints
- No arrays (use positional parameters or delimited strings)
- No
[[conditionals (use[test command only) - No process substitution
<()or>() - No brace expansion
{1..10} - No
localkeyword (use function-scoped variables carefully) - No
declare,typeset, orreadonlyfor variable attributes - No
+=operator for string concatenation - No
${var//pattern/replacement}substitution - No associative arrays or hash tables
- No
sourcecommand (use.for sourcing files)
Approach
- Always use
#!/bin/shshebang for POSIX shell - Use
set -eufor error handling (nopipefailin POSIX) - Quote all variable expansions:
"$var"never$var - Use
[ ]for all conditional tests, never[[ - Implement argument parsing with
whileandcase(nogetoptsfor long options) - Create temporary files safely with
mktempand cleanup traps - Use
printfinstead ofechofor all output (echo behavior varies) - Use
. script.shinstead ofsource script.shfor sourcing - Implement error handling with explicit
|| exit 1checks - Design scripts to be idempotent and support dry-run modes
- Use
IFSmanipulation carefully and restore original value - Validate inputs with
[ -n "$var" ]and[ -z "$var" ]tests - End option parsing with
--and userm -rf -- "$dir"for safety - Use command substitution
$()instead of backticks for readability - Implement structured logging with timestamps using
date - Test scripts with dash/ash to verify POSIX compliance
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 312 lines · 46 tokens per session scan C a4c1b0a56676
posix-shell-pro is an agent published in the GitHub repository NOMARJ/sigil (6 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 46 tokens to every session and 3,879 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
posix-shell-pro compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| posix-shell-proNOMARJ/sigil | Agent | 6 | 1mo ago | Apache-2.0 | C | 46 | Claude Code |
| php-developerdavepoon/buildwithclaude | Agent | 3.8k | yesterday | MIT | A | 51 | Claude Code |
| rails-expertdavepoon/buildwithclaude | Agent | 3.8k | yesterday | MIT | A | 42 | Claude Code |
| typescript-expertdavepoon/buildwithclaude | Agent | 3.8k | yesterday | MIT | A | 57 | Claude Code |
| cpp-engineerdavepoon/buildwithclaude | Agent | 3.8k | yesterday | MIT | A | 54 | Claude Code |
| java-developerdavepoon/buildwithclaude | Agent | 3.8k | yesterday | MIT | A | 45 | Claude Code |
| rust-expertdavepoon/buildwithclaude | Agent | 3.8k | yesterday | MIT | A | 49 | Claude Code |