file-search

Search files and content using fd, ripgrep, and fzf.

29|6|Updated Nov 27, 2025
One-click install
npx skills add https://github.com/0xDarkMatter/claude-mods --skill file-search
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: file-search
Source: https://github.com/0xDarkMatter/claude-mods/tree/main/skills/file-search
Command: npx skills add https://github.com/0xDarkMatter/claude-mods --skill file-search

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires fd, rg, fzf.

What problem does it solve?

This Skill replaces slow file search commands with modern tools that are token-efficient and respect .gitignore automatically.

Frequently Asked Questions about file-search

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

FAQPage Schema
How do I search files faster than grep or find commands?

File search using ripgrep (rg) and fd is 10x faster than traditional tools because they respect .gitignore automatically, skip irrelevant directories, and use optimized algorithms. This Skill combines fd for filename patterns, rg for content search, and fzf for interactive selection in a single workflow.

Can I search code across a large codebase with exclusions and type filters?

Yes. This Skill supports filename-based discovery, content pattern matching, exclusions, and type filters across filesystems. Use ripgrep for content search, fd for file discovery, and fzf for interactive selection to navigate results efficiently in local development and codebase exploration.

What's the best way to find files and search content interactively?

Interactive file and content search combines fd for fast file enumeration, ripgrep for pattern matching, and fzf for interactive selection. This Skill implements that workflow end-to-end, enabling you to discover files by name, filter by type, exclude directories, and select results interactively.

How do I use ripgrep and fd together for project audits?

Ripgrep searches file content while fd discovers filenames; combined workflows satisfy requirements for filename patterns, content patterns, and interactive selection. This Skill orchestrates both tools with exclusions and type filters, making it applicable to local development, codebase exploration, and project audits.

Does this approach respect .gitignore files automatically?

Yes. Modern tools like ripgrep and fd respect .gitignore automatically, skipping ignored files and directories without manual configuration. This Skill replaces slow file search commands by leveraging this built-in behavior, reducing token overhead and improving search speed across filesystems.