Skip to main content
Generalhashgraph-online

rg-budget-search

In large or many-file projects, prefer cxs over raw rg/grep to reduce context waste.

Stars
336
Source
hashgraph-online/awesome-codex-plugins
Updated
2026-05-27
Slug
hashgraph-online--awesome-codex-plugins--rg-budget-search
View on GitHubRaw SKILL.md

// install — copy + paste into any project

mkdir -p .claude/skills && curl -fsSL https://raw.githubusercontent.com/hashgraph-online/awesome-codex-plugins/HEAD/plugins/Rycen7822/codex-rg-guard/skills/rg-budget-search/SKILL.md -o .claude/skills/rg-budget-search.md

Drops the SKILL.md into .claude/skills/rg-budget-search.md. Works with Claude Code, Cursor, and any agent that loads SKILL.md files from .claude/skills/.

In large or many-file projects, use MCP cxs(op,args) or CLI cxs before raw rg/grep.

Default flow: find(files_only:true) to identify candidate files, find(paths=[...]) to locate bounded line hits, then use Codex-native reads for the exact file or span.

Use --path or paths for concrete files/directories. Use --scope or scopes only for presets: docs, src, tests, config, analysis, runs, vendor, all.

For small projects, known files, or narrow checks, normal file reads/direct shell tools are fine. If output is truncated, refine query/scope/path or continue files-only pagination with next_page.offset.