Prove a skill works using evaluation
Generate scenarios, run an evaluation, and read the score difference to see whether a skill actually changes what an agent produces.
Takeaway Generate scenarios from a skill, run an evaluation, and read the score difference to see whether the skill actually changes what an agent produces. Scenarios are saved with the skill, so they become a regression test you re-run after every change.
An evaluation runs an agent on real tasks twice, once without the skill and once with it, then scores the difference. That difference is the skill's value: proof it changes what the agent does, not just that it reads well. Where a review checks the skill itself, an evaluation measures its effect.
Evaluation is more rigorous than review and takes longer to set up and run. Reach for it when you need confidence a skill works, for example before you publish it or share it into a repository where you will not see how others' agents use it.
You can evaluate a single skill against generated scenarios, or evaluate context files against real tasks taken from your codebase's commit history. Both run through the same tessl eval commands.
All the steps on this page are also available through your agent. Install Tessl's Skill Optimizer to generate scenarios, run evaluations, and improve skills without leaving your editor: tessl install tessl/skill-optimizer
Skills are evaluated inside Tessl plugins
A Tessl plugin is a structure that bundles the skills, rules, and documentation an agent needs for an area of context, packaged so it can be versioned and shared. An evaluation generates scenarios and produces results, and a plugin is the natural place to keep them with the skill they belong to.
For this reason tessl eval run expects the generated scenarios to live inside the plugin, and the shorthand tessl eval run ./my-skill expects a directory containing a .tessl-plugin/plugin.json. If you have a standalone skill, import it into a plugin first:
tessl skill import ./my-skillGenerate scenarios
Scenarios are the tasks an agent is assessed against. Generate them from the plugin:
tessl scenario generate ./my-skillEach generated scenario is put through a feasibility check on the server. Only scenarios that pass are saved, so the generator gives you tests that actually exercise the skill rather than filler.
--count sets how many scenarios to target, and defaults to 3. Pass a higher number to cover more of what the skill claims to do. For a narrowly scoped skill the generator may return fewer than requested, because it will not save scenarios that fail the feasibility check.
tessl scenario generate ./my-skill --count 5Generation runs server-side. Check progress with tessl scenario list --mine, then download the scenarios once it completes:
tessl scenario download writes scenarios into an evals/ directory relative to your current directory. Override the location with --output, and choose whether new scenarios merge with or replace existing ones with --strategy merge (the default) or --strategy replace. Because tessl eval run ./my-skill looks for evals/ inside the plugin directory, run the download from the plugin root, or move the folder there afterwards.
The scenarios are saved with the skill, so anyone who changes it later can re-run the same scenarios and confirm it still behaves as expected.
You do not have to generate scenarios. You or your agent can write them by hand instead, as long as they sit in the plugin's evals/ directory, one scenario per subdirectory. See File formats for the structure.
Generate scenarios from your codebase
Instead of generating scenarios from a skill, you can build them from real changes in your repository, so the tasks reflect work your team actually does. Point tessl scenario generate at a repository with commit hashes or PR numbers:
Tessl analyses each diff and reconstructs the intent of the change as a task brief and a scoring rubric. The starting state has your context files stripped out, so the agent solves the task without them.
--context tells Tessl which files are context files. The patterns are saved in each scenario as the codebase fixture's exclude list. When omitted, Tessl excludes *.mdc, *.md, tile.json, .tessl-plugin/plugin.json, tessl.json, and .tessl/ by default.
To browse recent commits and choose which to turn into scenarios, use tessl repo select-commits org/repo. It accepts --keyword, --author, --since / --until, and --count, and prints a table of commit hashes to pass to generate.
Your GitHub or GitLab account must be connected in workspace settings.
Because these scenarios start from a state with your context files stripped out, pass --context again at run time with a glob matching those files. This adds a with-context variant on top of the baseline so you can measure the delta:
Match the --context glob to the files each scenario excludes. With no --context, only the baseline runs.
Run an evaluation
The agent solves each scenario twice, without the skill and with it, and a judge scores both against a per-scenario rubric. The run reports the baseline score, the with-skill score, and the difference between them. Runs can take a while; pressing Ctrl+C detaches and the run continues server-side.
Label a run to find it again later:
Read the result
A run produces output like this:
The score difference tells you what the skill is worth:
A large positive difference means the skill reliably moves the agent toward the right behaviour.
Little or no difference means the agent already did the task well without the skill, or the skill is not landing.
A small negative difference is usually normal model variance, not evidence the skill is harmful.
A large or consistent negative difference is a real sign the skill is confusing the agent or pushing it toward unhelpful behaviour, and the content needs work.
Read the per-scenario breakdown rather than just the headline average, since a strong result on one scenario can hide a weak one on another.
Outcome and activation
A standard evaluation measures outcome: with the context forced on, does the agent produce better work against the rubric. It does not test whether the agent would have loaded the skill on its own.
To measure activation, whether the agent picks up the skill itself without being told to, add --skip-forced-context-activation. A skill can score well on outcome but fail to activate, which means it would not help in practice because the agent never reaches for it.
The two flags are independent: --skip-forced-context-activation stops forcing the context so activation can be observed, and --skip-scoring skips rubric scoring. Used together they give a pure activation check.
Example activation output:
— in the Activated skills column means the skill was not selected by the agent on its own. A skill that does not activate is a description problem, best fixed with a review. A skill that activates but does not improve the outcome is a content problem to fix in the skill body.
Choose how rigorous to be
Evaluation is a toolkit, not a single fixed test. Scale the rigour to how much confidence you need.
More scenarios. Generate a higher
--countto cover more of what the skill claims to do.Repeated runs. An evaluation runs a real agent, and agents are non-deterministic, so a single run can mislead. Pass
--runs(or-n) to run each scenario several times and average out the variance. Worth doing before you publish.Different agents. Run the evaluation against more than one agent with
--agentto check the skill holds up across the models your team uses.Quality filter. Pass
--quality-checkto exclude scenarios the platform judges low-feasibility, rubric-leaking, or low-signal at run time, a stricter filter than the one applied at generation.Skip the baseline. Pass
--skip-baselineto run only the with-context variant when you do not need the comparison.Override the scorer. Pass
--scorer-agentto score with a different agent from the one solving the tasks.
Passing secrets to an evaluation
Some scenarios need external credentials, for example an API key or a database URL. The --env-file flag encrypts a local .env file client-side and injects the variables into the eval sandbox, where setup scripts and the agent inherit them:
The file uses standard KEY=VALUE lines; blank lines and # comments are ignored. The CLI rejects reserved keys at submit time, including LITELLM_ADMIN_KEY, LITELLM_MASTER_KEY, UPLOAD_WORKSPACE, DOWNLOAD_WORKSPACE, and any key prefixed AWS_, S3_, DAYTONA_, or RECIPE_RUN_. Rename conflicting keys before running.
Choosing an agent
By default an evaluation runs against claude:deepseek-v4-flash. Choose a different agent with --agent, and run tessl eval run --list-agents to print the current list. An evaluation takes a single --agent; to compare models, run it once per model.
Model
--agent value
Claude Fable 5
claude:claude-fable-5
Claude Opus 4.8
claude:claude-opus-4-8
Claude Opus 4.7
claude:claude-opus-4-7
Claude Opus 4.6
claude:claude-opus-4-6
Claude Sonnet 4.6
claude:claude-sonnet-4-6
Claude Opus 4.5
claude:claude-opus-4-5
Claude Sonnet 4.5
claude:claude-sonnet-4-5
Claude Haiku 4.5
claude:claude-haiku-4-5
Model
--agent value
Deepseek V4 Flash (default)
claude:deepseek-v4-flash
Deepseek V4 Pro
claude:deepseek-v4-pro
Kimi K2.6
claude:kimi-k2.6
Kimi K2.7 Code
claude:kimi-k2.7-code
GLM 5.2
claude:glm-5.2
Qwen3.7 Plus
claude:qwen3.7-plus
MiniMax M3
claude:minimax-m3
MiniMax M2.7
claude:minimax-m2.7
GPT OSS 20B
claude:gpt-oss-20b
GPT OSS 120B
claude:gpt-oss-120b
Nemotron 3 Ultra
claude:nemotron-3-ultra-nvfp4
Model
--agent value
GPT 5.5
codex:gpt-5.5
GPT 5.4
codex:gpt-5.4
GPT 5.4 Mini
codex:gpt-5.4-mini
GPT 5.4 Nano
codex:gpt-5.4-nano
GPT 5 Codex
codex:gpt-5-codex
GPT 5.3 Codex
codex:gpt-5.3-codex
GPT 5.2 Codex
codex:gpt-5.2-codex
Model
--agent value
Claude Fable 5
tessl:claude-fable-5
Claude Opus 4.8
tessl:claude-opus-4-8
Claude Opus 4.7
tessl:claude-opus-4-7
Claude Opus 4.6
tessl:claude-opus-4-6
Claude Sonnet 4.6
tessl:claude-sonnet-4-6
Claude Opus 4.5
tessl:claude-opus-4-5
Claude Sonnet 4.5
tessl:claude-sonnet-4-5
Claude Haiku 4.5
tessl:claude-haiku-4-5
Kimi K2.6
tessl:kimi-k2.6
Deepseek V4 Flash
tessl:deepseek-v4-flash
GLM 5.2
tessl:glm-5.2
Kimi K2.7 Code
tessl:kimi-k2.7-code
Qwen3.7 Plus
tessl:qwen3.7-plus
MiniMax M3
tessl:minimax-m3
Deepseek V4 Pro
tessl:deepseek-v4-pro
MiniMax M2.7
tessl:minimax-m2.7
GPT OSS 20B
tessl:gpt-oss-20b
GPT OSS 120B
tessl:gpt-oss-120b
Nemotron 3 Ultra
tessl:nemotron-3-ultra-nvfp4
Evaluations when you publish
Publishing a plugin to the registry runs an evaluation as part of publishing, and the results appear on the registry. The evaluation is optional: pass --skip-evals to publish without it, or --with-scenario-quality-check to apply the quality filter to the publish-time run. See Distributing via registry.
Prerequisites
Authentication, either a logged-in session, confirmed with
tessl whoamiand started withtessl login, or aTESSL_TOKENAPI key in the environment.Workspace access at Publisher level or above.
A Tessl project, so Tessl knows which repository an evaluation belongs to and your results stay tied to your codebase over time. Create one with
tessl project create <name> --workspace engteam, link an existing one withtessl project link, and repair a broken link withtessl project repair. See Projects overview.
A plugin that holds evaluations looks like this on disk:
File formats
task.md
Free-form markdown, and the only file the agent sees. Typically structured with problem, expected behaviour, and acceptance criteria sections. Edit it freely before running.
criteria.json
Defines how a solution is scored, as a weighted checklist:
Each checklist item carries a category: INTENT, DESIGN, MUST_NOT, MINIMALITY, REUSE, INTEGRATION, or EDGE_CASE. The score is the sum of awarded scores over the sum of maximum scores, as a percentage, and the grader can award partial credit.
scenario.json
Optional. Declares fixtures, included files, and setup scripts. A skill scenario can simply list include paths to copy into the working directory. A codebase scenario carries a commit fixture with the repository URL, the starting commit, and the context exclude patterns. See the configuration reference for the full schema.
Next
Codifying and enforcing your skill standards - set an organisation-wide quality bar and enforce it.
Troubleshooting reviews and evaluations - what to do when a run fails or scores look wrong.
Last updated

