/context-efficient-tools:ripgrepfrom context-efficient-tools
Searches code and text files via ripgrep (rg) in Bash. Provides full unredacted output, pipe support, and flags absent from Grep.
Ships in context-efficient-tools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Default invocation:
rg -n -C 2 -t TYPE -e 'pattern'
-n line numbers-C 2 two lines of context before/after-t TYPE file-type filter (-t js, -t py, -t go, ...; rg --type-list for the full set)-e 'pattern' single-quoted to keep the shell outDefault to Bash(rg) for code/text search. Grep is the Claude Code built-in (also rg under the hood) but truncates output, cannot pipe, and exposes only a subset of rg flags. Use Grep only when the search is trivial and structured output is desired.
Glob handles filename-only matching.
-F literal pattern, no regex -- use when the pattern contains . ( * etc.; avoids escape hell-w whole-word match -- -w -e 'test' won't hit testing or latest-l / -L list files containing / not containing the pattern-g 'glob' glob filter when -t doesn't fit (-g '*.test.js', -g '!vendor/**')-e 'a' -e 'b' multiple patterns, OR semanticsWhat SKILL.md sets; muted values are Claude Code's defaults
5 skills in this plugin
/ast-grepStructural code search and refactoring via ast-grep. Reach for this when Edit fails with "old_string not unique", when refactoring across formatting variations, or when matching code shape rather than text./code-structureOutline a file or package (functions, classes, methods, types, imports, exports) instead of reading it whole. Use before opening an unfamiliar or large file to orient, when surveying a package's API surface, or to find where a symbol is defined so you can Read just that range -- any "what's in / list / show me the structure of" need. Not for "where is X used" (search) or "how does X work" (read the body)./jqExtract a known field from a JSON file by running jq instead of reading the whole file./yqExtract a known field from a YAML file by running yq instead of reading the whole file.npx claudepluginhub xdg/xdg-claude --plugin context-efficient-toolsOther plugins' skills for the same job