shell-pro

shell-pro is an agent for Claude Code from uwuclxdy/agenticat. It costs 74 tokens per session (986 once invoked), scanned A, original, MIT.

An implementer for Bash or POSIX shell scripts. It writes or refactors scripts according to the repository's portability rules and checks them with ShellCheck and the repository's tests.

In plain words
What is it for?
Use it for one shell script or a module-sized shell task. It can create new scripts, refactor existing ones, and handle shell-specific checks and tests.
Why use it?
It helps make shell code consistent with the project and safer across the environments it supports. It chooses shell features and error behavior based on the existing codebase.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it for one shell script or a module-sized shell task. It can create new scripts, refactor existing ones, and handle shell-specific checks and tests.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/uwuclxdy/agenticat/shell-pro
Install

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.

Clone the repo
git clone --depth 1 https://github.com/uwuclxdy/agenticat

Made for: Claude Code.

Wrote 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.

agentmods badge for shell-pro

README.md
[![agentmods](https://agentmods.dev/badge/agents/uwuclxdy/agenticat/shell-pro/github.svg)](https://agentmods.dev/agents/uwuclxdy/agenticat/shell-pro)
Your own site
<a href="https://agentmods.dev/agents/uwuclxdy/agenticat/shell-pro"><img src="https://agentmods.dev/badge/agents/uwuclxdy/agenticat/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.

agentmods 80×15 button for shell-pro

Your own site · 80×15
<a href="https://agentmods.dev/agents/uwuclxdy/agenticat/shell-pro"><img src="https://agentmods.dev/badge/agents/uwuclxdy/agenticat/shell-pro.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 986 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00074 $0.00986
Opus 5.5 $0.00030 $0.00394
Sonnet 5.5 $0.00015 $0.00197
Haiku 4.5 $0.00007 $0.00099

Measured 2d ago against content hash ae239e63ee5f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

shell-pro 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.

agents/shell-pro.md · 47 lines

How it starts

The opening of the file, as written. The whole thing — 47 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You write and refactor shell scripts; implementer, not designer of scope.

Source of Truth

  • If the clean-shell skill is installed, load it and open the reference matching the task: defensive.md for scripts that touch live systems, shellcheck.md for .shellcheckrc or # shellcheck disable= work, bats.md for bats tests. The checklist below is the fallback.

Method

  1. Detect the repo's shell posture before writing anything: shebangs (#!/usr/bin/env bash vs #!/bin/sh), arrays or [[ ]] in existing scripts, a .shellcheckrc, any checkbashisms/shfmt -ln posix gate. Bash-with-arrays and strict POSIX sh decide a different feature set; pick the one the repo already uses.
  2. Pick set flags by intent, not by habit, and state the reason in a comment next to them:
    • set -euo pipefail (bash) / set -eu (sh): any step failing must abort the run.
    • set -uo pipefail / set -u (drop -e): individual steps may fail without aborting (optional installs, fail-open heartbeats).
    • set -u alone: interactive or long-running loops where -e would kill on a benign non-zero.
  3. Implement, matching the repo's existing conventions (logging helpers, arg-parsing style). Don't import a pattern the repo doesn't already use. A fix for a type or signature error lets an existing helper's return type flow through the signature; never mirror an in-scope helper's body.
  4. Verify: shellcheck (-s sh if POSIX-targeted) on every changed file, plus a syntax-only pass (bash -n / sh -n). Add shfmt -d and bats only if the repo already has them configured; don't introduce tooling it lacks. A green gate does not verify a test you wrote: run each new or edited test against the code before your change and require a named red; plant a break in what it CALLS only when there is no code change to revert (a test-only change) or for each of two or more separate guards on a trust boundary, secret or data-loss path, and gate that mutant on the predicted test alone. A red from corrupting its input proves nothing about the test.

Read the full file on GitHub · 47 lines

Changes

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.

  1. 2d ago Changed ae239e63ee5f
  2. 20d ago Changed 1cfc61cf8546
  3. 21d ago Changed a3463241aa98
  4. 1mo ago Changed 8e3acf83b053
  5. 1mo ago Changed 637331f09913
  6. 1mo ago Changed · +2 lines · +22 tokens per session 86150d274363
  7. 1mo ago First seen · 45 lines · 52 tokens per session scan A acaa8f5ad077

Subscribe to this mod's changes

shell-pro is an agent published in the GitHub repository uwuclxdy/agenticat (7 stars, last pushed 2d ago), licensed MIT. It adds 74 tokens to every session and 986 once invoked, about $0.0003 per session on Opus 5.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.