By NHI Mgmt Group Editorial TeamBased on Arize: “How to improve agent skills with tracing and evals” (July 28, 2026)

TL;DR: Agent optimization can cut latency by 56%, tokens by 27%, and estimated cost by 44%, but also degrade answer completeness until tracing and fixed-dataset evals expose the regression and enable iterative recovery, according to Arize. The lesson is that agent optimisation needs measurement discipline, not transcript intuition, because efficiency gains can conceal quality loss.


At a glance

What this is: This analysis shows that agent skills can improve speed and cost while quietly reducing answer completeness, and that tracing plus fixed-dataset evals are what surface the trade-off.

Why it matters: IAM and AI governance teams need measurement disciplines that catch quality regressions before agent behaviour is tuned into a faster but less reliable operating model.


Context

Agent skills are rule sets that steer how an AI agent responds, but the real governance problem is that optimisation can change output quality in ways that are easy to miss in casual review. When teams tune behaviour for speed, brevity, or cost, they need an evaluation layer that checks whether the agent still covers the information that matters for the task.

This article is about the discipline of instrumenting agent changes before broad rollout. The identity-security relevance is indirect but real: once agents are used in operational workflows, their behaviour becomes a governed runtime concern, and the same evaluation logic used for agent quality also supports oversight of agent identity, permissions, and change control.


Key questions

Q: How should security teams test agent skill changes before production rollout?

A: Security teams should treat each skill edit as a controlled change and test it against a fixed, realistic dataset before any live deployment. The test should include the quality dimension most at risk, such as completeness, not only speed or cost. A skill that looks cleaner may still be operationally worse, so release decisions need a measurable gate.

Q: Why do agent optimisations need evaluation beyond latency and cost?

A: Because latency and cost can improve even when the agent becomes less useful. If a skill removes useful content, trims required steps, or narrows coverage, the efficiency gains are misleading. Teams need a quality metric that checks whether the agent still fulfils the task, otherwise they can ship a faster workflow that is functionally degraded.

Q: What are the signs that an agent skill is over-optimised?

A: Common signs include shorter responses, cleaner formatting, and lower token usage paired with missing task content or weaker answer completeness. The problem is often easy to miss in transcript review because the output looks more disciplined. If a change improves presentation but reduces coverage of required information, the skill is over-optimised.

Q: How does tracing improve accountability for agent behaviour changes?

A: Tracing creates a record of what changed, when it changed, and how the agent behaved under each version. That makes comparisons reproducible and gives teams evidence for why a skill revision was accepted or rejected. Without trace-level attribution, optimisation becomes a matter of opinion instead of an auditable decision.


Technical breakdown

Why agent skills change behaviour in ways transcripts hide

Agent skills are instruction bundles that bias an agent toward shorter, more structured responses, or toward other task-specific behaviours. That can improve throughput, but it also changes which content the model chooses to surface, suppress, or compress. Transcript review is weak here because humans tend to notice style first and missing substance last. In other words, the apparent cleanliness of the output is not the same thing as task completeness. The control problem is not the model alone, but the combination of skill rules, prompt scaffolding, and the evaluation criteria used to judge success.

Practical implication: treat skill edits as behaviour changes that must be measured against task-specific quality criteria before release.

Why tracing and tagged spans make agent comparisons trustworthy

Tracing turns an agent run into a structured event record, which means you can compare skill-on and skill-off paths against the same task set. Tagging spans with a flag such as skill.enabled creates a stable dimension for analysis, so differences in output are tied to the change you made rather than to noise in the prompt or dataset. This matters because agent optimisation often fails as an attribution problem before it fails as a model problem. Once the traces are comparable, regressions become visible as patterns in execution, not just as impressions from a few transcripts.

Practical implication: tag every experimental variant in trace data so evaluation is queryable rather than anecdotal.

Why completeness evals belong in agent skill governance

A completeness evaluator checks whether the response includes the information required for the task, not just whether it is short, polished, or fast. That is the right control when a skill is designed to remove filler, because the failure mode is missing substance rather than obvious factual error. Fixed datasets matter because they anchor the score to realistic interactions and make iteration repeatable. In an operational setting, this is the difference between style tuning and governed optimisation: one can be judged by feel, the other needs a measurable acceptance threshold.

Practical implication: define the quality dimension at greatest risk and score the skill against a fixed dataset before it touches live traffic.


NHI Mgmt Group analysis

Agent skill governance fails when teams treat brevity as a proxy for quality. The article shows that shorter output can look better while silently dropping required information. That is a governance problem, not a prompt-writing quirk, because optimisation changes the agent’s runtime behaviour and therefore its risk profile. Practitioner conclusion: define success as preserved task completeness, not cleaner transcripts.

