By treesoop
Reduce Playwright MCP snapshot token usage by ~90% using Haiku as a summarization layer
Plugins that save tokens, time, and money for Claude Code users.
/plugin marketplace add treesoop/claude-native-plugin
/plugin install playwright-optimizer
| Plugin | Description | Savings |
|---|---|---|
| playwright-optimizer | Summarize Playwright MCP snapshots with Haiku before they reach Opus | ~90% token reduction |
| task-tracker | Track Claude Code usage (tokens, time, projects) per team | Team analytics |
These plugins use Claude Code's native hook system to optimize expensive operations. No API key needed — uses claude CLI with your existing Claude Code subscription auth.
Playwright MCP sends massive YAML snapshots (10K-60K+ chars) for every browser interaction. This plugin intercepts them via PostToolUse hook, summarizes with Claude Haiku via claude -p --model haiku, and passes a compact summary to your primary model.
Playwright MCP → 60,000 char YAML snapshot
→ PostToolUse hook triggers
→ claude -p --model haiku (internal auth, no API key)
→ ~4,000 char summary (all ref= values preserved)
→ Opus receives compact summary only
Tested results:
| Metric | Before | After | Change |
|---|---|---|---|
browser_navigate | 37,983 chars | 1,922 chars | -94% |
browser_snapshot | 37,897 chars | 1,435 chars | -96% |
claude) installed and authenticatedjq installed (pre-installed on most systems)MIT
Based on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimnpx claudepluginhub treesoop/claude-native-plugin --plugin playwright-optimizerBrowser automation and end-to-end testing MCP server by Microsoft. Enables Claude to interact with web pages, take screenshots, fill forms, click elements, and perform automated browser testing workflows.
Playwright browser automation via MCP. Includes test-generator and ui-debugger agents that return concise summaries instead of verbose Playwright output. IMPORTANT: Always delegate to these agents instead of calling Playwright tools directly.
Playwright E2E test debugging and interactive browser exploration. Runs tests with action capture (DOM snapshots, network, console, screenshots), diagnoses failures, and provides browser tools for navigating, clicking, and inspecting pages through ARIA snapshots.
Browser automation and debugging MCP servers: Chrome DevTools and Playwright
Playwright automation toolkit with MCP integration, specialized agent for browser control, and best practice skills
Ultra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.