bash-tidy

bash-tidy is a Claude Code mod by alanrsoares that drops redundant cd from Bash commands and asks before cat/grep/sed -i that Read, Grep or Edit would do.

Updated 2026-12-01

What is bash-tidy?

bash-tidy is a Claude Code mod by alanrsoares that drops redundant cd from Bash commands and asks before cat/grep/sed -i that Read, Grep or Edit would do. It is listed under Interface and has no public popularity data yet.

TypeClaude code mod
Authoralanrsoares
Repositoryalanrsoares/claude-mods
Popularityno public popularity data yet
CategoryInterface
SecurityLow risk (100/100)
Rank#4,788 of 9,397 Claude Code mods; #2,046 in Interface
LicenseMIT
Last commit2026-12-01
Hooks2 events
SeesBash calls
Draws onnothing

Is bash-tidy safe to install?

bash-tidy scores 100/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 8 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.session.cwd

How do I install bash-tidy?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/alanrsoares/claude-mods
    claude plugin validate ./claude-mods/bash-tidy
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add alanrsoares/claude-mods && claude plugin install bash-tidy@alan-mods

Or ask Claude to set it up

Paste this into Claude Code and it installs bash-tidy for you:

Install the "bash-tidy" Claude Code mod from https://github.com/alanrsoares/claude-mods/tree/main/bash-tidy. Run claude plugin validate on it first and show me what it can access before you enable it.

More from alanrsoares/claude-mods

This repository has 5 Claude Code mods on MCPMods.

  • agent-gate: Puts every Agent (subagent) call to the permission decider instead of running it unasked. (Low risk)
  • headroom-hud: HUD band and side pane: model/effort, context gauge, session cost, headroom proxy savings, and guided /compact. (Review before installing)
  • laya-router: Rates each prompt with a local laya-serve, names a model tier, fills it in on Agent calls and can route the main loop. (Review before installing)
  • verify-gate: Asks before git commit or gh pr create while edited code has not passed a check command since its last edit. (Low risk)