A periodical about version control, git, and the future of agentic version control.

Agent Transcript Analysis for Dead Skill Detection

Runtime transcripts reveal which agent skills are actually used versus merely installed.

· 8 min read
Cover illustration for “Agent Transcript Analysis for Dead Skill Detection”
Production Signal Integration · October 30, 2026 · 8 min read · 1,822 words

Agent transcript analysis separates skills that are installed from skills that agents actually use. Runtime records are the definitive evidence of invocation, making them the starting point for detecting dead skills. Removal, however, requires more than an empty count. Engineering teams need invocation history, paired outcome trials, and drift analysis to tell which skills are obsolete and which are still useful but hard for agents to discover.

Why agent harnesses accumulate dead skills in the first place

Dead skills are a predictable result of how skill ecosystems grow. AI coding agents such as OpenClaw use natural-language SKILL.md instructions and optional scripts to do more, in a format that multiple agent harnesses use and public registries host. Teams add these packages as they build workflows, but rarely remove them when those workflows change or retire. Addition has an immediate purpose, while removal requires evidence that a capability is no longer needed. The imbalance makes the installed inventory a record of past requirements as well as current ones.

That inventory can grow faster than manual audits can track. A skill’s continued presence does not establish continued use, and its original purpose may no longer match the work an agent receives. As workflows change, descriptions and behavior can also diverge. These packages can bloat context and widen the attack surface without helping the agent finish a task. The specific detection problem is therefore not whether a skill exists or looks complete, but whether it persists after the agent has stopped using it.

Why static scanning cannot tell you which skills are actually being used

ACES, the Agentic Continuous Evaluation of Skills framework, evaluated skills from internal enterprise repositories and public catalogs using structural checks and LLM judges. It found that the two scores correlate at Spearman ρ = 0.14. The weak correlation shows that the methods judge different things. Neither score, however, establishes whether a live agent invokes a skill. A well-formed document and a favorable judgment remain evidence about the package.

An agent may fail to discover a skill when a user asks a relevant question, read its documentation but invoke the wrong script, or encounter a collision with another skill in the workspace. A model update may silently regress previously working behavior. These failures arise during execution, when discovery, routing, and workflow following decide whether the skill helps at all.

SkillSieve finds a similar limit in how static scanners read instructions and cross-file intent, and notes that a single LLM gives no independent uncertainty signal. Better artifact analysis can still expose authoring defects.

What agent transcripts contain and why they are the authoritative record of skill invocation

An agent transcript records a session’s execution trace, including recorded reasoning steps, tool calls, inputs, outputs, and timing. Its timestamped tool-call sequence establishes which skills the agent activated through tools during that session. Where a skill’s use produces a tool call, the transcript provides the authoritative record of that invocation. Whether the skill helped is a separate question.

ACES normalizes trajectories into the Agent Trajectory Interchange Format, or ATIF, so they can be processed programmatically and compared across sessions. The framework scores six default runtime metrics, which include skill execution, behavior check, and skill efficiency. These expose differences in discovery, routing, workflow following, and tool use that document scans cannot observe. Its Skill Lift metric then measures the incremental contribution a skill makes through paired live trials with and without it.

METR analyzed 5,305 Claude Code transcripts in 2026, illustrating the scale at which recorded agent behavior can be examined. Across a meaningful corpus, a capability’s absence from tool-call sequences is a measurable signal of disuse, though not yet proof that it has no value. A Claude Code release in 2026 reduced session transcript size by up to 79×, making large-scale processing more tractable.

How to read a transcript corpus for skill utilization signals

For engineering teams, the method has three steps, which are aggregating invocation frequency, measuring task-outcome lift, and detecting declaration–implementation drift. The first step is to parse tool-call sequences across the full corpus and count appearances of each declared skill by name. The declared inventory provides the reference against which absence becomes visible. Without that comparison, analysis describes only the skills that appear and leaves unused packages outside the result. Skills with zero or near-zero invocation across enough sessions to yield meaningful counts are the first ones to consider for removal.

Teams should segment sessions by task type and agent role, because a skill used in one workflow can be irrelevant to most others without being obsolete everywhere. An aggregate count can hide that distinction. A narrow but legitimate use pattern is different from absence in sessions where the capability should have been relevant. Segmentation therefore turns a frequency result into a question about fit between the installed skill and the work assigned to that agent.

The second step is to measure Skill Lift through paired live trials with and without the target skill. ACES computes composite lift from six runtime metrics and found positive composite lift in roughly three-quarters of paired cases across production skills in its dataset. Invocation alone is not evidence of benefit. Consistently near-zero or negative lift identifies skills that are dead by outcome even when they occasionally appear in tool-call sequences. The framework’s largest process-metric gains occur in skill execution, behavior check, and skill efficiency, which help distinguish correct routing from loading a skill and misapplying it.