Tracing is the only reliable way to make agent changes auditable. Once the skill-on and skill-off paths were tagged, the experiment became a controlled comparison instead of a subjective review. That is the core lesson for agent governance programmes: without trace-level attribution, teams cannot explain whether a change improved behaviour or merely changed presentation. Practitioner conclusion: every agent skill revision needs a traceable identity in the evaluation pipeline.

Evaluation discipline is now part of identity-adjacent control for agents. As agents take on more operational work, their permissions, instructions, and behaviour need lifecycle governance, not one-off tuning. The identity bridge is clear here: an agent that can change how it acts in production must also be governed as a runtime subject with observable state. Practitioner conclusion: pair skill evaluation with agent authorisation and change control.

Completeness is the named concept that should anchor skill optimisation programmes. The article shows that efficiency metrics alone can hide loss of task coverage, which means teams need a more durable acceptance criterion than speed. Completeness is not a nice-to-have quality metric; it is the control that determines whether a faster agent still does the job. Practitioner conclusion: make completeness a release gate, not an after-the-fact audit.

What this signals

Skill optimisation is becoming a governance problem, not just a prompt-engineering exercise. As agent skills start to shape how production workflows behave, teams need release criteria that combine efficiency and task completeness. The practical shift is to treat behaviour changes like any other controlled change: instrument them, score them, and gate them before they reach users.

Agent control planes need observable change history. The article’s key lesson is that you cannot govern what you cannot compare, and you cannot compare what you have not tagged. For practitioners, that means trace attributes, versioned skill files, and an evaluation record should sit alongside authorisation and runtime oversight as part of the same control model.


For practitioners

  • Instrument every skill change with trace tags Mark runs with explicit variant attributes such as skill on/off, prompt version, and dataset ID so comparisons can be queried and reproduced.
  • Add completeness to the evaluation stack Measure whether responses still cover the required task content, not just latency, token count, or subjective readability.
  • Use a fixed dataset that mirrors production work Build eval sets from realistic conversations and workflows so regressions appear under the same conditions the agent will face in production.
  • Set a release gate before optimisation starts Define the minimum acceptable quality threshold in advance and block deployment until the tuned skill meets it without losing the agreed efficiency gains.
  • Review agent permissions alongside behaviour changes Treat a modified skill as a runtime change that may alter how an agent uses tools, data, or delegated access in production.

Key takeaways

  • Agent skills can make outputs shorter and cheaper while silently reducing the amount of required information the agent returns.
  • Tracing and fixed-dataset evals turn an intuitive change into a measurable one, which is the only way to catch regressions early.
  • For production agent programmes, completeness has to be a release criterion, not a subjective afterthought.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Agentic AI Top 10 addresses the attack and risk surface, while NIST AI RMF and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Agentic AI Top 10ASI03 — Identity & Privilege AbuseAgent skill changes can alter how delegated behaviour is governed at runtime.
ASI08 — Cascading FailuresA degraded skill can cascade into worse downstream decisions even when efficiency improves.
Recommendation — Apply ASI03 to control agent behaviour changes that affect delegated actions and privilege use. Assess whether a skill change could trigger downstream quality loss before approving it.
NIST AI RMFMANAGE — Manage AI risksThe article is about governing AI changes through measurement and release thresholds.
Recommendation — Use MANAGE to gate agent skill changes on measurable quality and operational risk criteria.
NIST CSF 2.0PR.AA-05 — Access Permissions, Entitlements and AuthorizationsAgent behaviour changes intersect with how delegated access and runtime permissions are controlled.
Recommendation — Review agent entitlements under PR.AA-05 whenever a skill change could alter tool use or access scope.

Key terms

  • Agent Skill: A reusable package of task-specific knowledge and procedures that an autonomous agent can load when needed. In practice, it separates general awareness from operational detail, which makes enterprise context easier to govern than a single oversized prompt.
  • Completeness Evaluator: A completeness evaluator measures whether a response includes the information required for the task. It is more specific than generic quality scoring because it tests coverage against predefined criteria, making it useful when shorter outputs risk omitting essential content.
  • Trace Tagging: Trace tagging is the practice of attaching structured metadata to each run or span so experiments can be compared reliably. For AI agents, it creates provenance for prompt versions, skill states, and tool paths, which supports reproducible evaluation and release control.
  • Fixed Evaluation Dataset: A fixed evaluation dataset is a stable set of representative interactions used to score changes consistently over time. It reduces guesswork by ensuring that each version of an agent is tested against the same task conditions and quality expectations.

Deepen your knowledge

NHI Mgmt Group covers identity security, NHI governance, and agentic AI through the NHI Foundation Level course, the industry's only accredited NHI security programme. It helps practitioners connect runtime oversight, delegated access, and identity governance across modern AI systems.
NHIMG Editorial Note
Published by the NHIMG editorial team on August 18, 2026.
Updated on October 12, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org