agentsclimarketplace

Code profiler

Skill a5c-ai/babysitter/library/specializations/algorithms-optimization/skills/code-profiler

Profile code performance and identify bottlenecksFrom its SKILL.md

Install
npx -y skills add a5c-ai/babysitter --skill code-profiler

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

1.9 KB, 394 tokens by cl100k_base, as published. Nobody here has run it

Code Profiler Skill

Purpose

Profile algorithm implementations to identify performance bottlenecks and optimization opportunities.

Capabilities

  • Runtime profiling
  • Memory profiling
  • Cache miss analysis
  • Hot spot identification
  • Optimization suggestions
  • Comparative benchmarking

Target Processes

  • code-level-optimization
  • complexity-optimization
  • memory-optimization

Profiling Dimensions

Time Profiling

  • Function-level timing
  • Line-by-line profiling
  • Call graph analysis
  • Hot spot detection

Memory Profiling

  • Heap allocation tracking
  • Memory leak detection
  • Peak memory usage
  • Allocation patterns

Cache Analysis

  • Cache miss rates
  • Memory access patterns
  • Data locality issues

Input Schema

{
  "type": "object",
  "properties": {
    "code": { "type": "string" },
    "language": { "type": "string" },
    "profileType": {
      "type": "string",
      "enum": ["time", "memory", "cache", "all"]
    },
    "testInput": { "type": "string" },
    "iterations": { "type": "integer", "default": 1 }
  },
  "required": ["code", "profileType"]
}

Output Schema

{
  "type": "object",
  "properties": {
    "success": { "type": "boolean" },
    "timing": { "type": "object" },
    "memory": { "type": "object" },
    "hotSpots": { "type": "array" },
    "recommendations": { "type": "array" }
  },
  "required": ["success"]
}

Integration

Can integrate with profiling tools like gprof, perf, Valgrind, cProfile, and language-specific profilers.

What ships with it: 1 file

607 B alongside SKILL.md

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.