CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

ax-agent-optimize

This skill helps an LLM generate correct AxAgent tuning and evaluation code using @ax-llm/ax. Use when the user asks about agent.optimize(...), judgeOptions, eval datasets, optimization targets, saved optimizedProgram artifacts, or agent optimization guidance.

Quality

79%

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 ./website/static/typescript/.well-known/agent-skills/ax-agent-optimize/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

63%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.

A highly actionable codegen-rules skill with excellent executable patterns and a clear decision framework, weakened by significant repetition of the metric-vs-judge guidance and a monolithic single-file structure that inlines material better suited to reference files. Tightening the redundancy and splitting peripheral sections would raise both conciseness and progressive disclosure.

Suggestions

Consolidate the metric-vs-judge decision rules that currently repeat across 'Use These Defaults', 'Metric vs Judge', and 'Dataset And Judge Rules' into a single decision table, removing duplicated statements like 'a custom metric overrides the built-in judge path'.

Move peripheral material — Eval Semantics details, Delegation Optimization Notes, and the plain AxGen judge pattern — into reference files under references/ and link to them from SKILL.md to reduce the ~370-line body.

Complete the non-executable snippets: define or explain the optimizer/train variables in the AxGen judge pattern, and replace the vague 'new AxOptimizedProgramImpl(...)' restoration hint with a full working example.

DimensionReasoningScore

Conciseness

The body is dense with API-specific rules and avoids explaining concepts Claude already knows, but the metric-vs-judge guidance repeats across sections ('Prefer a plain typed AxGen evaluator' appears in Use These Defaults, Metric vs Judge, and Dataset And Judge Rules; 'a custom metric overrides the built-in judge' appears twice), and version-sensitive notes like 'raw failed traces are not saved in v1' sit inline rather than in a deprecated section. The file could be tightened to roughly half its length, matching the mostly-efficient-but-could-be-tightened anchor rather than the noticeably-verbose one.

3 / 5

Actionability

The Canonical, Minimal, Deterministic Metric, and Built-In Judge patterns are complete, copy-paste-ready TypeScript with imports and realistic task records. Two snippets fall short of executable: the AxGen judge pattern calls 'optimizer.compile(program, train, metric, ...)' with undefined optimizer/train variables, and the Artifacts section's 'Restore artifacts with new AxOptimizedProgramImpl(...)' is a fragment, which matches mostly-executable-with-minor-gaps rather than fully executable.

4 / 5

Workflow Clarity

The Decision Guide maps user goals to optimization shapes, task-design rules are explicit, good/bad patterns clarify ambiguous cases, and there is error-recovery guidance ('If one training task keeps collapsing to zero, inspect that task first instead of adding more optimizer rounds') plus held-out replay for before/after comparison. It stops short of 5 because these checkpoints are scattered across sections rather than presented as one sequenced workflow with explicit validation steps.

4 / 5

Progressive Disclosure

Section headers are clear and well-ordered, but the skill is roughly 370 lines with no bundle files at all, and clearly separable material (Eval Semantics details, Delegation Optimization Notes, the AxGen judge pattern) is inlined in SKILL.md. Cross-skill pointers ('ax-gepa', 'ax-playbook', 'ax-mcp') are name-only with no paths, so the structure matches the some-structure-but-inline-content anchor rather than the good-structure one.

3 / 5

Total

14

/

20

Passed

Description

87%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 strong description: third-person, concise, with an explicit 'Use when...' trigger clause listing concrete API-specific terms. Both what and when are clearly answered, and the niche is sharply distinct from generic agent or optimization skills.

DimensionReasoningScore

Specificity

Names the concrete deliverable ('generate correct AxAgent tuning and evaluation code using @ax-llm/ax') and enumerates specific artifacts like 'agent.optimize(...)', 'judgeOptions', 'eval datasets', and 'saved optimizedProgram artifacts', matching the several-specific-actions anchor. It stops short of a 5 because the action list reduces to a single verb (generate code) with the artifacts as objects rather than a comprehensive set of distinct actions.

4 / 5

Completeness

It explicitly answers both questions: 'what' via 'helps an LLM generate correct AxAgent tuning and evaluation code using @ax-llm/ax' and 'when' via the concrete trigger clause 'Use when the user asks about agent.optimize(...), judgeOptions, eval datasets...'. This mirrors the top anchor's structure of what + explicit when with concrete trigger phrases.

5 / 5

Trigger Term Quality

Triggers like 'agent.optimize(...)', 'judgeOptions', 'eval datasets', 'optimization targets', and 'agent optimization guidance' are exactly what a user of this API would say, giving good keyword coverage. A few natural variations users might phrase differently ('tune my agent', 'GEPA', 'improve my agent') are missing, keeping it below 5.

4 / 5

Distinctiveness Conflict Risk

The description is anchored to a specific library ('@ax-llm/ax') and API-specific terms ('agent.optimize(...)', 'judgeOptions', 'optimizedProgram artifacts') that virtually no other skill would claim, giving it a clear niche with minimal conflict risk.

5 / 5

Total

18

/

20

Passed

Validation

93%

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

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

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

Warning

Total

15

/

16

Passed

Repository

ax-llm/ax

Path

website/static/typescript/.well-known/agent-skills/ax-agent-optimize/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.