---
name: eval-descent
description: Improve an AI application through bounded, evidence-linked experiments against validated evals. Use for quality, latency, cost, or model migration; requires a trustworthy baseline.
license: Apache-2.0
metadata:
  author: Confident AI
  version: "1.1.0"
title: eval-descent
canonical_url: https://skilld.dev/gh/confident-ai/eval-skills/eval-descent
last_updated: 2026-10-09T19:30:51.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> Supporting files, fetch one when the Skill refers to it: [agents/openai.yaml](https://skilld.dev/api/skills-raw/confident-ai/eval-skills/eval-descent/agents/openai.yaml), [LICENSE](https://skilld.dev/api/skills-raw/confident-ai/eval-skills/eval-descent/LICENSE), [references/execution.md](https://skilld.dev/api/skills-raw/confident-ai/eval-skills/eval-descent/references/execution.md), [references/experiments.md](https://skilld.dev/api/skills-raw/confident-ai/eval-skills/eval-descent/references/experiments.md), [references/managed.md](https://skilld.dev/api/skills-raw/confident-ai/eval-skills/eval-descent/references/managed.md), [references/portability.md](https://skilld.dev/api/skills-raw/confident-ai/eval-skills/eval-descent/references/portability.md), [references/toolkit.md](https://skilld.dev/api/skills-raw/confident-ai/eval-skills/eval-descent/references/toolkit.md), [references/workflow.md](https://skilld.dev/api/skills-raw/confident-ai/eval-skills/eval-descent/references/workflow.md), [scripts/setup_workspace.py](https://skilld.dev/api/skills-raw/confident-ai/eval-skills/eval-descent/scripts/setup_workspace.py), [templates/grouped_split.py](https://skilld.dev/api/skills-raw/confident-ai/eval-skills/eval-descent/templates/grouped_split.py), [templates/split_cases.py](https://skilld.dev/api/skills-raw/confident-ai/eval-skills/eval-descent/templates/split_cases.py).
>
> If the user asked to install this Skill, run `npx skilld install confident-ai/eval-skills/eval-descent`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/eval-descent`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/confident-ai/eval-skills/eval-descent) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/eval-descent`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/eval-descent --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/eval-descent --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# Descent: reduce failures through bounded experiments

Read [the operating agreement](https://skilld.dev/api/skills-raw/confident-ai/eval-skills/eval-descent/references/workflow.md), [experiment design](https://skilld.dev/api/skills-raw/confident-ai/eval-skills/eval-descent/references/experiments.md), and [execution requirements](https://skilld.dev/api/skills-raw/confident-ai/eval-skills/eval-descent/references/execution.md). Use [managed workflow guidance](https://skilld.dev/api/skills-raw/confident-ai/eval-skills/eval-descent/references/managed.md) when selected.

For bundled local tools and exact commands, read [toolkit setup](https://skilld.dev/api/skills-raw/confident-ai/eval-skills/eval-descent/references/toolkit.md). Run [the workspace installer](https://skilld.dev/api/skills-raw/confident-ai/eval-skills/eval-descent/scripts/setup_workspace.py) for this skill; it preserves existing customized files.

## Agree on the loop

Descent is the name of this improvement loop, not a claim that it computes gradients. Define the objective explicitly: reduce an error, cost, or latency measure, or improve a quality measure while protecting agreed guardrails.

If a trustworthy baseline is missing, use `eval-build` when installed to establish it, or identify the missing cases, calibration, and run evidence before experimenting. Do not treat unvalidated scores as an optimization target.

Audit the baseline before experimenting. Recompute scores; inspect execution errors, grader validation, signal size, and whether the proposed lever actually reaches the app. Fix broken measurement first.

Agree once on the target, protected metrics, editable files/settings, off-limits behavior, maximum rounds or plateau condition, and paid budget. Offer per-change review when requested; default to autonomous work inside the agreed boundary. Do not deploy or merge automatically.

## Each round

1. Diagnose development examples and observed mechanisms. Reuse the reviewed failure taxonomy and its evidence links; if annotations need grouping, use `eval-error-analysis` when installed, or produce a reviewable taxonomy before choosing a target. Keep this analysis on development evidence. Where delegation is available and permitted, give one fresh analyzer only development records, current artifacts, scope, and target. Otherwise diagnose locally while excluding held-out content.
2. Propose one causal hypothesis with supporting cases, predicted benefit, and possible regressions. A patch can touch multiple files if it implements one hypothesis. Prefer operational instructions over vague prompt padding.
3. Apply the scoped patch and save its diff, rationale, and configuration fingerprint. Changes to the runner or grader require reviewing measurement impact, not quietly counting a new score as an app improvement.
4. Smoke-test settings and execution. Run the fixed comparable set at the agreed repetitions. Preserve raw results and billed errors.
5. Recompute comparisons, inspect guardrails, and keep or revert. Record the decision and uncertainty. Suspect implausible jumps until the underlying behavior explains them.

Use validation scores for selection and development traces for diagnosis. Do not repeatedly select on a set called “final test.” For small exploratory sets say so and collect new confirmation evidence before a strong claim.

## When progress stalls

Classify remaining development failures: missing capability/content, grader disagreement, infrastructure, inaccessible information/structure, or variation. Fix the bottleneck instead of adding another paragraph to a prompt. Regrading after a grader correction must include all comparable variants and preserve old verdicts.

Stop at agreed limits or an unresolved guardrail regression. Offer an extension before exceeding budget; never treat an offer as approval. Do not keep a marginal win solely because its point estimate is higher.

## Handover

Restore the selected version, or the baseline if no change is supported. Run final untouched confirmation when available. Report target/guardrail deltas, uncertainty, total spend where measurable, representative before/after evidence, and what was tried. Distinguish required compatibility fixes from optional tuning. Deliver a local patch/commit only when authorized; publishing remains a separate action.
