local-search

Executes local filesystem searches using regular expressions and configurable output modes.

Updated May 7, 2026
One-click install
npx skills add https://github.com/chtugha/brassclaw --skill local-search-chtugha
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: local-search
Source: https://github.com/chtugha/brassclaw/tree/main/skills/local-search
Command: npx skills add https://github.com/chtugha/brassclaw --skill local-search-chtugha

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill solves the problem of quickly locating files in your workspace, allowing you to find code, text, functions, or classes using powerful regex search patterns.

Core Features & Use Cases

  • Regex Pattern Matching: Leverage regular expressions to search for files based on complex patterns.
  • Flexible Search Parameters: Search specific directories, filter files with glob patterns, and choose output modes such as file listing, content display, or count of matches.
  • Use Case: For a developer working with a large codebase, this skill can be used to quickly locate a function definition or to list all Python files within a specific directory.

Quick Start

Use the local_search command to find all Python files in the current directory: local_search(pattern="*.py", output_mode="files_with_matches").

Frequently Asked Questions about local-search

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

FAQPage Schema
How do I find files in my workspace using regex patterns?

To find files in your workspace using regex patterns, execute a local search operation that navigates the directory tree and matches filenames or content against your specified regular expressions.

What is the best way to search for specific text or function definitions in a large codebase?

The best way to search a large codebase is using regex pattern matching to locate specific text, function definitions, or classes within a specified directory tree, returning file listings or match counts.

Can I filter file search results by directory and file type?

Yes, you can filter file search results by targeting specific directories and applying glob patterns to restrict matches to certain file types, such as listing only Python files in a project.

What output modes are available when searching the local filesystem?

When searching the local filesystem, available output modes include listing files with matches, displaying the matched content directly, or returning a total count of matches found.

Does local file search require any special dependencies to run?

No special dependencies are required to run local file search operations, as the skill relies on standard file system navigation and regex matching capabilities to traverse directory trees.