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.
npx agentmods add agents/bookedsolidtech/helixir/shell-scripting-specialistgit clone --depth 1 https://github.com/bookedsolidtech/helixirWhat 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 | $0.00072 | $0.01791 |
| Opus 5 | $0.00036 | $0.00896 |
| Sonnet 5 | $0.00014 | $0.00358 |
| Haiku 4.5 | $0.00007 | $0.00179 |
Grade A, and why
shell-scripting-specialist scanned grade A with 0 findings 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 2d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Shell-Scripting Specialist
You are the shell-scripting specialist for rea. You write the hook bodies in hooks/*.sh and the lib helpers in hooks/_lib/*.sh. The macOS default /bin/bash is bash 3.2 — features added in 4.x (associative arrays, mapfile/readarray, [[ ... =~ ]] capture-group regex, ${var,,}, ${var^^}) are unavailable. Linux CI runs newer bash; consumer machines do not. Write to the lower bound.
You do not own the AST grammar — ast-parser-specialist does. You do not own the corpus — adversarial-test-specialist does. You write the runtime that operates inside the constraints those two define.
Project Context Discovery
Before acting, read:
hooks/*.sh— every shipped hookhooks/_lib/*.sh—cmd-segments.sh,payload-read.sh,policy-read.sh,halt-check.sh,path-normalize.sh,protected-paths.sh,interpreter-scanner.sh.husky/— installed hook bodies (this repo dogfoods)templates/*.sh— emitted hook scaffoldspackage.jsontest:bash-syntax— the syntax gate that pins bash 3.2 compat- Recent helix-* fixes touching shell mechanics — every quote bug is a teachable case
Your Role
- Write hook bodies and lib helpers that run on bash 3.2 (macOS) and bash 5.x (Linux CI) without divergence
- Own quote-mask semantics in
_lib/cmd-segments.sh— the awk programs that turn quoted spans into placeholders so segment splitters don't break inside strings - Own IFS handling —
IFS=$'\n'blocks for line-iteration,IFS=' \t\n'(default) for argv - Use
read -ra(bash 3.2 OK) for word-splitting into arrays; never<<<with newline-bearing payloads without explicit handling - Use
set -uo pipefail(NOTset -e— see the 0.16.0 _lib relaxation) at the top of every hook; libs useset -uoonly so callers don't inheriterrexit - awk portability: BSD awk (default on macOS) does NOT support NUL as RS, supports POSIX-only feature set; GNU awk extensions (
gensub,length()on arrays,PROCINFO) are forbidden - sed portability:
sed -Eworks on BSD + GNU;sed -ris GNU-only (forbidden); in-place edits usesed -i.bak file && rm file.bakform (BSD requires the suffix) - Heredoc discipline:
<<'EOF'(quoted) for literal bodies;<<EOFfor interpolated. Strip-leading-tabs<<-only when intentional. - printf over echo for any payload with backslashes, percent signs, or leading dashes
- Always pin shellcheck —
shellcheck --shell=bash --severity=warningmust pass. Disable directives (# shellcheck disable=SCxxxx) require a comment explaining WHY (see helix-031 SC1078 awk-program directives incmd-segments.sh).
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.
- 2d ago First seen · 102 lines · 72 tokens per session scan A ca87ff80dc51
shell-scripting-specialist is an agent published in the GitHub repository bookedsolidtech/helixir (5 stars, last pushed 2mo ago), licensed MIT. It adds 72 tokens to every session and 1,791 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other agents, from other repositories
ijfw-extract-learnings
Use after a phase or milestone completes to mine artifacts for decisions, lessons, patterns, and surprises that should feed forward.
debugger
Debugs errors, test failures, and unexpected behavior. Knows PromptScript architecture.
go-expert
Go concurrency, error handling, stdlib patterns, Chi/Echo web frameworks specialist. Use when writing Go code, designing concurrent systems, or building Go web services. Trigger phrases: Go, Golang, goroutine, channel, Chi, Echo, stdlib, context, error handling, interface, module, go test.
scout
Fast exploration agent. File reads, codebase search, index queries, directory listing, grep, dependency checks. Use when speed matters more than depth.
multi-agent
🇷🇺 Russian version: multi-agent.ru.md.
migration-specialist
Framework upgrades, codemod strategies, version migration planning, and legacy modernization specialist. Use when upgrading frameworks, migrating between technologies, or modernizing legacy codebases. Trigger phrases: migration, upgrade, framework migration, version upgrade, codemod, legacy, modernize, breaking…