Joan León @nucliweb.net · Mar 4

I've been using WebPerf Snippets in my audits for years. Scripts to measure LCP, INP, CLS, TTFB, Render Blocking... The next step: turning them into tools an AI agent can use autonomously. But there's a design decision that makes all the difference. 🧵 #WebPerf #WebPerformance #AI #DevTools #MCP

9 likes 1 replies

?

Replies

Joan León · Mar 4

The easy option: JavaScript inline in the SKILL markdown. The problem: thousands of tokens on every invocation, even if only one script is needed. And nothing guarantees the LLM runs the code exactly as written.