home/categories/framework-internals/keep-starknet-strange-starknet-agentic-skills-cairo-optimization-skill-md
framework-internalsdevelopment

cairo-optimization

Improves Cairo performance after correctness is established. Trigger on "optimize", "gas usage", "reduce steps", "profile", "BoundedInt", "storage packing", "benchmark". Guides profiling, arithmetic optimization, and bounded-int hardening.

keep-starknet-strange
maintainer
keep-starknet-strange
Updated 3/17/2026
Stars
79
Forks
23
quick start

Installation and usage

Improves Cairo performance after correctness is established. Trigger on "optimize", "gas usage", "reduce steps", "profile", "BoundedInt", "storage packing", "benchmark". Guides profiling, arithmetic optimization, and bounded-int hardening.

Installation
$ install --globalskills.sh
Usage

Once installed, you can use this skill by running the following command in your terminal:

skills use cairo-optimization