skills/smithery.ai/file-search

file-search

SKILL.md

File Search Skill

Search code efficiently using ripgrep for text patterns and ast-grep for structural code patterns.

Purpose

The file-search skill provides access to two powerful search tools pre-installed in MassGen environments:

  1. ripgrep (rg): Ultra-fast text search with regex support for finding strings, patterns, and text matches
  2. ast-grep (sg): Syntax-aware structural search for finding code patterns based on abstract syntax trees

Use these tools to understand codebases, find usage patterns, analyze impact of changes, and locate specific code constructs. Both tools are significantly faster than traditional grep or find commands.

When to Use This Skill

Use the file-search skill when:

Installs
3
First Seen
Mar 6, 2026