Skip to content
cccskills
FreePublished on GitHub

micro-optimizer

Apply language-specific micro-optimizations

The English summary is being prepared. Showing the original description.

See how to install

Files included (2)

  • SKILL.md2.1 KB
  • README.md615 B

SKILL.md (original)

Review the instructions the agent will receive before you install.

Micro-Optimizer Skill

Purpose

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

Capabilities

  • C++ optimization tricks (fast I/O, pragma optimizations)
  • Python optimization (PyPy hints, list comprehensions)
  • Memory layout optimization
  • Vectorization opportunities
  • Compiler-specific optimizations

Target Processes

  • code-level-optimization
  • io-optimization
  • memory-optimization

Optimization Catalog

C++ Optimizations

  • Fast I/O: ios_base::sync_with_stdio(false)
  • Pragma optimizations: #pragma GCC optimize
  • Inline expansion
  • Loop unrolling
  • Memory prefetching

Python Optimizations

  • Use PyPy when possible
  • List comprehensions over loops
  • Local variable caching
  • __slots__ for classes
  • Avoiding global lookups

General Optimizations

  • Branch prediction hints
  • Cache-friendly data layout
  • Avoiding unnecessary copies
  • Bit manipulation tricks

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"]
}

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Provide implementations of advanced data structures

The English summary is being prepared. Showing the original description.

a5c-ai/babysitter1.9KUpdated Sep 17, 2026

Fresh adversarial code review with binary PASS/FAIL verdicts, evidence citations, and anchoring bias prevention via fresh reviewer spawning.

The English summary is being prepared. Showing the original description.

a5c-ai/babysitter1.9KUpdated Sep 17, 2026

WASM-based instant code transforms for simple tasks, achieving 352x speedup over LLM inference with zero cost.

The English summary is being prepared. Showing the original description.

a5c-ai/babysitter1.9KUpdated Sep 17, 2026

Coordinate Crew (persistent) and Polecat (transient) agents using Gas Town's hook-based work distribution and GUPP principle.

The English summary is being prepared. Showing the original description.

a5c-ai/babysitter1.9KUpdated Sep 17, 2026

Generate visual representations of algorithm execution

The English summary is being prepared. Showing the original description.

a5c-ai/babysitter1.9KUpdated Sep 17, 2026

Hierarchical coordination and drift detection with frequent checkpoints, shared memory coherence validation, role specialization enforcement, and short task cycles.

The English summary is being prepared. Showing the original description.

a5c-ai/babysitter1.9KUpdated Sep 17, 2026

See all skills by a5c-ai

Report a problem with this skill