Agent skill

File Search

by aiskillstore in aiskillstore/marketplace

Modern file and content search using fd, ripgrep (rg), and fzf.

MITAuto-check: notes

Install File Search

skills CLI
$ npx skills add aiskillstore/marketplace --skill file-search -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aiskillstore/marketplace file-search --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aiskillstore/marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/0xdarkmatter/file-search .claude/skills/file-search && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
file-search
GitHub stars
430
Used in
1 other repo
Token cost
~598 tokens
SKILL.md length
111 words
Files
5 (incl. scripts, references, assets)
Skills in repo
1,044
Repo updated
First seen
Licence
MIT

At a glance

Modern file and content search using fd, ripgrep (rg), and fzf.

  • Search codebase
  • SKILL.md covers fd - Find Files, rg - Search Content, fzf - Interactive Selection and Combined Patterns, plus 3 more sections
  • Calls rg

What it does

File Search is an agent skill from aiskillstore/marketplace. Modern file and content search using fd, ripgrep (rg), and fzf. Triggers on: fd, ripgrep, rg, find files, search code, fzf, fuzzy find, search codebase.

Its SKILL.md is about 600 tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including scripts, reference files and assets (for example `references/advanced-workflows.md` and `skill-report.json`). Compatibility notes: Requires fd, ripgrep (rg), and optionally fzf. Install: brew install fd ripgrep fzf (macOS).

The repository describes itself as: Security-audited skills for Claude, Codex & Claude Code. One-click install, quality verified. The licence is MIT.

When your agent uses it

  • Search codebase

Example prompts

  • “/file-search”

Requirements

  • Python 3
  • Compatibility (from SKILL.md): Requires fd, ripgrep (rg), and optionally fzf. Install: brew install fd ripgrep fzf (macOS).
  • Pre-approved tools (allowed-tools): Bash

What it can do on your machine

Read from SKILL.md and the folder at commit 755bc35. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/, which the agent can run.

    Shell commands in SKILL.md call:

    • rg

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Requires fd, ripgrep (rg), and optionally fzf. Install: brew install fd ripgrep fzf (macOS).

    From compatibility in the SKILL.md frontmatter.

Context cost

File Search loads about 598 tokens when it runs, and up to ~2.6k if it reads all its reference files. Until then it costs about 41 tokens; SKILL.md has 111 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~41
When it runs · the whole SKILL.md, loaded when a task matches
~598
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from aiskillstore/marketplace at commit 755bc35, republished under its MIT licence (© aiskillstore). 111 words, ~598 tokens.

Download SKILL.mdSave it as .claude/skills/file-search/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
file-search
description
Modern file and content search using fd, ripgrep (rg), and fzf. Triggers on: fd, ripgrep, rg, find files, search code, fzf, fuzzy find, search codebase.
allowed-tools
Bash
compatibility
Requires fd, ripgrep (rg), and optionally fzf. Install: brew install fd ripgrep fzf (macOS).
license
MIT
metadata.author
claude-mods

Modern file and content search.

fd - Find Files

bash
# 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

bash
# 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

bash
# Find and select
fd | fzf

# With preview
fd | fzf --preview 'bat --color=always {}'

# Multi-select
fd -e ts | fzf -m | xargs code

Combined Patterns

bash
# Find files, search content
fd -e py -x rg "async def" {}

# Search, select, open
rg -l "pattern" | fzf --preview 'rg -C 3 "pattern" {}' | xargs vim

Quick Reference

TaskCommand
Find TS filesfd -e ts
Find in srcfd -e ts src/
Search patternrg "pattern"
Search in typerg -t py "import"
Files with matchrg -l "pattern"
Count matchesrg -c "pattern"
Interactivefd | fzf
With previewfd | fzf --preview 'bat {}'

Performance Tips

TipWhy
Both respect .gitignoreAuto-skip node_modules, dist
Use -t over -gType flags are faster
Narrow the pathrg pattern src/ faster
Use -F for literalsAvoids regex overhead

Additional Resources

For detailed patterns, load:

  • ./references/advanced-workflows.md - Git integration, shell functions, power workflows

© aiskillstore, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (scripts, references, assets) in skills/0xdarkmatter/file-search of aiskillstore/marketplace.

  • SKILL.md
  • assets/.gitkeep
  • references/advanced-workflows.md
  • scripts/.gitkeep
  • skill-report.json

Open the folder on GitHubat commit 755bc35

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in aiskillstore/marketplace, which our catalogue first saw on October 7, 2026.

Compare with similar skills

File Search next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

File Search compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
File Search this skillaiskillstore/marketplace4301 repos~598Automated safety check: NotesMIT
Ripgreppenpot/penpot61k—~788Automated safety check: PassMPL-2.0
Resume Modernnexu-io/open-design100k—~398Automated safety check: PassApache-2.0
Modern Formatthedaviddias/Front-End-Checklist74k—~780Automated safety check: PassMIT
React Modernizationwshobson/agents40k11 repos~1.7kAutomated safety check: PassMIT
Doc And Modernizegithub/awesome-copilot40k—~12kAutomated safety check: PassMIT

