Grep Skill - 文本搜索

Search files recursively for text patterns using regular expressions.

Updated Apr 11, 2026
One-click install
npx skills add https://github.com/looklee/LookaleeCode --skill grep-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Grep Skill - 文本搜索
Source: https://github.com/looklee/LookaleeCode/tree/main/LookaleeCode/desktop/skills/grep
Command: npx skills add https://github.com/looklee/LookaleeCode --skill grep-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enables users to efficiently search for specific texts or patterns within files, simplifying code review, log analysis, and content filtering tasks.

Core Features & Use Cases

  • Recursive Text Search: Search across multiple files and directories for specific content or patterns.
  • Regex and Case Insensitivity: Support for regular expressions and ignoring case distinctions to refine search results.
  • Use Case: For example, find all instances of "TODO" comments in project source code files to track pending tasks.

Quick Start

Use the grep skill to find all occurrences of "error" in the logs directory.

Frequently Asked Questions about Grep Skill - 文本搜索

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

FAQPage Schema
How do I search for specific text patterns across multiple files and directories?

Recursive text search enables you to locate specific content or regex matches across multiple files and directories, ensuring precise and rapid results for code review or log analysis tasks.

Can I use regular expressions and ignore case sensitivity when filtering file contents?

Yes, regex matching and case insensitivity are supported to refine file content search results. This allows you to efficiently locate specific patterns regardless of capitalization distinctions within your files.

What is the best way to find TODO comments in project source code files?

The best way to find TODO comments in project source code is to perform a recursive search for the specific text. This simplifies content filtering and helps track pending tasks across the entire project directory.

Does this text search approach work for analyzing logs and finding error instances?

Yes, this text search approach works for log analysis by locating all occurrences of specific terms like "error" within your logs directory. It efficiently handles content filtering across multiple log files.

Do I need any external dependencies to run recursive regex searches on my files?

No external dependencies are required to run recursive regex searches on your files. The skill operates independently using internal scripts to execute file filtering and pattern matching tasks.