local_lint_summary
Summarize long linter, test, or CI logs with a local model, grouping results by file and error type without loading full output into context.
Instructions
PREFER this tool over reading the file with Read when the file is large (>200 lines / >10 KB) and you only need a grouped summary, not the literal content. If you ran a command with long output, dump it to a file and pass 'path'.
Summarizes linter/test/CI output with a local model, without spending Claude's context.
Meant for long, noisy logs (ESLint, clippy, pytest, tsc, CI). Pass 'path' and the file is read
server-side, so the full log does NOT enter Claude's context: only a summary grouped by file
comes back, with the count per error type/rule and the most important first. Alternatively
pass 'text'. Routes automatically to the mechanical model (short) or the long-context model
(long).
Args:
path: Path to the lint/test output file (read server-side). Use this or 'text'.
text: Lint/test output as text.
max_words: Maximum length of the summary in words.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| text | No | ||
| max_words | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |