playwright-compress
Installation
SKILL.md
Playwright MCP Output Compression (Layer 4)
Purpose
Reduces Playwright MCP tool output tokens by 94-96% using intelligent Haiku summarization while preserving ref= values for interactive flow continuity.
Architecture
MCP tool response (37K+ chars)
↓ PostToolUse hook
↓ playwright-compress.sh
↓ claude -p --model haiku (summarize)
↓ updatedMCPToolOutput (1.4K-1.9K chars)