search

Locates regex matches across workspace files with file-type filtering and line numbers.

6|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/Acosmi/CrabClaw --skill search-acosmi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: search
Source: https://github.com/Acosmi/CrabClaw/tree/main/docs/skills/tools/fs/search
Command: npx skills add https://github.com/Acosmi/CrabClaw --skill search-acosmi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Locating specific text patterns across large codebases is time-consuming when done manually; this Skill automates content-based search, accelerating code discovery and debugging.

Core Features & Use Cases

  • Recursive content search using regular expressions across the workspace
  • Optional file-type filtering to narrow results
  • Returns file paths, line numbers, and the matching line content to facilitate quick navigation

Quick Start

Run search with a regex pattern to locate matches across the workspace.

Frequently Asked Questions about search

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

FAQPage Schema
How do I search for a regex pattern across my entire codebase?

To search a codebase, you can run this skill with a regex pattern to recursively locate matching text. It returns the file paths, line numbers, and matching line content to help you navigate your workspace quickly.

Can I filter regex search results by specific file types in my workspace?

Yes, you can narrow your workspace search results using optional file-type filtering. This allows you to apply regex matching only to specific file extensions and reduce noise when locating patterns.

What is the best way to find specific text patterns for debugging a large repository?

The best way to find text for debugging a large repository is using automated recursive content search. It locates regex matches across files and returns exact file paths and line numbers to accelerate code discovery.

Does searching files with this method modify my source code?

No, searching files with this method does not modify your source code. It operates with strictly read-only access to ensure your workspace remains untouched while identifying and locating regex pattern matches.

How does recursive directory traversal work when searching for code?

Recursive directory traversal works by automatically scanning through all subdirectories in your workspace. This ensures the regex pattern search comprehensively checks every file, returning complete matches without missing nested code.