grep

Installation
SKILL.md

Grep Tool

Search file contents with regex. Uses ripgrep.

REQUIRED: pattern (regex pattern) OPTIONAL: path (directory/file), glob (file glob filter like "*.py"), ignoreCase (bool), literal (bool — treat pattern as literal text), context (lines of context before/after), limit (max matches, default 100)

RULES:

  • Supports full regex syntax (unless literal: true)
  • Use glob to filter by file type (e.g. ".py", ".js")
  • Use limit to cap results; default 100
  • Returns matching lines with file path and line number
  • Good for finding function definitions, imports, references

EXAMPLE:

Installs
3
Repository
knoopx/pi
GitHub Stars
59
First Seen
May 24, 2026
grep — knoopx/pi