What is prefer-search-tools?
prefer-search-tools is a Claude Code mod by alexcz-a11y that auto 模式(以及 bypass 模式)插给模型的那段提醒里,有一句让模型在 Bash 里用 grep 和 find 搜索。这个 mod 只拿掉这一句,换成用 Grep 工具搜内容、用 Glob 工具找文件名;提醒的其余部分原样保留。认不出这句时整段原样放行。. It is listed under Interface and has 2 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | alexcz-a11y |
| Repository | alexcz-a11y/claude-mods |
| Popularity | 2 GitHub stars |
| Category | Interface |
| Security | Low risk (96/100) |
| Rank | #1,093 of 5,272 Claude Code mods; #418 in Interface |
| Last commit | 2026-10-17 |
| Hooks | 1 events |
| Sees | only the events it hooks |
| Draws on | nothing |
Is prefer-search-tools safe to install?
prefer-search-tools scores 96/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 7 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| No license detected | Note |
How do I install prefer-search-tools?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/alexcz-a11y/claude-mods claude plugin validate ./claude-mods/prefer-search-tools
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add alexcz-a11y/claude-mods && claude plugin install prefer-search-tools@alex-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs prefer-search-tools for you:
Install the "prefer-search-tools" Claude Code mod from https://github.com/alexcz-a11y/claude-mods/tree/main/prefer-search-tools. Run claude plugin validate on it first and show me what it can access before you enable it.
More from alexcz-a11y/claude-mods
This repository has 2 Claude Code mods on MCPMods.
- dispatch-pilot: Dispatch Pilot:一个在 Claude 之外的决策模型(默认 Perplexity 的 pplx,没有 Perplexity key 时退回 TypeSafe 的 Jev,也可以固定用 Jev)在你每次发消息时决定主 agent (High risk)