Working with AI coding assistants, I kept running into the same wall: context windows are expensive real estate.
When debugging issues, I needed to share log files with Claude or GPT. But logs are incredibly verbose and repetitive. A 10MB log file might contain the same pattern repeated thousands of times with only small variations, timestamps, IDs, values.
The typical solutions, truncating logs or grepping for specific errors, felt imprecise. I was either losing important context or spending tokens on redundant information.