grepai-search-advanced

Installation
Summary

Structured code search with JSON, TOON, and compact output formats optimized for AI agents.

  • Supports three output formats: standard JSON, compact JSON (80% fewer tokens), and TOON notation (50% more compact than JSON)
  • Includes --limit, --json, --toon, and --compact command-line options for controlling result volume and token usage
  • Integrates with MCP servers and AI agents (Claude, GPT) through format selection parameters
  • Works with scripting tools (jq, Python, Node.js) and supports piping results to files or other commands
SKILL.md

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

Option Description
--limit N Number of results (default: 10)
--json / -j JSON output format
--toon / -t TOON output format (~50% fewer tokens than JSON)
--compact / -c Compact output (no content, works with --json or --toon)
Related skills
Installs
540
GitHub Stars
16
First Seen
Jan 28, 2026