Skip to content
Skills Library
AI & agents · Building & coding

improve

/improve

Use to fix the AI agent's code, improve the agent (or LLM app, chatbot or pipeline) against its evaluations, compare prompts, models or settings for it, reduce its cost or latency while preserving behavior, or check a change to it for regressions ("fix this crash in the agent", "make the agent pass X", "compare these two prompts for the agent", "does this change help the agent", "make it cheaper", "did this change break the agent"). Not for general code bugs outside an AI agent. For an ongoing loop that also learns from new traces, use the loop skill. To only run evaluations, use the eval skil

Licence
Apache-2.0
Last repository change
12.11.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
7
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 12.11.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Use to fix the AI agent's code, improve the agent (or LLM app, chatbot or pipeline) against its evaluations, compare prompts, models or settings for it, reduce its cost or latency while preserving behavior, or check a change to it for regressions ("fix this crash in the agent", "make the agent pass X", "compare these two prompts for the agent", "does this change help the agent", "make it cheaper", "did this change break the agent"). Not for general code bugs outside an AI agent. For an ongoing loop that also learns from new traces, use the loop skill. To only run evaluations, use the eval skil

Triggers from the description

fix this crash in the agentmake the agent pass Xcompare these two prompts for the agentdoes this change help the agentmake it cheaperdid this change break the agent
Original author description

Use to fix the AI agent's code, improve the agent (or LLM app, chatbot or pipeline) against its evaluations, compare prompts, models or settings for it, reduce its cost or latency while preserving behavior, or check a change to it for regressions ("fix this crash in the agent", "make the agent pass X", "compare these two prompts for the agent", "does this change help the agent", "make it cheaper", "did this change break the agent"). Not for general code bugs outside an AI agent. For an ongoing loop that also learns from new traces, use the loop skill. To only run evaluations, use the eval skil

How it works

  1. Choose the verification path first
  2. Establish the improvement agreement
  3. Done when
  4. Shared rules
  5. Additional rules for measured improvement
  6. Choosing among candidates
Original SKILL.md headings · 113 lines, 992 words
SKILL.md preview
---
name: improve
description: Use to fix the AI agent's code, improve the agent (or LLM app, chatbot or pipeline) against its evaluations, compare prompts, models or settings for it, reduce its cost or latency while preserving behavior, or check a change to it for regressions ("fix this crash in the agent", "make the agent pass X", "compare these two prompts for the agent", "does this change help the agent", "make it cheaper", "did this change break the agent"). Not for general code bugs outside an AI agent. For an ongoing loop that also learns from new traces, use the loop skill. To only run evaluations, use the eval skill.
---

# Improve the agent

Goal: a verified improvement against the agreed objective with its guardrails held, or a clear
account of why no change was kept.

## Choose the verification path first

- **Direct deterministic fix:** repository tests can reproduce and verify a code defect or missing
  deterministic capability. Use relevant project checks and existing agent evals when needed. No
  harness, frozen suite or optimization loop is required for this path. Review the diff
  proportionally. A unit test of prompt loading does not prove better agent behavior.