The third step is to compare the skill’s declaration with its implementation and observed behavior. Bidirectional graph alignment matches declared behavior to implementation behavior, then checks the other way for capabilities that the declaration does not explain. Scalable pre-deployment auditing also compares what skills claim they can do with what they can actually do. Neither replaces the runtime evidence. Instead, these comparisons can explain why a low-use or low-lift skill fails, revealing a description that no longer matches its implementation or an implementation that no longer serves the stated purpose.

Frequency identifies where to investigate, paired trials test contribution, and drift analysis helps distinguish obsolescence from a repairable mismatch. A skill absent from relevant sessions but useful in paired trials presents a discovery problem. A skill that is invoked repeatedly without positive lift has an outcome problem. A declaration–implementation gap provides a concrete repair target rather than a reason to assume the capability itself is unnecessary.

The strongest objection: absence in transcripts does not always mean a skill is dead

Some skills influence behavior without producing tool-call traces. They may serve as specification documents that the model reads, constraining outputs as behavioral priors. Invocation-frequency analysis can miss that contribution entirely. ACES also treats skill discovery as a distinct failure mode, meaning that an unused skill may be useful but inaccessible through the agent’s current routing behavior. Absence therefore establishes disuse within the recorded calls.

Paired trials test how skills help in ways that simple counts miss, while task and role segmentation helps show whether a skill went unused because it was unneeded or undiscovered. SkillSentry shows that skills can have conditional behaviors that run only when the environment is in a particular state. Ordinary sessions may never encounter those conditions, so targeted probing is needed to expose them.

What dead skills cost a running software factory beyond wasted context

Every installed skill inherits agent privileges, so an unused package is still part of the execution-time attack surface even though it serves no purpose in the work. SKILLSECURER found latent vulnerabilities in 17% of popular skills examined from skills.sh and triggered actual incidents through testing. A once-legitimate skill can retain risks already present in its package after its useful workflow has disappeared.

A skill that is dead by outcome but still receives calls can return incorrect or empty responses, creating conditions for retry loops. Agents instructed to get a pull request merged may repeatedly re-queue the same change. What would be mildly wasteful at human frequency can behave like denial-of-service when automated agents repeat it, without the engineering team recognizing the misbehaving skill as the cause.

Merge queues can amplify that cost across unrelated work. Agentic pipelines generate pull requests at rates that can exceed the queues’ designed concurrency, while a bisect strategy costs O(log n) full CI runs per failure. A misbehaving skill can contribute to that pressure, multiplying investigation and rerun work across the pull requests behind the failure.

Composable infrastructure adds another source of stale dependencies. In composable stacks, skills and infrastructure modules are co-versioned, so a retired infrastructure component may leave its skill definition in place. Transcript evidence can reveal that the skill has fallen out of use, but not fully explain the change. Version-control archaeology supplies the missing history when the infrastructure layer has moved on. That connection helps platform engineers distinguish a routing regression from a capability whose underlying component has been retired.

How to act on dead-skill findings: removal, repair, and the role of production signals

Engineering teams should act through three branches, which are removal, repair, and monitoring. Removal is appropriate when the invocation evidence, relevant paired trials, and drift investigation support obsolescence rather than a discovery failure or hidden behavioral contribution. A zero count alone is insufficient. The decision rests on whether the skill has a current role and whether its presence improves the outcomes tested. Teams should base removal on this evidence of how a skill works, regardless of how old its document is or how it looks.

Repair is the better branch when invocation gaps trace to declaration–implementation drift. The description can be updated to match the implementation, or the implementation can be changed to meet the current need. SKILLSECURER demonstrates fully agentic remediation through a blue-side agent that proposes patches to remove or neutralize injected behaviors. Non-malicious drift is a different flaw, but teams can repair it in the same way. The objective is to restore agreement between what the package promises, what it does, and what the agent needs.

Monitoring fits skills with low but nonzero use whose behavioral contribution remains uncertain, including those that function as specification documents. Teams should use frequency evidence alone to flag these for ongoing transcript analysis. A defined session-window trigger is more useful than a calendar reminder. For example, zero invocations over that window can prompt another review of relevant tasks and paired outcomes.

Production signals provide the final check on these decisions. OpenTelemetry semantic conventions for generative AI systems offer an in-development standardized schema for telemetry covering model calls, tool calls, and agent runs through spans, metrics, and events. Teams can use that observability to cross-check whether removing a candidate correlates with changes in production error rates. ACES supports continuous evaluation through a repository-native CI/CD gate that runs paired trials on pull or merge requests that change skills and reports Skill Lift as evidence for review. With that instrumentation, a previously healthy skill’s regression after a model update can become a detectable change rather than another silent addition to the dead-skill inventory.

Sources

  1. SkillSecurer: Detecting and Patching Prompt-Injection Vulnerabilities in AI Agent Skills
  2. SkillSieve: A Hierarchical Triage Framework for Detecting Malicious AI Agent Skills
  3. SkillSentry: Adaptive Honey Worlds for Dynamic Safety Testing of Agent Skills
  4. Evaluating Skills, Not Just Agents: Agentic Continuous Evaluation of Skills
  5. SkillConsist: Detecting Inconsistencies in Agent Skills via Bidirectional Graph Alignment

More in Production Signal Integration