
File Search
Fast file and content search with fd, ripgrep, and fzf, honoring .gitignore by default.
- skills.sh installs
- 245
- GitHub stars
- 83
- last updated
- Aug 21, 2026
What it does
- Covers finding files by name, type, and extension with fd, and searching file contents with rg
- Includes fd exclusion and exec flags, rg type filters, context lines, and fzf interactive selection with previews
- Provides a quick reference table and performance tips such as narrowing paths and using -F for literal patterns
- Designed for developers who need to search codebases from the terminal and combine fd, rg, and fzf in pipelines
Install
$ npx -y skills add 0xdarkmatter/claude-mods --skill file-search -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
File Search
Modern file and content search.
fd - Find Files
# Find by name
fd config # Files containing "config"
fd -e py # Python files
# By type
fd -t f config # Files only
fd -t d src # Directories only
# Exclude
fd -E node_modules # Exclude directory
fd -E "*.min.js" # Exclude pattern
# Execute command
fd -e py -x wc -l # Line count per file
rg - Search Content
# Simple search
rg "TODO" # Find TODO
rg -i "error" # Case-insensitive
# By file type
rg -t py "import" # Python files only
rg -t js -t ts "async" # JS and TS
# Context
rg -C 3 "function" # 3 lines before/after
# Output modes
rg -l "TODO" # File names only
rg -c "TODO" # Count per file
fzf - Interactive Selection
# Find and select
fd | fzf
# With preview
fd | fzf --preview 'bat --color=always {}'
# Multi-select
fd -e ts | fzf -m | xargs code
Combined Patterns
# Find files, search content
fd -e py -x rg "async def" {}
Details
- Repository
- github.com/0xdarkmatter/claude-mods
- Category
- CLI & Terminal
- First seen
- Jun 3, 2026
Similar to File Search
More CLI & Terminal
fdPlugindashed/claude-marketplace27 starsFast, user-friendly command-line file/directory search with the `fd` tool (a simpler, faster `find` replacement). Use when searching for files or directories by
Pare SearchMCP serverdave-london141 starsStructured code search results from ripgrep and fd as typed JSON.
ripgrepSkillratacat/claude-skills421 installsFast regex text search across files, directories, and large documents that replaces grep and find.
mgrep-code-searchSkillintellectronica/agent-skills630 installsSemantic natural-language code search via mgrep, complementing grep and ripgrep in larger, unfamiliar codebases.
filesystemSkilloimiragieo/agent-studio732 installsConcise guidance for reading, writing, searching, and navigating files with Claude Code's built-in tools.