CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

autonomous-cost-optimizer

Token and cost optimization for autonomous coding. Use when tracking token usage, optimizing API costs, managing budgets, or improving efficiency.

Quality

71%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./skills/autonomous-cost-optimizer/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

57%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The body leads with genuinely executable Quick Start code that matches the real script API, but nearly half of it is descriptive filler (ASCII workflow box, pricing table, dataclass dump, strategy/integration tables) rather than instruction. Most seriously, the References and Scripts sections point to 4 nonexistent files, breaking the skill's own progressive-disclosure structure.

Suggestions

Fix the bundle-navigation mismatch: either create references/PRICING-GUIDE.md, references/OPTIMIZATION-STRATEGIES.md, scripts/budget_manager.py, and scripts/efficiency_analyzer.py, or remove them from the References and Scripts sections — currently a majority of listed files are dead paths.

Replace the 25-line ASCII-art workflow box with a compact numbered procedure (e.g. 1. track_usage per request → 2. get_usage_report → 3. is_within_budget → 4. enter_efficiency_mode) that sequences the actual API calls, adding a budget-check checkpoint.

Drop the inline pricing table (time-sensitive model versions belong in references/PRICING-GUIDE.md) and the duplicated EfficiencyMetrics dataclass definition, and fix the 'await optimizer.enter_efficiency_mode()' example so it runs inside an async function.

DimensionReasoningScore

Conciseness

Mostly efficient, but the 25-line ASCII-art workflow box is decorative token spend whose content is just four short bullet lists, the pricing table embeds time-sensitive model-version data ('Claude 3.5 Sonnet', 'Claude 3 Opus') without a deprecated/old-patterns framing, and the EfficiencyMetrics dataclass duplicates a definition from the script. Not 4 because these are more than minor trims — over a third of the body could be cut without losing instruction.

3 / 5

Actionability

The Quick Start provides concrete, mostly copy-paste-ready code ('optimizer.track_usage(input_tokens=1500, output_tokens=500)', 'optimizer.is_within_budget(budget=10.00)') that matches the real CostOptimizer API in scripts/cost_optimizer.py. Not 5 because 'await optimizer.enter_efficiency_mode()' appears outside any async context and 'project_dir' is undefined, and the ANALYZE/OPTIMIZE phases offer no executable steps.

4 / 5

Workflow Clarity

The TRACK/ANALYZE/OPTIMIZE/REPORT phases are listed with sub-activities, but they read as a taxonomy of concerns ('Identify high-cost operations', 'Calculate ROI per feature') rather than a sequenced procedure with checkpoints — there is no guidance on when or in what order to invoke the scripts. Not 4 because no explicit sequence of commands or validation checkpoints connect the phases; not 2 because a rough sequence and Quick Start flow do exist.

3 / 5

Progressive Disclosure

Sections are well-organized and references are clearly signaled one level deep, but scored against the actual bundle: 4 of the 6 listed files do not exist — there is no references/ directory (PRICING-GUIDE.md and OPTIMIZATION-STRATEGIES.md are dead paths) and scripts/ contains only cost_optimizer.py and usage_tracker.py, while budget_manager.py and efficiency_analyzer.py are listed but missing. Not 4 because broken navigation paths are more than minor organization gaps; not 2 because the structure is real and the two core scripts are correctly referenced.

3 / 5

Total

13

/

20

Passed

Description

75%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A solid description with an explicit and multi-trigger 'Use when' clause, natural keywords, and a clear niche. Its main weakness is that the 'what' half is a noun-phrase category label rather than concrete verb-stated capabilities, and it lacks a few common synonyms (spend, pricing, reduce costs).

Suggestions

Rewrite the opening as concrete third-person actions, e.g. 'Tracks token usage, calculates API costs per feature, and enforces session budgets during autonomous coding' — this turns the nominalized 'what' into explicit capabilities.

Add common user synonyms such as 'spend', 'pricing', or 'reduce token costs' to the trigger clause to broaden natural-match coverage.

DimensionReasoningScore

Specificity

The trigger clause lists several specific actions — 'tracking token usage, optimizing API costs, managing budgets, or improving efficiency' — with only minor coverage gaps. It falls short of anchor 5 because the 'what' is a noun phrase ('Token and cost optimization') rather than an explicit list of concrete actions with deliverables, but exceeds anchor 3's '1-2 concrete actions'.

4 / 5

Completeness

Both parts are present: a 'what' ('Token and cost optimization for autonomous coding') and an explicit 'when' ('Use when tracking token usage, optimizing API costs, managing budgets, or improving efficiency'). Not 5 because the 'what' is a terse nominalization rather than concrete stated actions; not 3 because the when-clause is explicit and multi-trigger.

4 / 5

Trigger Term Quality

Good keyword coverage with natural phrases users would say: 'token usage', 'API costs', 'budgets', 'efficiency', 'cost'. Not 5 because common synonyms like 'spend', 'pricing', 'reduce costs', or 'billing' are missing; not 3 because multiple natural trigger phrases are present, not just one generic keyword.

4 / 5

Distinctiveness Conflict Risk

The scoping to 'autonomous coding' and token/API-cost triggers gives it a clear niche with minimal conflict risk. Not 5 because the generic trigger 'improving efficiency' could overlap with performance-related skills; not 3 because the core domain (token/cost budgets in autonomous coding) is clearly distinct.

4 / 5

Total

16

/

20

Passed

Validation

87%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

referenced_paths_exist

Referenced path issues: 4 missing

Warning

Total

14

/

16

Passed

Repository

fernandezbaptiste/Skrillz

Path

skills/autonomous-cost-optimizer/SKILL.md

Reviewed

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.