searching-files

Search files by name and content using fd and rg on Linux and macOS.

3|Updated Oct 31, 2025
One-click install
npx skills add https://github.com/mgomes/3xo-suit --skill searching-files
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: searching-files
Source: https://github.com/mgomes/3xo-suit/tree/main/plugins/dotfiles/skills/searching-files
Command: npx skills add https://github.com/mgomes/3xo-suit --skill searching-files

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill helps users locate files quickly across Linux and macOS workstations, enabling faster project navigation and system maintenance.

Core Features & Use Cases

  • OS-aware search: uses fd for fast directory-wide discovery and rg for content search.
  • Flexible queries: supports searching by name, extension, and directory scope.
  • Use Case: When you need to find all PDFs or config files across a project, this skill locates them rapidly and returns paths.

Quick Start

Discover all PDF files in the current directory tree with: fd -e pdf

Frequently Asked Questions about searching-files

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

FAQPage Schema
How do I find files across Linux and macOS quickly?

To find files quickly across Linux and macOS, use the fd utility for directory-wide discovery and rg for content search. This approach supports filename matching and extension filtering for rapid project navigation.

What is the best way to search for specific file types in a project directory?

The best way to search for specific file types is using fd with the extension flag, such as fd -e pdf. This rapidly locates matching files across the entire directory tree and returns their paths.

Can I search for text inside files on macOS and Linux?

Yes, you can search for text inside files on macOS and Linux using the rg utility. It performs fast cross-file content queries to support codebase audits and system inventory tasks.

Do I need to install fd and rg to search for files on my workstation?

Yes, you need to install both the fd and rg utilities to use this file discovery skill. These tools provide the fast indexing and cross-file content search capabilities required for local drives.

How does fd compare to other file discovery tools for system inventory?

fd provides fast directory-wide discovery across Linux and macOS workstations, optimizing system inventory tasks. It enables flexible queries by name, extension, and directory scope for project maintenance.

Why use rg for codebase audits instead of standard search commands?

Using rg for codebase audits delivers fast cross-file content search capabilities across worktrees. It quickly locates specific text within files, making it suitable for codebase maintenance and content queries.