comment-stripping-preprocessor
Installation
SKILL.md
Comment Stripping & License Filter Preprocessor
Overview
Open-source libraries and enterprise codebases are laden with verbose license headers (30-line Apache 2.0 / MIT notices), commented-out legacy code blocks, and obvious inline comments (// increment i by 1).
When an agent ingests full files for debugging or refactoring, these non-executable text lines consume 30% to 50% of the input context window, diluting the model's self-attention across legal boilerplate rather than algorithmic logic.
The Comment Stripping Preprocessor Protocol automatically sanitizes source code before context ingestion - stripping license headers and decorative comments while strictly preserving semantic type hints, security invariants, and critical FIXME/SAFETY tags.