yoanbernabeu avatar

Grepai Search Advanced

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.

skills.sh installs
855
GitHub stars
20
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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

Sponsors

Details

Repository
github.com/yoanbernabeu/grepai-skills
Category
AI & Agent Building
First seen
May 16, 2026

More from yoanbernabeu/grepai-skills

All 27
1octagonai avatarcommodities-quoteoctagonai/skillsRetrieve real-time commodity price quotes using Octagon MCP. Use when checking current commodity prices, analyzing day ranges, comparing to moving averages, and829skills.sh installs
2riba2534 avatarfeishu-cli-authriba2534/feishu-cli飞书 OAuth 认证和 User Access Token 管理(Device Flow,RFC 8628)。 支持一键创建飞书应用、按域申请推荐权限、auth check 预检 scope、auth login 登录、Token 自动刷新。 覆盖 AI Agent 两步授权(--no-wait 拿链接 → --de801skills.sh installs
3owainlewis avatarreviewowainlewis/blueprintUses a fresh agent to review an implementation change without editing it. Checks behavior, security, regressions, complexity, tests, docs, and missing proof. Us774skills.sh installs
4ruvnet avatarcognitive-patternruvnet/rufloDefine and manage cognitive patterns for agent reasoning and decision-making757skills.sh installs
5gccszs avatardisk-cleanergccszs/disk-cleanerCross-platform disk space management toolkit with intelligent optimization. REQUIREMENTS: Python 3.7+. UNIVERSAL COMPATIBILITY: Works with ALL AI IDEs (Cursor, 753skills.sh installs
6ruvnet avatarmemory-searchruvnet/rufloSOTA semantic search — hybrid (sparse+dense), Graph RAG multi-hop, MMR diversity reranking, recency weighting751skills.sh installs