What problem does it solve?
Oversized log files are too large to read manually or paste into a chat context, making it hard to locate errors or understand failures. This Skill runs a script that searches and summarizes large logs using the Gemini API.
Core Features & Use Cases
- Natural-language grep: Find line-numbered original log lines matching a plain-language query.
- Hierarchical summarization: Produce a Markdown report summarizing the log around a query, reducing large inputs in 50,000-token chunks.
- Pipeline mode: Narrow a log with grep, then pipe results into summarize via --stdin for focused reports.
- Use Case: A training run produces a multi-gigabyte log; run grep for "errors" and pipe the matches into summarize to get a concise Markdown diagnosis of what went wrong.
Quick Start
Ask the assistant to scan the large log file for error patterns and produce a summarized Markdown report using the scan-logs script.