rg-budget-search
In large or many-file projects, prefer cxs over raw rg/grep to reduce context waste.
Source facts
- Repository
- Rycen7822/codex-rg-guard
- Last source activity
- May 8, 2026 at 21:28
- Detected SKILL.md language
- English
- Stars
- 5
- Forks
- 0
Install options
The review-first prompt is selected by default. You can switch to a direct command or download a local copy.
Review the source files
Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.
Showing SKILL.md
SKILL.md
Source instructions · Read-only preview- name
- rg-budget-search
- description
- In large or many-file projects, prefer cxs over raw rg/grep to reduce context waste.
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`.
View on GitHub