In short.
agenttrace Session Audit is a skill for developers auditing AI coding-agent sessions, and its usefulness depends on a separate agenttrace tool and the detail available in local logs. It documents session discovery, Markdown and JSON reports, and threshold-based CI commands. Its guidance distinguishes Detailed, Aggregate and Limited evidence and treats missing measurements as unavailable. Runtime behavior, metric accuracy and compatibility were not assessed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage is complete for the supplied selected folder plugins/all-skills/skills/agenttrace-session-audit, which contains SKILL.md, together with the repository-level LICENSE outside that folder. Both sources are pinned to revision 3c9a725a1c4e41f80e224e1d4e5940f402d9bbda. The rest of buildwithclaude, the separate agenttrace implementation, its dependencies and actual session logs are excluded. No commands were executed; installation, parsing, output accuracy, privacy behavior, performance and CI enforcement remain untested.
The overview
identity
agenttrace-session-audit is an observability skill in davepoon/buildwithclaude. Its SKILL.md gives an assistant instructions for using the agenttrace command-line tool to review local AI coding-agent sessions. The skill is an instruction file; the supplied material does not include the agenttrace implementation.
The source folder is [https://github.com/davepoon/buildwithclaude/tree/main/plugins/all-skills/skills/agenttrace-session-audit]. The examined snapshot is pinned to revision 3c9a725a1c4e41f80e224e1d4e5940f402d9bbda.
assessment
The skill provides a concrete starting point for repeatable session reviews: it specifies discovery commands, report formats, individual-session inspection and example CI thresholds. Its reporting guidance helps readers prioritize costly or unreliable sessions and avoid treating incomplete logs as complete execution histories.
The evidence establishes documented instructions only. It does not establish discovery coverage, parser correctness, useful anomaly detection or reliable CI enforcement. No execution results or sample reports are supplied.
users
The intended users are developers investigating AI coding sessions and teams reviewing token consumption, reported spend, tool failures, retry loops or long gaps. CI maintainers also receive example commands for automated reporting and health gates.
Beginners get commands to start discovery and inspect a recent session. Experienced developers get JSON output and explicit gate flags, but must establish supported log formats, metric definitions and integration details separately. Compatibility with specific coding assistants is not stated.
capabilities
The documented workflow covers environment diagnosis with agenttrace --doctor, session discovery with agenttrace --overview, recent-session inspection with agenttrace --latest, and analysis of an explicit file or directory. Markdown and JSON output can be written to named report files.
The reporting focus includes tokens, costs, cache use, tool failures, retries, latency, anomalies and health scores. The description also names diffs, but supplies no diff-specific command or example. CI examples expose health, critical-finding and tool-failure-rate controls; their actual behavior is unverified.
Using it
requirements
The skill explicitly requires the agenttrace binary and prefers an installed copy available on PATH. Auditing also depends on accessible session logs or exports. The supported agents, file schemas, default discovery locations, operating systems and minimum agenttrace version are not specified.
A fallback command, cargo run -q -p agenttrace --, is documented only when the current directory is the luoyuctl/agenttrace repository and the binary is unavailable. That route requires Cargo and the relevant repository workspace; toolchain versions and build prerequisites are unknown. The skill does not explain how an assistant loads or registers it.
mechanism
The skill directs an assistant to invoke an external CLI, inspect its reports and explain the highest-risk sessions first. It supplies operational guidance rather than log-parsing code, cost calculations or health-scoring algorithms.
Before relying on latency or step evidence, the instructions require reporting the session capability level as Detailed, Aggregate or Limited. They treat Tool Steps as metadata-only evidence and warn that Aggregate or Limited sources do not establish a complete execution trace. Missing event-level measurements must remain unavailable rather than becoming zero.
setup
Setup starts with making agenttrace available and loading the skill through the chosen assistant's supported mechanism. Neither the binary installation command nor host-specific skill registration is supplied.
The documented discovery sequence is agenttrace --doctor followed by agenttrace --overview, unless a specific input was provided. A directory can be supplied with agenttrace --overview -d path/to/session-dir. If discovery finds no sessions, the skill recommends using doctor output to identify detected agent directories and the next step. It also instructs the assistant to keep private logs local and avoid overwriting existing reports without an explicit output-path request.
example
For a readable overview, the documented command is agenttrace --overview -f markdown -o agenttrace-overview.md. For machine-readable output, it is agenttrace --overview -f json -o agenttrace-overview.json. A recent session can be requested with agenttrace --latest -f json.
The example CI command is agenttrace --overview --fail-under-health 80 --fail-on-critical --max-tool-fail-rate 15. It requests a health floor of 80, failure on critical findings and a tool-failure-rate ceiling of 15. The source does not define the rate unit, health formula, critical criteria or exact exit codes. These commands are documented examples; no resulting output or pass/fail outcome is supplied.
Assessment & evidence
limitations
The supplied file contains no parser implementation, supported-format list, sample logs, expected outputs, performance measurements or scoring definitions. Installation success, agent compatibility, diagnostic coverage and metric accuracy remain unverified.
A local-only privacy rule appears in the instructions, but it does not establish the external tool's network behavior or data handling. Aggregate and Limited sources may lack the events needed to substantiate latency or detailed step claims. Missing fields constrain what any resulting report can conclude.
reasoning
The capability-level rule is central to interpreting the audit: incomplete event records cannot substantiate a complete timeline, zero failures or zero latency. Reporting unavailable fields explicitly helps prevent incomplete logs from producing misleading reassurance.
The CI examples provide a starting configuration, but adopting their thresholds requires understanding input coverage and score meaning. The file supplies no rationale for the values 80 and 15, so their suitability for a particular team's sessions is unknown.
alternatives
Developers can invoke the documented agenttrace commands directly; loading this skill adds instructions about reporting priorities, evidence limits and private-data handling. Whether that guidance improves report quality has not been assessed.
Within the documented workflow, Markdown serves human-readable reporting, JSON supports downstream processing, and latest-session or explicit-path commands narrow the audit scope. The supplied material does not document competing tools, so comparative capability and cost claims are unavailable.
evidence
The resource evidence consists of the complete SKILL.md and the repository's root LICENSE at revision 3c9a725a1c4e41f80e224e1d4e5940f402d9bbda. The original skill file is [https://raw.githubusercontent.com/davepoon/buildwithclaude/3c9a725a1c4e41f80e224e1d4e5940f402d9bbda/plugins/all-skills/skills/agenttrace-session-audit/SKILL.md].
These sources establish the instructions, example commands and redistribution notice. They provide no agenttrace implementation, execution results or independent measurements establishing that the commands work as described.
Access & freshness
costs
No purchase price, subscription requirement or operating-cost estimate is stated for the skill or the separate agenttrace tool. Those costs are unknown.
The skill asks for token and cost analysis, but provides no prices, costing formula, supported billing sources or example measurements. It explicitly allows cost to be unavailable when a parser cannot infer it. A reported cost therefore needs its underlying data and calculation method established before it can support spending decisions.
rights
The skill declares MIT, and the repository LICENSE identifies copyright 2025 davepoon. The notice permits use, copying, modification, publication, distribution, sublicensing and sale, provided the copyright and permission notices accompany copies or substantial portions. It supplies the material without warranty and disclaims liability.
The original notice is available at [https://raw.githubusercontent.com/davepoon/buildwithclaude/3c9a725a1c4e41f80e224e1d4e5940f402d9bbda/LICENSE]. The separate agenttrace implementation and its dependencies are outside the supplied material, so their licence terms are not established here.
freshness
The supplied snapshot was captured on 16 November 2026 at 17:48:08.407 UTC and is pinned to revision 3c9a725a1c4e41f80e224e1d4e5940f402d9bbda. The file states no skill release number, supported agenttrace version or compatibility matrix.
Later changes to the main-branch folder or the external CLI are unknown. Compatibility between these instructions and any particular installed agenttrace version has not been assessed.
actions
Obtain the original skill file and retain its accompanying MIT notice when redistributing it. Establish the agenttrace installation method, supported session formats and assistant loading mechanism before relying on the workflow.
Begin with diagnosis and discovery, then inspect a known session and its capability level. Confirm how missing fields, costs and health scores are represented before enabling CI thresholds. Keep session contents local, choose report paths deliberately and calibrate gate values against the sessions being audited.
