If you're hooking GrepAI up to Claude or another AI agent, this is the skill you need. It covers JSON and TOON output formats, plus compact mode that strips out code content and uses abbreviated keys to cut tokens by around 80%. The TOON format goes even further, getting you down to roughly 150 tokens for five results versus 1,500 for standard JSON. The examples show exactly what the output looks like in each mode, plus MCP integration details and scripting patterns for bash, Python, and Node. Honestly, the compact formats feel purpose-built for keeping AI context windows sane when you're searching large codebases.
npx skills add https://github.com/yoanbernabeu/grepai-skills --skill grepai-search-advanced