CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

optimize-skill

Use when iteratively optimizing an existing SKILL.md (or a skill folder with bundle files) — runs a Tessl-gated Ralph loop with snapshot-and-revert protection, never accepts a worse `tessl review run` score, and stops when no candidate change improves both the score and the structural quality. Triggers for `/optimize-skill PATH`, "make this skill better", "iterate on this SKILL.md", "improve this skill's tessl score".

Quality

84%

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

SKILL.md
Quality
Evals
Security

Quality

Content

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

An operationally strong skill body: the iteration workflow is exemplary, with concrete commands, snapshot/revert safety, dual gates, and acceptance criteria that make it hard to execute wrong. It is dragged down by triple restatement of the same workflow (mermaid + steps + Data flow) and by a dangling REFERENCE.md reference that points to a file absent from the bundle, undercutting its own G4 gate.

Suggestions

De-duplicate the workflow: the "Data flow" section repeats the mermaid flowchart and Step Details almost one-for-one — keep one canonical representation and delete or heavily compress the others, which also fixes the false claim "Core rule — restated nowhere else in this file" (it is restated in G1/G2 and in "A worse score, ever").

Resolve the dangling reference: the body points to `REFERENCE.md` (sibling) twice but no such bundle file exists in the skill folder, violating the skill's own G4 gate — either ship REFERENCE.md with the skill or move the essential bits (seed-run evidence, rationalization counters) inline and drop the pointer.

Move version- and date-sensitive details (the "tessl 0.87 requires --workspace" quirk, the "2026-05-11 seed run iteration log" date) into a clearly labeled reference/version-notes section so the main body stays evergreen and does not penalize token efficiency.

Define or populate `${CANDIDATES[@]}` in Step 5 — the iteration loop depends on it, but no step constructs the array from the ROI-ranked table and Tessl's `.suggestions[]`.

DimensionReasoningScore

Conciseness

Mostly efficient but the workflow is spelled out three times (mermaid flowchart, Step Details, and a largely redundant "Data flow" section) and the core rule is restated in three places ("Core rule", gates G1/G2, and "A worse score, ever") — contradicting the claim "Core rule — restated nowhere else in this file" — plus inline time/version-sensitive details ("tessl 0.87 requires --workspace", the "2026-05-11 seed run") that belong in a reference section; not 4 because the duplication is more than minor over-explanation, not 2 because there is little explanation of concepts Claude already knows.

3 / 5

Actionability

Mostly executable guidance: complete bash for baselining (`tessl review run --json --workspace "$WORKSPACE"`, jq score extraction), a working `det_check` function, and a copy-paste-ready snapshot/revert iteration loop with an awk numeric gate; held below 5 because the loop iterates over "${CANDIDATES[@]}" which is never populated anywhere, `$1`/`$MAX_ITERS` are unbound in the shown context, and "apply the candidate change in-place" is a placeholder step.

4 / 5

Workflow Clarity

Clear 8-step sequence with explicit validation and feedback loops throughout: upfront validation with remediation ("if it reports 'not logged in', abort and tell the user to run `tessl login`"), a per-iteration keep-or-revert gate (`SCORE_N ≥ SCORE_PREV` AND determinism not regressed), idempotent revert via `rsync -a --delete`, hard acceptance gates G1–G7, and "Any failure → revert that iteration" — matching the anchor for explicit validation steps and error-recovery loops.

5 / 5

Progressive Disclosure

The body is well-sectioned and pushes evidence/logs to a one-level-deep sibling ("read `REFERENCE.md` (sibling)" appears twice), but no bundle files exist in this skill folder — no references/, scripts/, or assets/, and no REFERENCE.md — so the only cross-file reference points nowhere, violating the skill's own G4 gate; structure and reference intent are good but cannot be relied on, fitting "references present but not clearly signaled / content that should be separate is inline" better than the well-placed-content anchor at 4.

3 / 5

Total

15

/

20

Passed

Description

91%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, explicit what + when, and an explicit trigger list covering the natural verb synonyms for this domain. Its only weaknesses are that the specific optimization actions live in the body rather than the description, and one trigger phrase ("make this skill better") is broad enough to overlap with generic skill-editing skills.

DimensionReasoningScore

Specificity

Names several concrete behaviors — "runs a Tessl-gated Ralph loop with snapshot-and-revert protection", "never accepts a worse `tessl review run` score", "stops when no candidate change improves both the score and the structural quality" — but never says what the optimization concretely consists of (e.g. frontmatter tightening, bundle extraction), leaving minor coverage gaps; not 3 because more than 1-2 specific actions are stated, not 5 because the actual candidate actions are absent.

4 / 5

Completeness

Explicitly answers both questions: what ("runs a Tessl-gated Ralph loop with snapshot-and-revert protection, never accepts a worse score") and when ("Use when iteratively optimizing an existing SKILL.md", followed by a literal "Triggers for..." list of concrete phrases), matching the anchor for clear and explicit what AND when with concrete trigger phrases.

5 / 5

Trigger Term Quality

Comprehensive natural-term coverage with synonyms: "make this skill better", "iterate on this SKILL.md", "improve this skill's tessl score", "iteratively optimizing an existing SKILL.md" — spanning optimize/iterate/make-better/improve plus the concrete slash invocation "/optimize-skill PATH", so the user-verb space is fully covered rather than missing common variations.

5 / 5

Distinctiveness Conflict Risk

A clear niche (tessl-score-driven optimization of SKILL.md files) with mostly distinct triggers, but the broad phrase "make this skill better" could also fire for a generic skill-editing skill, giving minor overlap risk with closely related skills rather than minimal conflict risk.

4 / 5

Total

18

/

20

Passed

Validation

100%

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

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

AndreJorgeLopes/proof-of-skill

Path

skills/optimize-skill/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.