New advertisers: 50% off your first month with code FIRSTMONTHSee slots
yoanbernabeu avatar

Grepai Search Advanced

Advanced GrepAI search output options for JSON, TOON, and compact formats aimed at scripts and AI agents.

skills.sh installs
861
GitHub stars
20
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers --limit, --json, --toon, and --compact flags, plus JSON and TOON output for search results
  • Includes abbreviated compact key reference (q, r, s, f, l, t) and MCP tool format parameters for grepai_search and trace tools
  • Enforces mutual exclusion between --json and --toon, and documents that compact mode drops content in favor of file line ranges
  • Designed for scripting with jq and Python, and for token-constrained AI agent workflows that call grepai mcp-serve

Install

$ npx -y skills add yoanbernabeu/grepai-skills --skill grepai-search-advanced -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

GrepAI Advanced Search Options

This skill covers advanced search options including JSON output, compact mode, and integration with AI agents.

When to Use This Skill

  • Integrating GrepAI with scripts or tools
  • Using GrepAI with AI agents (Claude, GPT)
  • Processing search results programmatically
  • Reducing token usage in AI contexts

Command-Line Options

OptionDescription
--limit NNumber of results (default: 10)
--json / -jJSON output format
--toon / -tTOON output format (~50% fewer tokens than JSON)
--compact / -cCompact output (no content, works with --json or --toon)

Note: --json and --toon are mutually exclusive.

JSON Output

Standard JSON

grepai search "authentication" --json

Details

Repository
github.com/yoanbernabeu/grepai-skills
Categories
CLI & Terminal, Memory & Context
First seen
May 16, 2026

More from yoanbernabeu/grepai-skills

All 27

Similar to Grepai Search Advanced

More CLI & Terminal