nucliweb/webperf-snippets/webperf-resources
Intelligent network quality analysis with adaptive loading strategies. Detects connection type (2g/3g/4g), bandwidth, RTT, and save-data mode, then automatically triggers appropriate optimization workflows. Includes decision trees that recommend image compression for slow connections, critical CSS inlining for high RTT, and save-data optimizations (disable autoplay, reduce quality). Features connection-aware performance budgets (500KB for 2g, 1.5MB for 3g, 3MB for 4g+) and adaptive loading imple
Agent skill · version 2.7.1-main.1795087654.g95b33f1 · from nucliweb/webperf-snippets
Install
npx yarkr-cli add skill:nucliweb/webperf-snippets/webperf-resourcesWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:nucliweb/webperf-snippets/webperf-resources
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:nucliweb/webperf-snippets/webperf-resourcesOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:nucliweb/webperf-snippets/webperf-resourcesWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.