- **Measured improvement:** claims about agent performance need comparable behavioral evidence.
  Inspect existing runners, tests and results first. Read `relai/README.md`, or the bundled
  [terms](../start/template/README.md#terms) when absent. Use the [start skill](../start/SKILL.md)
  only when you need RELAI's managed records or checkers, and the [eval skill](../eval/SKILL.md)
  only for missing measurement capabilities or coverage. Reuse working project infrastructure.
  Follow [improve-loop](references/improve-loop.md), and [cost-latency](references/cost-latency.md) for a cost or latency
  objective.
- **Check a change:** use the relevant available checks and state uncovered behavior. For an
  existing agent suite, follow [regression](references/regression.md); do not build unrelated infrastructure.

An existing-results assessment may finish with a recommendation and evidence limits, without a
candidate or new run. Read only the guidance needed for that assessment; do not start an experiment
merely to complete the flow. Across all paths, maintain useful knowledge under the
[shared policy](../start/template/README.md#maintain-useful-knowledge), respecting read-only work.

## Establish the improvement agreement

Reuse existing instructions or a loop contract that cover the agreement (`relai/README.md`,
Terms). Ask only for missing consequential choices, conflicts, or work outside it. For a new
measured-improvement agreement, settle before editing:

- **Objective and guardrails:** behavioral success, lower cost, or lower latency; the targeted
  tests and measures; the required improvement and the guardrails' bounds. Unrelated
  issue-specific tests are guardrails, not targets. Do not invent a weighted objective for
  conflicting goals.
- **Scope:** allowed agent files, model and settings changes, any supporting process improvements,
  and off-limits surfaces.
- **Budget and evidence:** the decision to support, the relevant task distribution, measurement
  effort and estimated spend ([eval: measure](../eval/references/measure.md)). No universal repetition
  count applies.
- **Check-ins and delivery:** rounds or stopping rule; a branch or worktree for review by
  default, or the user's working tree if already authorized.

For managed measured work, record the agreement in `relai/records/improve/plan.json` (`relai/docs/files.md`),
or use the covering loop contract. Existing project records may serve the same purpose when they
preserve the agreement and evidence. Record consequential user choices alongside that agreement.
Tell the user when the authorized budget is exhausted, and ask before exceeding it.

In an eval project for coding agents, the thing improved is a team's setup (`relai/setups/<id>/`:
instruction files, skills, hooks) rather than code in this repository: the scope is those files,
each candidate is measured as a variant of the frozen tasks
([comparing](../coding-evals/references/comparing.md)), and everything below applies unchanged.

## Done when

- Direct fix: the correction has relevant repository evidence and a proportional diff review, and
  you reported the verified behavior, checks, delivery location and remaining uncertainty.
- Regression check: you reported relevant before/after evidence, regressions and uncovered
  behavior, or explained a missing test or baseline rather than implying complete coverage.
- Measured improvement:
  - Baseline and candidate runs are comparable; test selections and sampling, including baseline
    reuse, differing counts and unmatched cases, are recorded. Candidates stay within the agreed
    scope; changes to supporting tooling follow the shared
    [adaptation policy](../start/template/README.md#adapting-supplied-implementations), preserving
    measurement meaning or restoring comparable evidence before claiming improvement.
  - Evidence supports meaningful improvement on the objective, guardrails hold, and the predicted
    mechanism is exercised.
  - A fresh review ([review-change](references/review-change.md)) of the delivered diff and its evidence found
    nothing blocking. Any later change to the delivered revision is reviewed again.
  - Every attempted change is recorded in `relai/changes.md` or the project's equivalent history;
    update `relai/STATUS.md` when using managed state. You reported the objective, before/after evidence, remaining failures, candidates tried, selection
    basis, spend, delivery location and evidence limits, or why no change survived.

## Shared rules

Use the evidence appropriate to the selected path: repository tests and error reports can establish
a deterministic fix; claims about agent performance need behavioral measurements. Adapt the
suggested methods to the request while preserving authorization and honest evidence.

- Confirm changed mechanisms are loaded on the real product path. Check opposite-direction
  behavior, newly exposed downstream behavior, and other users of shared code or instructions;
  otherwise scope the change and conclusion to the behavior actually tested.
- A crash in the agent's own code is a defect you may fix within scope. Distinguish it from failures
  of the measurement infrastructure.
- Consider better observability, evaluation signals or faster feedback when they materially help
  the requested outcome. The skill grants no additional authorization: proceed with covered
  implementation work, but explain the benefit, effort and tradeoffs and ask before broadening the
  assignment or resolving an uncovered consequential choice. Keep unrelated ideas as follow-ups.
  A faster feedback runner is not evidence of a faster agent; separate the claims.

## Additional rules for measured improvement

- Diagnose from development trajectories only (`relai/README.md`, Terms). On a benchmark, record
  runs with `benchmark.py record`.
- Choose the next useful experiment yourself and state its purpose and attribution limits. No
  test inputs, expected answers, evaluator wording or case-specific bypasses in the agent;
  general in-scope capabilities are legitimate ([improve-loop](references/improve-loop.md), Authenticity).
- Separate runtime failures and evaluator errors from behavioral scores; investigate and rerun
  missing evidence when useful and authorized; otherwise report the limits rather than implying
  the missing evidence supports a conclusion. Summarizer notices inform this judgment; successful
  execution of a comparison does not establish comparability.
- Stop optimizing against a suspected bad test; investigate it through the `eval` skill separately,
  record justified repairs under the *Frozen tests* rule (`relai/README.md`; `freeze.py
  --begin-repair` once the repair is agreed) and establish comparable measurements before resuming. A low score
  alone does not establish a test defect. No change kept is a valid result.

## Choosing among candidates

For several alternatives, follow [candidate-selection](references/candidate-selection.md). When what to investigate
next is unclear, [prioritization](references/prioritization.md) offers an optional suggestion.
Files in this package (7)
  • SKILL.md 8 KB
  • references/candidate-selection.md 2 KB
  • references/cost-latency.md 3 KB
  • references/improve-loop.md 12 KB
  • references/prioritization.md 2 KB
  • references/regression.md 3 KB
  • references/review-change.md 5 KB

Versions

RepositoryScoreLicence
This page · relai-ai/agent-eval-loop100Apache-2.0
terencebristol/terencebristol-toolkit100MIT
spencerbeggs/effected100MIT
crbnos/carbon100AGPL-3.0
zixwei/AI-Fleet-skills100MIT
notque/vexjoy-agent100MIT
motiondivision/motion100MIT
jeremylongshore/tons-of-skills-marketplace100MIT
nextwork-projects/ai-video-editor-cooked100MIT

Database snapshot: 13.11.2026 · package version 642f57d1dfa4 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100loop
    Use to improve the AI agent in this repository continuously from traces, feedback and evaluations ("improve this agent from ./traces", "keep improving it as new traces come in", "run the improvement loop", "make it better and cheaper with as little of my time as possible"). Not…
  • 100understudy
    Use when a developer asks a coding agent to improve an LLM app or agent — "make my LLM app cheaper/faster", "raise quality or reliability", "compare models", "pick a model or route". Orchestrates trace → evaluate → optimize (GEPA, automatic prompt evolution) → compare → deploy…
  • 90agent-studio-evaluations
    Evaluate and improve Algolia Agent Studio agents with the algobot CLI: run Agent Studio evaluations, read pass rates and judge verdicts, create evaluation datasets (including importing the agent's real conversation history as eval cases), compare agent versions before and after…
  • 90discover
    Use to learn what the AI agent (or LLM app, chatbot or pipeline) in this repository must do and where it can fail - requirements, risks and open questions - from its code, prompts and docs, and from traces, transcripts or logs of real runs when there are any ("what could go…
  • 95Evals
    Objective eval metrics via code/model/human graders with pass@k/pass^k scoring. USE WHEN eval, evaluate, test agent, benchmark, verify behavior, regression test, capability test, run eval, compare models, compare prompts, create judge, create use case, view results, failure to…
  • 95meta-eval
    Use when the user wants to build an evaluation system for an LLM/agent application but doesn't know where to start — they have traces, prompts, RAG pipelines, or nothing at all. Also use when the user mentions evaluation, eval, benchmarking, testing LLM quality, measuring agent…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.