workers-profiling
Profile Cloudflare Workers CPU and Memory
CPU hotspots and memory allocation pressure can make deployed Workers and Durable Objects difficult to diagnose. This skill guides profiling, evidence analysis, and targeted optimization.
Установить с помощью моего Агента
Скопируйте этот запрос в своего Агента. Он содержит каноническую страницу Skill и манифест.
Review the Skillstore skill "workers-profiling" from https://skillstore.io/skills/cloudflare-workers-profiling.md and its manifest at https://skillstore.io/api/skills/cloudflare-workers-profiling/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.Ваш Агент по-прежнему должен показать план и запросить все подтверждения, требуемые политикой безопасности.
Ресурсы для AI-агентов
Используйте эти ссылки, когда AI-агенту, crawler или script нужен чистый контекст вместо полной страницы.
Протестировать
Использование «workers-profiling». My Worker has high CPU usage, but I have not captured a profile.
Ожидаемый результат:
- Confirm the account, Worker, environment, deployed version, and affected workload before capturing a profile.
- Check the current Cloudflare guide for supported CPU profiling and inspect installed cf command help.
- Capture the profile, then analyze function-level evidence before proposing changes.
Использование «workers-profiling». My supplied profile shows generated JavaScript filenames instead of original source locations.
Ожидаемый результат:
- Original source attribution is limited by the available mappings.
- Enable source maps and capture another profile to improve source attribution.
- Report available function names and metrics without inventing original source locations.
Аудит безопасности
БезопасноAll four static findings are false positives: Markdown backticks name profiling tools, and the URL links to official Cloudflare documentation. No evidence found of prompt injection, credential theft, or data exfiltration in SKILL.md. The workflow confirms deployment targets and suggests asking before installing missing tooling.
Факторы риска
⚙️ Внешние команды (3)
🌐 Доступ к сети (1)
Поделиться и цитировать этот отчет
Делитесь версионным отчетом об оценке, нейтральным значком, встраиваемой карточкой и цитатами. Skillstore публикует доказательства, не решая, безопасен ли этот Skill.
Копировать ссылку на отчёт
https://skillstore.io/skills/cloudflare-workers-profiling/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportЗначок Markdown
[](https://skillstore.io/skills/cloudflare-workers-profiling?utm_source=security_passport_badge)Значок HTML
<a href="https://skillstore.io/skills/cloudflare-workers-profiling?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/cloudflare-workers-profiling/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Встраиваемая карточка
<iframe src="https://skillstore.io/embed/skills/cloudflare-workers-profiling.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Академические ссылки (APA · BibTeX · CFF)
Цитата APA
cloudflare. (2026). workers-profiling security audit report (audit version 1) [Author version unspecified]. Skillstore. https://skillstore.io/skills/cloudflare-workers-profiling/audits/1Цитата BibTeX
@techreport{cloudflare-cloudflare-workers-profiling-2026,
author = {cloudflare},
title = {workers-profiling security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/cloudflare-workers-profiling/audits/1},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "workers-profiling security audit report (audit version 1)"
version: "unspecified"
type: report
authors:
- name: "cloudflare"
date-released: "2026-10-11"
url: "https://skillstore.io/skills/cloudflare-workers-profiling/audits/1"
identifiers:
- type: other
value: "skillstore:cloudflare-workers-profiling:audit:1"
description: "Skillstore immutable audit report identifier"
Оценка Skillstore
Почему такая оценка Достоверность доказательств: СреднийЧто вы можете построить
Investigate Worker CPU usage
Inspect production CPU profiles, identify expensive functions, and propose a targeted change with a verification plan.
Diagnose Durable Object memory growth
Confirm the owning Worker, namespace, and instance before selecting an appropriate profile and examining memory evidence.
Review optimization evidence
Connect profiling metrics to source locations and evaluate whether a proposed code change addresses the observed hotspot.
Попробуйте эти промпты
Help me investigate high CPU usage in my deployed Cloudflare Worker. Ask for the account, environment, deployed version, and affected workload before proceeding.
Guide CPU profile capture for [Worker] in [environment]. Consult current Cloudflare documentation and inspect installed cf help before recommending commands.
Analyze my supplied Durable Object pprof capture for allocation pressure or memory growth. Confirm the target instance and report supported metrics and missing symbols.
Review my supplied profile and source for [Worker]. Identify supported hotspots, propose the smallest change, and explain how to check its effect.
Лучшие практики
- Confirm the exact deployment and Durable Object identity with the user before capture.
- Use current documentation and installed CLI help to verify supported profiling options.
- Tie each optimization to captured evidence and check its effect under a comparable workload.
Избегать
- Capture profiles before confirming the correct account, environment, and deployed version.
- Invent source locations or metric meanings when symbols or mappings are missing.
- Make broad code changes without profile evidence or a plan to check their effects.
Часто задаваемые вопросы
What systems does this skill cover?
Which AI tools can use it?
Does the skill include a profiler?
What happens if cf is not installed?
Can it identify original source locations?
Does it guarantee improved performance?
Сведения для разработчиков
Автор
cloudflareЛицензия
MIT
Ревизия Skillstore
r1
Примечание о версии
Автор не указал версию.
Репозиторий
https://github.com/cloudflare/skills/tree/c430dd965cea3a8faf0ef035e3b3d73b38518081/skills/workers-profilingСсылка
919ee28dc01b50c3ac40238df51719a4c8d20e40
Актуальность поддержки
11.10.2026
Использование
0 загрузок · 0 просмотров
Структура файлов
📄 SKILL.md