一键导入
grep
Search file contents with regex using ripgrep. Use when finding code patterns, locating function definitions, searching for imports, or finding references.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Search file contents with regex using ripgrep. Use when finding code patterns, locating function definitions, searching for imports, or finding references.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
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.
Inform the user what is happening — skip passive lookups
Manage version control with Jujutsu (jj) — no staging area, immediate changes, smart rebasing. Use when navigating history, squashing, or pushing to Git remotes.
Programmatic hunk selection for Jujutsu — split, commit, or squash specific hunks without interactive prompts. Use when making partial commits or selective squashes.
Gather facts from the web using evidence-first approach with mandatory citations. Use when researching topics, answering factual questions, or any task requiring web-sourced evidence.
Model minimum-move problems as BFS over a state space. Use when solving bucket pouring puzzles, sliding tiles, or any problem asking for the shortest sequence of moves to reach a goal.
| name | grep |
| description | Search file contents with regex using ripgrep. Use when finding code patterns, locating function definitions, searching for imports, or finding references. |
| token_cost | 100 |
| related | ["glob","sg","grit"] |
| keywords | ["grep","search","pattern","match","regex","ripgrep","occurrence","import","definition"] |
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)