Skip to content
cccskills
FreePublished on GitHub

workers-profiling

Profile CPU use or memory allocation in deployed Cloudflare Workers and Durable Objects. The skill analyzes returned profile files to locate costly functions and allocation hotspots, then reports the evidence and a focused code change to improve performance.

OriginalShow the original description

Profile or debug CPU usage and memory allocation in deployed Cloudflare Workers and Durable Objects. Then use this information to optimize your code.

fcakyon/claude-codex-settings1,192 stars(GitHub 1,192 + cccskills 0)
Works withCloudflare

Run score Not tested

See how to install

Good for

  • Finding functions that consume high CPU
  • Investigating memory growth in a Durable Object
  • Tracing allocation pressure in a deployed Worker
  • Using profile evidence to plan a code optimization

Files included (2)

  • SKILL.md2.2 KB
  • references/skill-feedback.md2.7 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Workers profiling

Find expensive functions or memory allocations in deployed code and come up with ways to fix them.

Retrieve the docs

Start with the production profiling guide to understand how Workers and Durable Objects profiling works.

Profiling steps

  1. Identify the symptom and affected workload: CPU usage, latency, allocation pressure, or memory growth.
  2. Confirm the account, Worker, environment, and deployed version with the user.
  3. For a Durable Object, also confirm its owning Worker, namespace, and instance.
  4. Choose CPU or heap profiling from the current guide's supported types and meanings.

Where possible, use the cf CLI to capture profiles. If the user requests cf, inspect the installed version's command help and schema where available.

If cf isn't available, consider prompting the user whether they would like to install it.

The profiling API will return a pprof file which you can analyze directly, or using appropriate tools like Go's pprof utility.

Inspect the evidence

  • Read the pprof file and analyse it for hotspots
  • Map hotspots to functions and source locations when evidence supports it; report missing symbols or source mappings.
  • If filenames and function names are pointing at the generated JavaScript, consider suggesting to the user to enable source maps and re-do the profiling.

Optimise

Propose the smallest code change supported by the capture which resolves the issues identified.

Report findings

Return a concise report with:

  • Evidence for each finding: file, function, source location, and metric with units, where available.
  • The smallest actionable change and how to check its effect.

Skill feedback

If the user reports that this skill gave incorrect or outdated guidance, or is missing information, read references/skill-feedback.md.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Format responses for readers who benefit from concise, visible steps and low-friction starts. It puts the answer first, breaks work into short numbered actions, tracks progress, and adds brief educational notes around code changes while keeping secondary details separate.

  • Format a reply as short numbered steps
  • Make a long task easier to follow
  • Keep responses concise and show progress
fcakyon/claude-codex-settings1.2KUpdated Oct 29, 2026

aeo

FreeSummary

Plan and assess how AI assistants discover and recommend a product to buyers who have not heard of it. Organize buyer questions, review answers and cited sources, identify content or access gaps, and define a repeatable way to measure visibility and customer outcomes.

  • Plan content for AI answer engines
  • Review AI answers and cited pages
  • Build a buyer question set
fcakyon/claude-codex-settings1.2KUpdated Oct 29, 2026

agent-browser

FreeSummary

Use this skill to automate browser tasks such as opening websites, reading page content, clicking controls, filling forms, signing in, extracting data, and taking screenshots. It explains a snapshot-based workflow for interacting with pages and handling tabs and waits.

  • Filling out a website form
  • Extracting information from a web page
  • Capturing a page screenshot
fcakyon/claude-codex-settings1.2KUpdated Oct 29, 2026

agents-sdk

FreeSummary

Build, debug, or review applications built with Cloudflare’s Agents SDK and the `agents` package. It covers agent state, routing, chat, scheduled and durable work, and integrations, while consulting current Cloudflare documentation for implementation details.

  • Starting an Agents SDK application
  • Adding agents to an existing Workers project
  • Debugging state or routing behavior
fcakyon/claude-codex-settings1.2KUpdated Oct 29, 2026

Use this skill to plan and build web interfaces with a visual direction tied to the project. It guides choices for color, typography, layout, motion, and interface text, then encourages a review against the brief so the result feels deliberate and specific.

  • Designing a new web interface around a product brief
  • Refreshing an existing page with a distinct visual direction
  • Choosing type, color, and layout for a landing page
fcakyon/claude-codex-settings1.2KUpdated Oct 29, 2026

app-auth

FreeSummary

Standardize web app sign-in and account flows with shared session rules, email and Google login adapters, and an optional auth panel. Use the guidance to simplify signup, recovery, and return navigation while keeping native and TV integrations clearly identified as pending validation.

  • Standardize app sign-in and sessions
  • Reuse Google login in a web app
  • Improve signup and password recovery
fcakyon/claude-codex-settings1.2KUpdated Oct 29, 2026

See all skills by fcakyon

Report a problem with this skill