python-autotuner
Installation
SKILL.md
Python Autotuner
Analyze, rewrite, validate, and benchmark Python code locally. Each rewrite attempt must pass all existing tests before it is accepted. Speed improvements must be statistically meaningful. Quality improvements must reduce ruff violations, ty errors, or complexity score.
Examples
# Optimize a file with default goals (speed + quality)
/python-autotuner mymodule/processor.py
# Target a specific function, 5 benchmark runs
/python-autotuner --function parse_records --n-runs 5 mymodule/parser.py
# Quality only (no benchmarking — fast path)
/python-autotuner --goals quality mymodule/utils.py