Micro optimizer

From a5c-ai/babysitter · View interactive version

Micro optimizer is an AI agent skill from the GitHub repository a5c-ai/babysitter. Apply language-specific micro-optimizations

How to use this skill

Skill file

Micro-Optimizer Skill

Purpose

Apply language-specific micro-optimizations to squeeze maximum performance from competitive programming solutions.

Capabilities

Target Processes

Optimization Catalog

C++ Optimizations

Python Optimizations

General Optimizations

Input Schema

{
  "type": "object",
  "properties": {
    "code": { "type": "string" },
    "language": {
      "type": "string",
      "enum": ["cpp", "python", "java"]
    },
    "optimizationLevel": {
      "type": "string",
      "enum": ["safe", "aggressive", "maximum"]
    },
    "preserveReadability": { "type": "boolean", "default": true }
  },
  "required": ["code", "language"]
}

Output Schema

{
  "type": "object",
  "properties": {
    "success": { "type": "boolean" },
    "optimizedCode": { "type": "string" },
    "appliedOptimizations": { "type": "array" },
    "expectedSpeedup": { "type": "string" },
    "warnings": { "type": "array" }
  },
  "required": ["success", "optimizedCode"]
}
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.