
Claude Tab Fix
Add a PreToolUse hook that fixes Edit calls when Claude mixes spaces with tab-indented project files.
Overview
claude-tab-fix is a plugin marketplace for the Build phase that provides a PreToolUse hook to fix tab versus space indentation mismatches in Claude Code Edit calls.
What is this marketplace?
- PreToolUse hook runs before Edit tool calls (v1.0.2)
- Normalizes indentation when files use tabs but edits use spaces
- Targets silent Edit failures in tab-indented codebases
- Single focused plugin with no extra agent stack
- Drop-in fix for Claude Code editing reliability
Community signal: 11 GitHub stars.
What problem does it solve?
Claude Code Edit tool calls can fail silently when your repo uses tabs but the model patches with spaces.
Who is it for?
Indie devs on tab-indented codebases who rely on Claude Code Edit for daily implementation.
Skip if: Projects that only use space indentation or editors where this hook conflicts with custom PreToolUse chains.
What do I get? / Deliverables
Edits normalize indentation before apply, so agent-driven file changes land instead of disappearing.
- Installed claude-tab-fix PreToolUse hook
- More reliable Edit applies on tab-based files
Plugins in this marketplace
1 plugin — install individually after you add the marketplace.
Recommended Marketplaces
Journey fit
Silent Edit failures block implementation mid-build, so this marketplace sits on Build as agent-side reliability tooling. Agent-tooling is the right shelf for hooks that normalize Claude Code Edit tool behavior before patches apply.
How it compares
Edit-tool hook fix, not a formatter skill or MCP integration.
Common Questions / FAQ
Who is Claude Tab Fix for?
Claude Code users whose repositories use tab indentation and who see failed or silent Edit operations from the agent.
When should I use Claude Tab Fix?
Enable it when you are in active build work and agent edits on tab-based files consistently do not apply.
How do I add Claude Tab Fix to my agent?
Add the WithHolm/Claude Tab Fix marketplace in Claude Code and turn on the Claude Tab Fix plugin so the PreToolUse hook runs on Edit.