
Description
workers-profiling is an agent skill for profiling deployed Cloudflare Workers and Durable Objects. It finds expensive functions and memory allocations in live code, and then suggests fixes. The skill follows a set of steps: identify the symptom, such as CPU usage, latency, allocation pressure or memory growth; confirm the account, Worker, environment and deployed version with the user; for a Durable Object, also confirm its owning Worker, namespace and instance; and choose CPU or heap profiling according to the current profiling guide. Where possible it uses the cf command-line tool to capture profiles, and if the tool is missing it asks whether the user wants it installed. The skill starts by retrieving the production profiling guide, so the agent works from current documentation. It suits developers who see slow or memory-heavy Workers in production and want a structured way to find the cause before changing code. Because it works against deployed code, the agent should confirm the target before capturing anything. The skill is listed on skills.sh with about 9.1K installs.…
Highlights
- Profiles CPU usage and memory allocation in deployed code
- Covers Workers and Durable Objects
- Steps to confirm the target before profiling
- Uses the cf CLI for profile capture when available
Ratings & Reviews
No ratings yet
Be the first to rate workers-profiling.
People also visit
workers-profiling FAQ
What does the workers-profiling skill do?
It guides an agent through profiling a deployed Cloudflare Worker or Durable Object for CPU or memory issues, and then helps optimise the code.
Does it confirm which deployment to profile?
Yes. The skill asks the agent to confirm the account, Worker, environment and deployed version with you first.
How do I install it?
Run npx skills add https://github.com/cloudflare/skills --skill workers-profiling in your project.
Does it need the cf CLI?
It uses the cf CLI to capture profiles where possible. If the CLI is not installed, the skill asks whether you want to install it.
What are the security audit results?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best workers-profiling alternatives?
Popular alternatives to workers-profiling include cloudflare/workers-best-practices, perf-profiler and performance. See all workers-profiling alternatives














