# Rg Budget Search

> Codex built-in skill for budgeted ripgrep-style repository search that avoids huge terminal output by narrowing files and bounded hit windows.

- Skill: `rycen7822/rg-budget-search` (Agent Skill)
- Install (CLI): `npx skillmds@latest add rycen7822/rg-budget-search`
- Raw SKILL.md: https://api.skillmd.com/api/skills/rycen7822/rg-budget-search/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Finance & Business
- Author: Rycen7822 (https://skillmd.com/u/rycen7822)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/rycen7822/rg-budget-search

---

# rg-budget-search
## When to Use
Use when searching a large repository with strict terminal-output budget, first files-only then bounded hits and exact spans.
## Do Not Use When
Do not use when an AST structural query is required; use ast-grep for code-shape matching.
## Required Inputs
Search pattern, target directory, file globs, and output budget.
## Workflow
1. Run a files-only search first.
2. Narrow by path or glob.
3. Read bounded hit spans.
4. Record exactly which ranges were inspected.

