Claude Code hook
Britfix
Convert American spellings to British English - fix LLM output and documents
Install
git clone https://github.com/Talieisin/britfix.gitFrom the README
Britfix Convert American spellings to British English. Originally created to fix the US spelling output from LLMs, but useful for anyone who needs British spellings in their documents and code. Features - Multiple File Types: Text, markdown, LaTeX, HTML, JSON, and code files - Smart Code Handling: Only converts comments and docstrings in code files, never string literals or identifiers - Context-Aware: Preserves quoted text like 'colorScheme' in comments (API references) - Interactive Mode: Review and approve changes one by one - Hook Integration: Automatically fix spellings when writing files Installation Requires uv and optionally just. Usage Options - --input: Input file(s) or pattern(s). If omitted, reads from stdin - --interactive, -i: Interactive approval mode (strategy-aware — only suggests changes in regions the strategy considers safe, e.g. comments in code files, prose in markdown). JSON files fall back to non-interactive processing - --dry-run: Preview changes without modifying files - --no-backup: Skip backup creation - --recursive: Process files recursively - --quiet: Only output corrected text (for pipelines) - --no-project-ignore: Skip the .britfixignore files found beside the input files. Your user-level ignore file still applies. The hook never passes this File Type Strategies Different file types are handled by different strategies, configured in config.json: An extension not listed above has no strategy, and both the CLI and the hook skip it rather than guessing. Plain text is not used as a fallback for files on disk: a .pyi, .yaml, .lua or extensionless file converted as plain text would have its identifiers and keys rewritten, not just its prose. The CLI reports each one as a britfix: skipped diagnostic and counts it separately.…
How hooks work
- Hooks are shell commands Claude Code runs at fixed points: before or after a tool call, when you submit a prompt, when Claude stops, on notifications and at session start.
- They are set in the hooks section of ~/.claude/settings.json (or .claude/settings.json for a project), or come bundled in a plugin.
- A hook can block a tool call, add context, or run a formatter or test. Read the scripts before you install them: they run on your machine with your permissions.
Details
- Repository
- Talieisin/britfix
- Type
- Hooks
- Language
- Python
- License
- MIT
- Last updated
- 31 October 2026
- Listed in
- awesome-claude-code (extra)
FAQ
What is Britfix?
Convert American spellings to British English - fix LLM output and documents It is a hook for Claude Code, from Talieisin/britfix on GitHub.
How do I install Britfix?
Clone Talieisin/britfix from GitHub and follow the setup steps in its README.
Is Britfix popular?
Talieisin/britfix has 19 GitHub stars and 4 forks, and is included in 1 curated Claude Code list. It was last updated on 31 October 2026.
More hooks
Claude Rpc
32rar-file/claude-rpc
Discord Rich Presence (RPC) for Claude Code — live model, project, tokens, and lifetime stats in your Discord profile. Driven by Claude Code hooks.
nomos
19safe-agentic-world/nomos
Deny-wins policy hook checking every shell, file and fetch call from Claude Code or Codex.
Safer Dependencies
43robert-auger/safer-dependencies
safer-dependencies is a security layer for Claude Code that audits packages before they’re added to your project. It detects and fixes risky dependencies, including CVEs, typosquats, abandoned packages, version-age issues, and adds package-cooldown violations across npm, PyPI, RubyGems, Maven, Go, and Rust.
squawk
17nov1n/squawk
Smart macOS notifications for Claude Code sessions.
Fastapi Claude Template
33ewtryocb/fastapi-claude-template
Agent-first FastAPI template built to pair with Claude Code - opinionated architecture kept on the rails by custom skills, hooks and review agents.
Hardstop
32frmoretto/hardstop
Don't let AI destroy your hard work! HardStop is a rock-solid protection for AI-generated commands. Pre-execution safety validation for Claude Code, Claude Cowork. Catches dangerous commands before they run: whether from AI mistakes, hallucinations, prompt injection, or misunderstood instructions. Seatbelts for the agentic AI era.
Browse the most popular Claude Code mods, all hooks, or the skills and MCP server directories.