agent/skills/tools/grep/SKILL.md
Search file contents with regex using ripgrep. Use when finding code patterns, locating function definitions, searching for imports, or finding references.
npx skillsauth add knoopx/pi grepInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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:
literal: true)glob to filter by file type (e.g. ".py", ".js")limit to cap results; default 100EXAMPLE:
{"name": "Grep", "input": {"pattern": "def main", "glob": "*.py"}}
EXAMPLE with path:
{"name": "Grep", "input": {"pattern": "TODO|FIXME", "path": "/path/to/project/"}}
glob to limit to specific file extensions (e.g., "*.py")path to limit to a directory or specific filecontext to see lines before/after matcheslimit to control output size (default 100)tools
Inform the user what is happening — skip passive lookups
development
Renders markdown to self-contained HTML with a custom dark stylesheet and opens in browser. Use when previewing markdown documents, generating styled HTML from README or report files.
testing
Programmatic hunk selection for Jujutsu — split, commit, or squash specific hunks without interactive prompts. Use when making partial commits or selective squashes.
content-media
Manage version control with Jujutsu (jj) — no staging area, immediate changes, smart rebasing. Use when navigating history, squashing, or pushing to Git remotes.