Four illustrated steps show AI skill quality improving from 5.50 to 8.50, then declining to 8.43 and 8.35 as readability, completeness, accuracy and consistency trade off.

When Improving AI Skills Makes Them Worse

Multi-objective prompt optimisation and the importance of knowing when to stop.

I was getting increasingly irritated while optimising an AI skill that reviews and improves the text in technical design documents. I evaluated the skill on four quality aspects, each on a scale from zero to ten.

Getting the scores above eight was relatively straightforward. Improving them further became frustrating. Every time I improved one aspect, another seemed to suffer. Improving readability reduced technical completeness, while improving technical accuracy made the text harder to read. The overall quality score often ended up lower than before.

The AI agent always found something to improve. It simply didn’t know when to stop.

Quick Take

Optimising AI skills across multiple quality objectives can introduce regressions when improving one aspect compromises another. Multi-objective prompt optimisation, combined with predefined improvement thresholds and regression testing, provides a practical approach to managing this risk. By separating experimentation from production acceptance, AI developers can continue exploring better prompts without introducing unnecessary complexity or functional drift. An optimisation agent should also recognise when no further changes are justified.

The AI skill optimisation trap

A skill that reviews technical design documents needs to balance readability, completeness, technical accuracy and consistency. These objectives can conflict, particularly when an AI agent is instructed to optimise them individually. The following illustrative sequence shows what can happen when the agent repeatedly focuses on individual quality aspects:

Prompt modificationReadabilityCompletenessAccuracyConsistencyAverage
Original prompt8.58.58.58.58.50
Simplify technical language9.37.78.28.58.43
Restore technical details7.59.48.77.88.35
Improve consistency8.48.27.69.48.40
Strengthen technical validation7.98.59.57.58.35

Illustrative evaluation scores rather than actual benchmark results.

Each modification addresses a legitimate concern, yet after four optimisation cycles the overall quality has deteriorated. As additional instructions and exceptions accumulate, the skill can become more complex and its behaviour can drift away from its original purpose. To illustrate what this means in practice, consider a requirement from a hypothetical technical design document describing a disaster recovery architecture:

The secondary environment must restore service within 30 minutes, following manual authorisation of the failover procedure.

An AI skill instructed to simplify the technical language and improve readability might rewrite this requirement as follows:

The secondary environment automatically restores service within 30 minutes.

Although the revised sentence is shorter and easier to read, it describes a different architecture. The original requirement makes restoration dependent on manual authorisation, whereas the new wording introduces automatic behaviour and removes that explicit prerequisite. It also turns an obligation into a statement about what the system does. Readability has improved at the expense of technical accuracy, with potentially serious operational consequences.

In software engineering, we would investigate this as a regression. In AI engineering, we sometimes call it continuous improvement.

Multi-objective prompt optimisation

While looking for a solution, I came across an established research field called multi-objective prompt optimisation: improving AI prompts while considering multiple, potentially conflicting quality objectives simultaneously. The research paper GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learning explores reflective prompt updates and Pareto-based selection to combine complementary lessons from experimental candidates. These methods help us explore trade-offs rather than relying exclusively on a single aggregate quality score.

Finding a promising candidate is only part of the problem. We still need to decide whether it deserves to replace the existing skill. The statistical concept of the Smallest Effect Size of Interest (SESOI) helps establish how large an improvement must be before it becomes practically meaningful.

An evidence-based approach to skill optimisation combines baseline-versus-candidate evaluation with meaningful improvement thresholds and regression gates. Multi-objective optimisation helps us search for better solutions; the acceptance gates determine whether the evidence justifies promoting a candidate to production without compromising critical functionality. This is a practical engineering recommendation, not a separately validated research method.

How to optimise an AI skill without introducing regressions

Returning to the technical design review skill, suppose we require an overall improvement of at least 0.3 points, no deterioration greater than 0.1 points in any individual quality aspect and no critical functional regressions.

Prompt modificationReadabilityCompletenessAccuracyConsistencyAverageDecision
Original prompt8.58.58.58.58.50Retain
Simplify technical language9.37.78.28.58.43Reject
Minor wording changes8.68.58.58.58.53Reject
Preserve technical requirements during rewriting9.08.69.18.78.85Accept*

