Scan large logs
SkillMonitoring & opsLets your agent scan oversized log files with grep-style matching or an AI-generated summary report.
Use Scan large logs in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add Scan large logs and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the Scan large logs skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; ahel provides instructions and does not run this skill.
No other account needed.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
About this skill
Use scripts/logscan.py only when explicitly requested to scan an oversized log or to perform Gemini-backed log analysis.
What this skill tells your AI
The instructions your AI receives, as published by marin-community/marin in .agents/skills/scan-logs/SKILL.md and read by ahel’s review.
grep finds matching original lines; summarize produces a Markdown report.
They can run independently or as a pipeline.
Prerequisites
GEMINI_API_KEY must be set. The log is sent to an external Gemini API and
incurs model usage; do not send secrets or sensitive logs without approval.
Modes
grep — find matching lines
Returns line-numbered original lines matching a natural-language query.
uv run scripts/logscan.py grep <logfile> "<query>"
summarize — produce a markdown report
Summarizes the log around the query, hierarchically reducing large inputs.
uv run scripts/logscan.py summarize <logfile> "<query>"
Output is a markdown report on stdout.
Piping modes together
Narrow first, then summarize through --stdin:
uv run scripts/logscan.py grep log.txt "errors" \
| uv run scripts/logscan.py summarize --stdin "summarize these errors"
Behavior-changing options are --chunk-tokens, --concurrency, --model,
--stdin, and --verbose. The defaults are 5,000-token grep chunks,
50,000-token hierarchical summarize chunks, concurrency 16, and
gemini-2.5-flash-lite. Smaller grep chunks favor precise line matching;
large logs need no manual pre-split. Inspect --help before overriding them.
Output
- grep: Line-numbered matching lines to stdout. Progress to stderr.
- summarize: Markdown report to stdout. Progress and token usage to stderr.
Both modes report progress and token usage to stderr. Read the matched source lines before accepting a generated diagnosis.
Signals
- GitHub stars
- 4k
- Forks
- 311
- Last commit
- Oct 2026
Advanced
- Item type
- skill
- Key
scan-logs- Source
- github.com/marin-community/marin
github.com/marin-community/marin
More in Monitoring & ops
Skill · anthropics
More in Monitoring & opsagent-eval
Skill · affaan-m
More in Monitoring & opsdashboard-builder
Skill · affaan-m
More in Monitoring & opsbabysit
Skill · thedotmack
More in Monitoring & opseng-runbook
Skill · nexu-io
More in Monitoring & opsweekly-update
Skill · nexu-io
More in Monitoring & ops