ClaudeSoftwareShipping codeAI score · 79/100AI-assisted edit · no obvious prompt-injection riskX

Build Search Radar with Claude Code: Real-Time Search Waste Monitor and One-Click Shortcut Docs

Input one prompt → Claude Code generates a monitoring mod → outputs search efficiency score with a one-click patch button

Some experienceStepsPromptTip
Who
Developers using Claude Code who want to reduce agent search time and token waste
You get
A real-time search monitoring mod that identifies empty queries and redundant file reads, with one-click shortcut doc generation to optimize future searches
You need
Claude Code

Constraints

Send the build prompt in Claude Code to auto-generate the Search Radar Mod. The mod appears as a thin band above the prompt, monitoring every file read, search, and bash command during each query. Empty results or unnecessary reads are counted as waste, with a button to write a shortcut doc. The author recommends setting the mod at user-level so it runs in every project. Start a new chat to load the mod before use.

What they did

JJEnglert created a mod called Search Radar in Claude Code using a single prompt. The mod displays as a thin UI band above the prompt, monitoring every file read, search, and bash command before each Claude response. Empty query results or redundant file reads are counted as waste, with a one-click button to generate shortcut docs. The author self-tested in two scenarios: asking how the repo judges work quality (one unnecessary skill file read) and retrieving a previously hidden mod (repeated reads and wasted hook-file searches).

How it went

Author report (author_report): For the quality-judgment query, Claude found the answer quickly but read one unneeded skill file; one click patched it with a shortcut doc. The hidden-mod retrieval was messier—two repeated reads and a pile of unnecessary hook-file searches—directly indicating folder setup issues. The author now keeps the mod on at user-level so it runs in every project opened.

Worth knowing

The mod's specific UI rendering and button interaction mechanisms depend on Claude Code's internal mod system, details not disclosed in source. The author offers a pre-built mods repository as an alternative (shortened link in reply, not expanded). A new chat must be started to load the mod. This site has not tested the workflow; actual results may vary with Claude Code versions or mod system updates.

Steps

  1. Send the prompt to create the Search Radar Mod

    In a Claude Code conversation, send the following prompt. Claude Code will automatically generate and configure the Search Radar Mod based on the description.

    Execution prompt · Source text。Claude Code chat input; Claude Code auto-creates the mod upon sending

    Build me a mod called Search Radar. It’s a live meter shown above the prompt. For each question I type, it scores how effectively you found what you needed and offers a button to write a shortcut doc when the search was wasteful, so the agent knows how to get there faster next time.
  2. Start a new chat and run the mod to monitor searches

    After creation, start a new chat to load the mod. On subsequent questions, watch the Search Radar band above the prompt: normal/green means efficient search; if waste is counted, click the patch button to let Claude automatically write a shortcut note in your docs. The author's self-tests showed a quality-judgment query had one unnecessary skill file read, while a hidden-mod retrieval triggered repeated reads and wasted hook-file searches, revealing folder structure issues.

Prompt you can copy

Setup guidance · Source text。Hand to Claude Code setup assistant; sends to auto-create the mod

This block is the prompt. Ads are never placed here.

Build me a mod called Search Radar. It’s a live meter shown above the prompt. For each question I type, it scores how effectively you found what you needed and offers a button to write a shortcut doc when the search was wasteful, so the agent knows how to get there faster next time.

After sending the prompt, Claude Code handles mod creation automatically. For the author's pre-built version, check their Mods repo mentioned in the reply.

Source

让 Claude Code 自建「Search Radar」小部件:给每次检索打分,浪费时一键写捷径文档 · JJEnglert · X · 2026-10-19T20:07:41.000Z

Comments & feedback

Tried this method? Share results, problems or improvements. Comments appear after moderation. Please avoid sensitive information.

Loading…

    Related