Similar skills

  • Ripgrep

    penpot/penpot

    Blazingly fast text search tool - recursively searches directories for regex patterns with respect to gitignore rules.

    61k GitHub stars~788 tokensUpdated today
    Auto-check passed
  • Resume Modern

    nexu-io/open-design

    Modern minimal resume, single A4 page, ready for print or PDF export.

    100k GitHub stars~398 tokensUpdated today
    Documents & OfficeAuto-check passed
  • Modern Format

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing image assets, markup, and CDN or build transforms related to Use modern image formats (WebP, AVIF).

    74k GitHub stars~780 tokensUpdated 2 days ago
    Auto-check passed
  • React Modernization

    wshobson/agents

    Upgrade React applications to latest versions, migrate from class components to hooks, and adopt concurrent features.

    40k GitHub starsUsed in 11 repos~1.7k tokens
    DevelopmentAuto-check passed
  • Doc And Modernize

    github/awesome-copilot

    Official

    Two related workflows for a locally-cloned codebase, in one skill.

    40k GitHub stars~12k tokensUpdated today
    DevelopmentAuto-check passed
  • Modern

    bergside/awesome-design-skills

    Contemporary editorial style with serif typography, minimal palettes, and clean layouts for polished digital products.

    3.1k GitHub starsUsed in 1 repo~849 tokens
    Frontend & DesignAuto-check passed

More from aiskillstore/marketplace

All 1,044 skills in this repo
  • Code Stats

    aiskillstore/marketplace

    Analyze codebase with tokei (fast line counts by language) and difft (semantic AST-aware diffs).

    430 GitHub starsUsed in 1 repo~697 tokens
    Auto-check: notes
  • Data Processing

    aiskillstore/marketplace

    Process JSON with jq and YAML/TOML with yq. An agent skill from aiskillstore/marketplace.

    430 GitHub starsUsed in 1 repo~720 tokens
    Auto-check: notes
  • Doc Scanner

    aiskillstore/marketplace

    Scans for project documentation files (AGENTS.md, CLAUDE.md, GEMINI.md, COPILOT.md, CURSOR.md, WARP.md, and 15+ other formats) and synthesizes guidance.

    430 GitHub starsUsed in 1 repo~644 tokens
    Auto-check: notes
  • Find Replace

    aiskillstore/marketplace

    Modern find-and-replace using sd (simpler than sed) and batch replacement patterns.

    430 GitHub starsUsed in 1 repo~527 tokens
    Auto-check: notes
  • Project Planner

    aiskillstore/marketplace

    Detects stale project plans and suggests session commands. An agent skill from aiskillstore/marketplace.

    430 GitHub starsUsed in 1 repo~504 tokens
    Auto-check passed
  • Python Async Patterns

    aiskillstore/marketplace

    Python asyncio patterns for concurrent programming. An agent skill from aiskillstore/marketplace.

    430 GitHub starsUsed in 1 repo~1.1k tokens
    Auto-check passed

Questions about File Search

What does File Search do?

Modern file and content search using fd, ripgrep (rg), and fzf. File Search is an agent skill from aiskillstore/marketplace. Modern file and content search using fd, ripgrep (rg), and fzf.

When should I use File Search?

File Search fits situations like: search codebase.

How do I install File Search in Claude Code?

Run `npx skills add aiskillstore/marketplace --skill file-search -a claude-code`. Or copy the skill folder (skills/0xdarkmatter/file-search in aiskillstore/marketplace) into .claude/skills/file-search in your project. Claude Code loads it when a task matches its description.

How do I install File Search in Codex?

Run `npx skills add aiskillstore/marketplace --skill file-search -a codex`. Or copy the skill folder (skills/0xdarkmatter/file-search in aiskillstore/marketplace) into .agents/skills/file-search in your project. Codex loads it when a task matches its description.

Can I use File Search in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aiskillstore/marketplace --skill file-search -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/file-search, .gemini/skills/file-search, .github/skills/file-search and .opencode/skills/file-search in your project.

What does File Search need to run?

Going by SKILL.md and its folder, File Search needs the command-line tools its instructions call (rg). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Bash. Compatibility (from SKILL.md): Requires fd, ripgrep (rg), and optionally fzf. Install: brew install fd ripgrep fzf (macOS)..

Does File Search access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is File Search safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does File Search use?

File Search is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does File Search use?

About 598 tokens (SKILL.md is roughly 2.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2k tokens, read only when the agent opens those files.

What are the alternatives to File Search?

Skills that share tags, products or a category with File Search: Ripgrep (penpot/penpot, 61k stars), Resume Modern (nexu-io/open-design, 100k stars), Modern Format (thedaviddias/Front-End-Checklist, 74k stars) and React Modernization (wshobson/agents, 40k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains File Search?

aiskillstore (a GitHub organization) maintains it in aiskillstore/marketplace, which has 430 GitHub stars. The repository holds 1,044 skills in this directory. The repository was last updated on October 9, 2026.

Source: aiskillstore/marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.