CtrlK
BlogDocsLog inGet started
Tessl Logo

code-optimizer

Analyzes and optimizes code for better performance, memory usage, and efficiency. Use when code is slow, memory-intensive, or inefficient. Supports Python and Java optimization including execution speed improvements, memory reduction, database query optimization, and I/O efficiency. Provides before/after examples with detailed explanations of why optimizations work, complexity analysis, and measurable performance improvements.

Install with Tessl CLI

npx tessl i github:ArabelaTso/Skills-4-SE --skill code-optimizer
What are skills?

90

Does it follow best practices?

Validation for skill structure

SKILL.md
Review
Evals

Evaluation results

74%

8%

Log Analytics Performance Overhaul

Python optimization report with before/after template

Criteria
Without context
With context

Before section present

100%

100%

After section present

100%

100%

Issues listed

100%

100%

Complexity annotated

100%

100%

Gain quantified

100%

100%

Why This Works explanation

100%

100%

Trade-offs documented

100%

100%

List comprehension used

100%

100%

Set for membership testing

100%

100%

Built-in function used

100%

100%

Generator used

0%

0%

time.time() measurement

0%

0%

timeit comparison

0%

100%

Validation checklist present

0%

0%

Without context: $0.4947 · 4m 15s · 22 turns · 29 in / 8,700 out tokens

With context: $0.7536 · 5m 8s · 26 turns · 189 in / 9,955 out tokens

90%

-5%

Java Service Performance Investigation

Java optimization with categorization and measurement

Criteria
Without context
With context

Optimization type labeled

100%

100%

Before code shown

100%

100%

After code shown

100%

100%

Complexity notation

100%

100%

Why This Works section

100%

100%

Trade-offs section

100%

100%

StringBuilder used

100%

100%

HashSet for lookup

100%

100%

Primitive array used

100%

100%

System.nanoTime() measurement

100%

100%

Numeric improvement shown

100%

100%

Validation checklist

50%

0%

Without context: $0.6173 · 31s · 2 turns · 4 in / 267 out tokens

With context: $0.6806 · 5m 44s · 24 turns · 539 in / 10,361 out tokens

99%

14%

E-Commerce Platform Database Performance Audit

Database query optimization and profiling workflow

Criteria
Without context
With context

N+1 fix with joinedload

100%

100%

Batch insert used

100%

100%

Single commit after batch

100%

100%

Index recommendation

100%

100%

Buffered I/O applied

0%

100%

cProfile guidance

100%

100%

line_profiler guidance

100%

100%

memory_profiler guidance

0%

100%

Before section in report

100%

100%

Gain estimate in report

100%

100%

Why This Works explanation

100%

100%

Validation checklist

100%

91%

Without context: $0.2259 · 2m 27s · 10 turns · 15 in / 4,896 out tokens

With context: $0.5164 · 4m 14s · 17 turns · 267 in / 8,197 out tokens

Evaluated
Agent
Claude Code

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.