
Description
Performance is an agent skill from Cognite's builder-skills collection that guides a coding agent through finding and fixing speed problems in a Flows app. It targets a named part of the app, or the whole app when no argument is passed, and insists on measuring before changing anything. The agent first runs the production build and preview with pnpm, then records a Lighthouse score in Chrome and a React Profiler session to see which components render longest and most often. From there it works on common causes such as needless re-renders, inefficient query patterns, missing pagination, unbounded fetches, sending large query results to an LLM, oversized bundles and memory leaks. It suits teams building Flows apps who want a repeatable, evidence-based tuning routine.…
Highlights
- Measures a production baseline before any change
- Uses Lighthouse and React Profiler to find slow components
- Covers re-renders, query patterns and pagination
- Flags unbounded fetches and LLM calls over query results
- Looks at bundle size and memory leaks
Ratings & Reviews
No ratings yet
Be the first to rate performance.
People also visit

benchmark-optimization-loop
Convert 'make it faster' requests into a bounded measured optimization loop
performance FAQ
What does the Performance skill do?
It has a coding agent find and fix performance issues in a Flows app, starting from measured numbers rather than guesses.
How do I install it?
Run: npx skills add https://github.com/cognitedata/builder-skills --skill performance
What does the agent measure first?
It builds and previews the app with pnpm, then captures a Lighthouse performance score and a React Profiler recording, noting components with the longest render times and highest render counts.
Can I limit it to one part of the app?
Yes. Pass a target as the argument; with no argument the skill reviews the whole app.
What were the security audit results?
On skills.sh: Gen Agent Trust Hub: Pass, Socket: Pass, Snyk: Pass.
What are the best performance alternatives?
Popular alternatives to performance include react-devtools, react-doctor and migrate-app-to-flows. See all performance alternatives












