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

68%

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 ./.claude/skills/autonomous-cost-optimizer/SKILL.md

The canonical home for this skill is autonomous-cost-optimizer in fernandezbaptiste/Skrillz

SKILL.md
Quality
Evals
Security

Quality

Content

53%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 is well-sectioned with genuinely executable Quick Start code matching the real scripts, but it is undermined by broken progressive disclosure — most declared bundle files do not exist — plus a decorative ASCII diagram and an operational workflow that never translates its TRACK/ANALYZE/OPTIMIZE/REPORT phases into concrete steps.

Suggestions

Fix the bundle references: create references/PRICING-GUIDE.md and references/OPTIMIZATION-STRATEGIES.md and scripts/budget_manager.py and scripts/efficiency_analyzer.py, or remove them from the References and Scripts sections — 4 of 6 declared paths are currently dangling.

Replace the 28-line ASCII box diagram with a concise bulleted phase list, and move the time-sensitive pricing table into references/PRICING-GUIDE.md (the pricing data also lists outdated models such as Claude 3.5 Sonnet).

Turn the Cost Optimization Workflow into a concrete step sequence with checkpoints, e.g. '1. track_usage after each request; 2. check is_within_budget before starting each feature; 3. if over budget, call enter_efficiency_mode() and re-check before proceeding', and make the example code self-contained (define project_dir, remove the bare `await`).

DimensionReasoningScore

Conciseness

Most sections earn their tokens (code examples, strategy and integration tables), but the 28-line ASCII box diagram is decorative padding — a bulleted phase list would convey the same information — and the Pricing Reference table is time-sensitive model pricing inlined in SKILL.md where it belongs in the referenced PRICING-GUIDE.md. More than minor trimming is needed, so not anchor 4; but there is no explanation of concepts Claude already knows, so not anchor 2.

3 / 5

Actionability

The Quick Start code is real and verified against the bundle: track_usage, get_usage_report, is_within_budget, enter_efficiency_mode, and report.total_cost all exist in scripts/cost_optimizer.py with matching signatures. Minor gaps keep it from anchor 5: project_dir is never defined, `await optimizer.enter_efficiency_mode()` appears outside any async context, and usage_tracker.py's richer API (start_session, track_request, get_trends) gets no example despite being listed.

4 / 5

Workflow Clarity

The TRACK/ANALYZE/OPTIMIZE/REPORT diagram presents a rough conceptual sequence, and the budget check sketches a checkpoint, but no concrete operational order of API calls is given (when to track, when to check the budget, what to do in efficiency mode beyond the one call). The sequence is present but checkpoints are implicit, matching anchor 3 rather than 4.

3 / 5

Progressive Disclosure

Scored against the actual bundle: scripts/ contains only cost_optimizer.py and usage_tracker.py, and no references/ directory exists. Four of the six declared bundle paths are dangling (references/PRICING-GUIDE.md, references/OPTIMIZATION-STRATEGIES.md, scripts/budget_manager.py, scripts/efficiency_analyzer.py), and the pricing table is inlined duplicating the missing PRICING-GUIDE.md. Navigation to detail files fails outright, which is worse than anchor 3's 'references present but not clearly signaled'; it is above anchor 1 because the body itself is well-sectioned with one-level-deep reference intent and no nested chains.

2 / 5

Total

12

/

20

Passed

Description

70%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 'Use when' clause, natural trigger terms, and a distinct niche. Its main weakness is that the 'what' remains at the level of generic action verbs without naming any concrete capability of the skill.

DimensionReasoningScore

Specificity

The description names the domain ("Token and cost optimization for autonomous coding") and lists actions ("tracking token usage, optimizing API costs, managing budgets"), but the actions are generic verb-noun pairs with no concrete capability stated — 'improving efficiency' in particular is abstract filler. It matches anchor 3 (domain plus 1-2 concrete actions, not comprehensive) rather than 4, which requires several specific concrete actions.

3 / 5

Completeness

It answers both questions: the '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") with concrete trigger phrases. It is not a 5 because the 'what' is high-level — it never states what the optimization concretely entails (e.g., compaction, caching, model selection).

4 / 5

Trigger Term Quality

Phrases like "tracking token usage", "optimizing API costs", and "managing budgets" are natural terms users would say when needing this skill. It falls short of anchor 5 because common synonyms and variations are missing (e.g., 'reduce spend', 'cut costs', 'save tokens', 'token budget'), but exceeds anchor 3 because the primary natural phrasings for the domain are all present.

4 / 5

Distinctiveness Conflict Risk

"Token and cost optimization for autonomous coding" occupies a fairly distinct niche with trigger terms (token usage, API costs, budgets) unlikely to fire for unrelated skills. It is not a 5 because "improving efficiency" is broad and could overlap with generic efficiency or performance skills.

4 / 5

Total

15

/

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

.claude/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.