PlugMyPlugin
← Browse

tool-habits

kattakath ★ 0

This PreToolUse hook watches for Bash commands that edit files in place (sed -i, perl -pi, inline Python) and adds a contextual note suggesting Claude use the safer, diff-reviewed Edit tool instead. The advisory never blocks—it surfaces the pattern and leaves the decision to the agent.

Code Review Productivity No API key detected runs shell

Install

> /plugin marketplace add kattakath/skills/tree/HEAD/plugins/tool-habits
> /plugin install tool-habits

Source: https://github.com/kattakath/skills/tree/HEAD/plugins/tool-habits

What it's made of

1 hook

Commands
0
Agents
0
Skills
0
MCP servers
0
Hooks
1 · PreToolUse

What it needs & plugs into

API keys
none
Paid services
none detected
External tools
node
Talks to
nothing external detected

Analyzed . Facts extracted from the plugin's files. Prose generated by claude-haiku-4-5-20251001.

Is this your plugin?

Claim it to keep the card accurate and enter the weekly contest. Requires signing in as the GitHub owner (kattakath).