AGENT SKILL
ripgrep
Use this skill when the user wants to search for text patterns in files, search codebases with regex, find files containing specific text, or replace grep with a faster alternative.
- License 许可
- MIT
- 最近更新
- 2026-11-02
- Stars
- ★ 57
- Forks
- 5
01 前言 Front Matter
- name
- ripgrep
- description
- Use this skill when the user wants to search for text patterns in files, search codebases with regex, find files containing specific text, or replace grep with a faster alternative.
03 SKILL.md 正文
ripgrep (rg) Plugin
Fast recursive regex search that respects gitignore and skips hidden/binary files.
Commands
Search
ripgrep search run— Search for regex patternripgrep search files— List files containing pattern
Usage Examples
- "Find all occurrences of a pattern"
- "Search recursively in this directory"
- "List files containing a word"
- "Search with case-insensitive flag"
Installation
cargo install ripgrep
# or
brew install ripgrep
Examples
# Basic search
rg "pattern"
# Case insensitive
rg -i "pattern"
# Show line numbers
rg -n "pattern"
# Only filenames
rg -l "pattern"
# Whole word match
rg -w "pattern"
# Count matches
rg -c "pattern"
# JSON output
rg --json "pattern"
# Search specific file type
rg -t js "pattern"
Common Flags
-n— Show line numbers-l— Show only filenames-i— Case insensitive-w— Match whole words-c— Show count per file-t— Filter by type (js, py, rs, etc.)--json— JSON output
04 同仓库更多 Skills
sc-machin-mcp
暂无简介
★ 57
supercli.quickstart
SuperCLI capability router — discover and execute CLI commands through namespace.resource.action interface
★ 57
zzdoc
Use this skill to compile scdoc manpages with a fast Zig-based compiler.
★ 57
zx
Use this skill when the user wants to a tool for writing better scripts using node.js.
★ 57
zvm
Use this skill when the user wants to manage multiple Zig compiler versions.
★ 57
quickstart
暂无简介
★ 57