Illustrative scores and thresholds. Acceptance requires sufficiently reliable evaluation results and successful regression tests. The thresholds are not universal standards.

The first candidate is rejected because its gains in readability come at the expense of completeness and accuracy. The minor wording change does not meet the minimum improvement threshold. The final candidate addresses a specific functional problem: before rewriting a paragraph, the skill identifies the technical requirements, architectural decisions, constraints and assumptions that must be preserved. Our earlier example could now become:

After manual failover authorisation, the secondary environment must restore service within 30 minutes.

This wording retains both the manual authorisation prerequisite and the obligation to restore service within 30 minutes. An average score is useful for comparison, but it should never conceal a critical defect. Mandatory technical, security and compliance requirements must remain separate acceptance criteria. Fixing a critical defect may also justify a change without increasing the average score.

Keep experimenting, but protect production

Rejecting a proposed change for production does not mean abandoning it as an experiment. An optimisation agent should be able to explore alternative prompts and combine smaller, complementary improvements, as illustrated by GEPA. The important distinction is that experimental candidates must not automatically become the new production baseline.

This is familiar territory for software engineers. We experiment in development branches, evaluate the results and promote changes when they satisfy the acceptance criteria. AI skills deserve the same discipline. In Your AI Agent Is Software. Treat It Like Software., I discuss how version control, testing and controlled deployment apply to production AI agents.

A practical Markdown instruction for AI skill optimisation

The following instruction can be added to the SKILL.md of an AI agent responsible for reviewing and optimising other skills. It requires an actual evaluation process and does not replace one.

## Multi-Objective Optimisation and Regression Control

Only promote changes that demonstrate a material,
measurable and practically relevant improvement.

### Evaluation
- Establish a validated baseline.
- Identify a specific functional improvement.
- Define quality dimensions, improvement thresholds,
  regression limits and an evaluation budget upfront.
- Create the smallest effective candidate change.
- Evaluate baseline and candidate under equivalent
  conditions using representative test cases.
- Account for evaluation variability.
- Reserve independent test cases for final acceptance.

### Experimentation
- Explore alternative prompts and quality trade-offs.
- Retain promising experimental candidates.
- Combine complementary incremental improvements.
- Keep experiments separate from production.

### Acceptance
Promote a candidate only when:
- Reliable evidence meets the improvement threshold.
- All protected quality dimensions remain within
  their acceptable regression limits.
- All mandatory functional and governance checks pass.
- Existing functionality and scope are preserved.
- Additional complexity is justified by evidence.

Evaluate critical defect corrections separately.
Compare against the current version and an approved
reference baseline to detect cumulative functional drift.

### Stop conditions
Stop the optimisation cycle when:
- No material improvement can be demonstrated
  within the evaluation budget.
- Remaining differences are cosmetic or subjective.
- Improvements fall within evaluation uncertainty.
- Successive changes repeatedly reverse each other
  without producing meaningful progress.

Do not invent improvements to satisfy a review request.

Return one of:
ACCEPT | REJECT | NO_CHANGE | INSUFFICIENT_EVIDENCE

NO_CHANGE is a valid and successful outcome.

The evaluation process itself needs to be reliable. Research into LLM-as-a-Judge identifies several biases in AI-generated evaluations, including preferences related to response length and presentation order. Repeated scoring alone does not eliminate these biases. OpenAI’s practical guide, Testing Agent Skills Systematically with Evals, provides a useful starting point for combining deterministic checks with qualitative evaluation.

Knowing when to stop

This problem extends beyond technical documentation. Marketing skills need to balance persuasiveness with factual accuracy, tender review skills must balance conciseness with requirement coverage, and software engineering agents need to consider performance alongside maintainability.

As AI agents increasingly become responsible for maintaining and improving other agents, optimisation itself needs engineering discipline. The number of modifications an agent makes tells us very little about the value it delivers. Continuous improvement does not require continuous modification.

Incidentally, this article was also optimised using the approach described above. Its successive drafts were assessed across multiple quality dimensions, with revisions focused on meaningful improvements while preserving the original argument and personal experience. The assessment was editorial rather than a controlled scientific benchmark.

And at some point, we decided to stop.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.