Release: v0.1.0
Initial release.
What is metronome?
A Claude Code plugin that prevents Claude from taking shortcuts on repetitive tasks.
When Claude encounters repetitive work, it tends to declare "I'll work efficiently" and then switches from step-by-step edits to bulk operations (e.g. sed one-liners), often breaking files and losing uncommitted changes in the process.
Metronome detects such declarations and blocks the Bash tool call, reminding Claude to slow down.
How it works
- Runs as a
PreToolUsehook on theBashtool - Scans the most recent assistant message in the transcript for efficiency-related phrases
- Supports 9 languages: English, Japanese, Chinese, German, French, Spanish, Portuguese, Korean, and Russian
- When triggered, denies the tool call with positive guidance: "Slow down. Read the current task, execute it, verify the result, then move to the next."
Installation
claude
/plugin marketplace add shinpr/metronome
/plugin install metronome@metronome
# Restart Claude CodeRequirements
- Claude Code 1.0.33+
- Python 3
Known limitations
- Plugin hooks have a known execution bug in local development (
--plugin-dir). If hooks do not fire, add the hook configuration to.claude/settings.jsonas a workaround. See claude-code#14410.
License
MIT