search-interceptor

Intercept bulk file reads and replace them with claudemem semantic search.

2|Updated Dec 25, 2025
One-click install
npx skills add https://github.com/tianzecn/myclaudecode --skill search-interceptor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: search-interceptor
Source: https://github.com/tianzecn/myclaudecode/tree/main/plugins/code-analysis/skills/search-interceptor
Command: npx skills add https://github.com/tianzecn/myclaudecode --skill search-interceptor

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires claudemem, and includes references (resource) components.

What problem does it solve?

This Skill intercepts bulk Read/Glob operations and recommends semantic search instead, to save tokens and improve signal quality.

Core Features & Use Cases

  • Read Interception: detect bulk reads and propose claudemem search.
  • Decision Templates: offer fallback prompts and error-handling.
  • Fallback Guidance: provide safe degraded flow if indexing is unavailable.

Quick Start

When about to read many files, call claudemem search for a targeted concept instead.

Frequently Asked Questions about search-interceptor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How can I avoid reading many files when semantic search might work instead?

Semantic search can replace bulk file reads by targeting specific concepts. When planning to read 3+ files or using broad glob patterns, use claudemem search to find relevant content efficiently, saving tokens and improving result quality.

When should I intercept bulk read operations in my workflow?

Intercept bulk reads when accessing 3+ files in a directory, using patterns like **/*.ts or **/*.py, or coordinating parallel reads. The Interception Protocol pauses execution to evaluate indexing status, then executes semantic search instead of file reads.

What does the Interception Protocol do?

The Interception Protocol pauses before bulk read execution, checks claudemem indexing status, and routes to semantic search if available. It provides fallback guidance for safe degraded flow if indexing is unavailable.

Can I use semantic search if claudemem indexing isn't available?

Yes. The Skill offers fallback prompts and error-handling templates for cases when indexing is unavailable, ensuring you have a safe degraded flow to proceed without semantic search optimization.

How does token efficiency improve with semantic search over bulk reads?

Semantic search targets specific concepts rather than reading entire files, reducing token consumption. By validating whether search can replace broad file reads, you improve signal quality and minimize unnecessary context overhead.