profile — codesearch profile, veloria, community, codesearch, ide skills, search, trigrams, wordpress

v1.0.0

Об этом навыке

Идеально подходит для агентов ИИ, ориентированных на Go, которым необходимы возможности профилирования CPU и памяти. Run CPU and memory profiling with pprof to identify performance hotspots. Use when investigating high resource usage.

# Core Topics

PeterBooker PeterBooker
[9]
[1]
Updated: 3/11/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 9/11

This page remains useful for operators, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution Quality floor passed for review
Review Score
9/11
Quality Score
54
Canonical Locale
en
Detected Body Locale
en

Идеально подходит для агентов ИИ, ориентированных на Go, которым необходимы возможности профилирования CPU и памяти. Run CPU and memory profiling with pprof to identify performance hotspots. Use when investigating high resource usage.

Зачем использовать этот навык

Наделяет агентов возможностью выявлять точки перегрева CPU и алокаторы памяти в коде Go с помощью pprof, что облегчает оптимизированную производительность и использование ресурсов посредством поиска и анализа кода на основе regex основных версий WordPress, плагинов и тем.

Подходит лучше всего

Идеально подходит для агентов ИИ, ориентированных на Go, которым необходимы возможности профилирования CPU и памяти.

Реализуемые кейсы использования for profile

Профилирование использования CPU в пакетах Go
Анализ распределения памяти в плагинах WordPress
Выявление узких мест производительности в репозиториях кода Go

! Безопасность и ограничения

  • Требует доступа к базе кода Go
  • Только ядро WordPress, плагины и темы
  • Зависимость от pprof

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

After The Review

Decide The Next Action Before You Keep Reading Repository Material

Killer-Skills should not stop at opening repository instructions. It should help you decide whether to install this skill, when to cross-check against trusted collections, and when to move into workflow rollout.

Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is profile?

Идеально подходит для агентов ИИ, ориентированных на Go, которым необходимы возможности профилирования CPU и памяти. Run CPU and memory profiling with pprof to identify performance hotspots. Use when investigating high resource usage.

How do I install profile?

Run the command: npx killer-skills add PeterBooker/veloria/profile. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for profile?

Key use cases include: Профилирование использования CPU в пакетах Go, Анализ распределения памяти в плагинах WordPress, Выявление узких мест производительности в репозиториях кода Go.

Which IDEs are compatible with profile?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for profile?

Требует доступа к базе кода Go. Только ядро WordPress, плагины и темы. Зависимость от pprof.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add PeterBooker/veloria/profile. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use profile immediately in the current project.

! Reference-Only Mode

This page remains useful for installation and reference, but Killer-Skills no longer treats it as a primary indexable landing page. Read the review above before relying on the upstream repository instructions.

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

profile

Install profile, an AI agent skill for AI agent workflows and automation. Review the use cases, limitations, and setup path before rollout.

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

CPU and Memory Profiling

Profile Go code to identify CPU hotspots and memory allocators using pprof.

Usage

  • /profile cpu ./internal/index/ - CPU profiling on index package
  • /profile memory ./internal/repo/ - Memory profiling on repo package
  • /profile all ./... - Both CPU and memory on all packages

Steps

  1. Parse arguments

    • First argument: Profile type (cpu, memory, or all)
    • Second argument: Package path (defaults to ./...)
  2. Create profile output directory

    bash
    1mkdir -p .profiles
  3. Run profiling benchmarks

    For CPU profiling:

    bash
    1go test -cpuprofile=.profiles/cpu.prof -bench=. $PACKAGE 2>&1

    For memory profiling:

    bash
    1go test -memprofile=.profiles/mem.prof -bench=. $PACKAGE 2>&1
  4. Analyze CPU profile

    bash
    1go tool pprof -top -cum .profiles/cpu.prof 2>&1 | head -30

    Identify:

    • Top 10 CPU consumers by cumulative time
    • Functions with high self time (computation hotspots)
    • Unexpected entries (potential optimization targets)
  5. Analyze memory profile

    bash
    1go tool pprof -top -alloc_space .profiles/mem.prof 2>&1 | head -30

    Identify:

    • Top allocators by total bytes
    • Functions with high allocation counts
    • Potential sources of GC pressure
  6. Generate flamegraph data (if requested)

    bash
    1go tool pprof -raw .profiles/cpu.prof > .profiles/cpu.raw
  7. Report findings

    Structure the report as:

    CPU Hotspots

    FunctionSelf%Cum%Observation

    Memory Allocators

    FunctionBytesAllocsObservation

    Optimization Suggestions

    • List specific, actionable recommendations
    • Reference line numbers where applicable
    • Note any patterns (e.g., repeated allocations in loops)

Interpreting Results

CPU Profile Indicators

  • High self%: Direct computation hotspot
  • High cum% but low self%: Calls expensive functions
  • runtime.*: GC or scheduler overhead

Memory Profile Indicators

  • High alloc_space: Total memory pressure
  • High alloc_objects: GC pressure from many small allocations
  • Repeated patterns: Loop allocations, string concatenation

Common Hotspots in Veloria

Watch for issues in:

  • (*Index).Search - Regex compilation, line reading
  • (*Repository).Load - Index file mapping
  • (*IndexedExtension).Update - Hot-swap operations
  • HTTP handlers - JSON marshaling, response writing

Cleanup

Profile files are stored in .profiles/. Add to .gitignore if not already present.

Связанные навыки

Looking for an alternative to profile or another community skill for your workflow? Explore these related open-source skills.

Показать все

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

widget-generator

Logo of f
f

Создание настраиваемых плагинов виджетов для системы ленты новостей prompts.chat

flags

Logo of vercel
vercel

Фреймворк React

138.4k
0
Браузер

pr-review

Logo of pytorch
pytorch

Tensors and Dynamic neural networks in Python with strong GPU acceleration

98.6k
0
Разработчик