grep
النجوم١٢
التفرعات٠
آخر تحديث٣ أبريل ٢٠٢٦ في ١٨:١٣
Search for text patterns in files
التثبيت
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
SKILL.md
readonlyالقائمة
Search for text patterns in files
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Search the web for up-to-date information using Tavily API
Press a combination of keys simultaneously (e.g., Ctrl+C, Alt+Tab)
Press a single key on the keyboard
Perform a mouse left-click at specified screen coordinates
Perform a mouse double-click at specified screen coordinates
Perform a mouse right-click at specified screen coordinates
| name | grep |
| description | Search for text patterns in files |
| context | same |
| args | [{"name":"pattern","description":"The text pattern to search for","required":true},{"name":"path","description":"Directory or file to search in","required":false},{"name":"include","description":"Glob pattern for files to include (e.g., \"*.py\")","required":false},{"name":"exclude","description":"Glob pattern for files to exclude (e.g., \"*.log\")","required":false},{"name":"context","description":"Number of lines to show before/after match","required":false},{"name":"ignore_case","description":"Case-insensitive search","required":false}] |
| tags | ["search","grep","find"] |
| category | system |
| version | 1.0.0 |
| author | cognitrix |
| allowed-tools | ["Grep"] |
| safety | {"risk-level":"low"} |
Search for text patterns in files using the Grep tool.
Grep pattern="function_name"
Grep pattern="TODO" include="*.py"
Grep pattern="error" context=3
Grep pattern="Error" ignore_case=false
Grep pattern="TODO" exclude="node_modules"
~ for home directory paths