askill
before-file-search

before-file-searchSafety 95Repository

Use BEFORE running grep or glob commands. Reminds you to use codebase-locator agent instead of basic file search tools.

3 stars
1.2k downloads
Updated 2/4/2026

Package Files

Loading files...
SKILL.md

Before File Search

STOP: You're about to use grep or glob.

Use codebase-locator Instead

The codebase-locator agent is specifically designed for finding files and components. It's more efficient and comprehensive than grep/glob.

Instead of:

Grep(pattern="authentication", ...)
Glob(pattern="**/auth*.js")

Do this:

Task(
  subagent_type="codebase-locator",
  prompt="Find all authentication-related files",
  description="Locate auth files"
)

When Basic Tools Are OK

Only use grep/glob when:

  • User explicitly asks for a simple file listing
  • You need to check if a specific file exists
  • You're doing a quick verification of a known path

For all exploratory searches, use codebase-locator.

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

73/100Analyzed 2/18/2026

A practical reminder skill that directs users to use a specialized codebase-locator agent instead of grep/glob. Well-structured with clear examples and a 'when to use' section. Somewhat project-specific due to the codebase-locator reference, but the core concept is generally useful. Good tagging and proper skills folder location. Could benefit from more completeness (troubleshooting, more details about the agent)."

95
80
55
60
75

Metadata

Licenseunknown
Version-
Updated2/4/2026
Publishereveld

Tags

promptingsecurity