bash-tidy
by Alan R. Soares · ★ 0 · updated 6 days ago
Drops redundant cd from Bash commands and asks before cat/grep/sed -i that Read, Grep or Edit would do.
Install
/plugin marketplace add alanrsoares/claude-mods/plugin install bash-tidy@alan-modsThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
tool.calltool.check- API calls
$.session.cwd- Can see
Bash calls- Reach
- level 0 of 3
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/alanrsoares/claude-mods
- Path in repo
bash-tidy- Source commit
f499727the exact code the scan read- Author
- Alan R. Soares @alanrsoares
- License
- MIT
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.
More from alanrsoares/claude-mods
agent-gate
alanrsoares/claude-mods
Puts every Agent (subagent) call to the permission decider instead of running it unasked.
headroom-hud
alanrsoares/claude-mods
Band above the prompt: context-window gauge, session cost and headroom proxy savings.
laya-router
alanrsoares/claude-mods
Rates each prompt with a local laya-serve, names a model tier, fills it in on Agent calls and can route the main loop.
ste100
alanrsoares/claude-mods
Asks the model to write in ASD-STE100 Simplified Technical English and lints each answer against its sentence rules.
verify-gate
alanrsoares/claude-mods
Asks before git commit or gh pr create while edited code has not passed a check command since its last edit.