profile — codesearch profile, veloria, community, codesearch, ide skills, search, trigrams, wordpress, Claude Code, Cursor, Windsurf

v1.0.0

このスキルについて

CPU とメモリのプロファイリング機能が必要な Go 対応の AI エージェントに最適です。 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

CPU とメモリのプロファイリング機能が必要な Go 対応の AI エージェントに最適です。 Run CPU and memory profiling with pprof to identify performance hotspots. Use when investigating high resource usage.

このスキルを使用する理由

pprof を使用して、エージェントが Go コード内の CPU ホットスポットとメモリ割り当てを識別できるようにし、正規表現ベースのコード検索と WordPress コアバージョン、プラグイン、テーマの分析を通じて、最適化されたパフォーマンスとリソースの利用を実現します。

おすすめ

CPU とメモリのプロファイリング機能が必要な Go 対応の AI エージェントに最適です。

実現可能なユースケース for profile

Go パッケージ内の CPU 使用状況の分析
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 supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.

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?

CPU とメモリのプロファイリング機能が必要な Go 対応の AI エージェントに最適です。 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: Go パッケージ内の CPU 使用状況の分析, 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.

Imported Repository Instructions

The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.

Supporting Evidence

profile

Install profile, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly
Imported Repository Instructions
The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.
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. 🦞

333.8k
0
AI

widget-generator

Logo of f
f

カスタマイズ可能なウィジェットプラグインをprompts.chatのフィードシステム用に生成する

149.6k
0
AI

flags

Logo of vercel
vercel

React フレームワーク

138.4k
0
ブラウザ

pr-review

Logo of pytorch
pytorch

Pythonにおけるテンソルと動的ニューラルネットワーク(強力なGPUアクセラレーション)

98.6k
0
開発者