Skip to content
Agentmart
Submit a tool

agent-performance-audit

Audit local Codex agent histories for a repository, record separate Claude activity coverage, compare correction and efficiency trends, and generate…

Skill by BramVR

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/bramvr-agent-performance-audit

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Audit local Codex agent histories for a repository, record separate Claude activity coverage, compare correction and efficiency trends, and generate privacy-minimized JSON plus self-contained HTML. Use for Theo-style agent audits, monthly agent-performance checks, or post-issue-batch workflow reviews.

Use cases: frontend, testing, security, productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/agent-performance-audit

What's inside

Skill name
agent-performance-audit
Description
Audit local Codex agent histories for a repository, record separate Claude activity coverage, compare correction and efficiency trends, and generate privacy-minimized JSON plus self-contained HTML. Use for Theo-style agent audits, monthly agent-performance checks, or post-issue-batch workflow reviews.
License
MIT
Instructions
70 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (4)

  • SKILL.md
  • openai.yaml · agents/
  • audit_agent_history.py · scripts/
  • test_audit_agent_history.py · scripts/

SKILL.md (first lines)

# Agent Performance Audit

Produce comparable Codex behavioral audits without copying raw conversations
into the report. Claude history contributes separate coverage counts, not the
Codex behavioral metrics. Keep source histories local and read-only.

## Run

1. Resolve the repository, an exact lowercase marker matching its repository
   basename, and an inclusive date window. The marker is a sanity check;
   histories are scoped by the target's canonical checkout path or normalized
   remote identity. Use a monthly window or the period since the previous major
   issue batch. Codex turns are included by task-start date and retained whole
   across date boundaries.
2. Use the task visualization directory for output. Identify the current audit
   task's session ID when available and pass `--exclude-session`; this validates
   that it contains a detectable audit turn but never drops the session's other
   turns. The script also detects audit turns by invocation/request markers.
3. Run:

   ```bash
   python3 <skill-dir>/scripts/audit_agent_history.py \
     --repo /absolute/repository/path \
     --marker repository-name \
     --since YYYY-MM-DD \
     --until YYYY-MM-DD \
     --output-dir /absolute/visualization/path
   ```

4. For a comparison, pass the previous generated JSON with `--baseline`.
5. Inspect aggregate results. Read raw surrounding history only for a small
   number of representative causal cases; keep those notes short and abstract.
   Never paste full messages, commands, outputs, or hidden instructions.
6. If causal notes materially improve the report, write a JSON array with
   `title`, `cause`, `control`, and `status`, then rerun with `--case-notes`.
7. Deliver the generated HTML link. Keep JSON beside it as reproducible evidence.

Run `python3 <skill-dir>/scripts/audit_agent_history.py --help` for all flags.

## Privacy Contract

- Emit aggregate counts, rates, tool categories, duration percentiles,
  category-only correction summaries, and concise causal notes only.
- Exclude injected AGENTS/skill/plugin/browser/environment/automation messages,
  explicit audit sessions, session IDs, source paths, cwd values, raw tool
  inputs/outputs, full user messages, and result excerpts.
- Redact URLs, emails, home paths, UUIDs, secret-shaped strings, and long hashes.
- Keep the HTML self-contained, script-free, under 512 KB, and free of local
  filesystem paths or private links.
- Do not upload or publish the report unless Bram explicitly requests it.

## Interpretation

- Correction detection favors precision and misses polite dissatisfaction.
- Nonzero shell output is not automatically agent error; separate test/build
  failures, probes, invocation errors, missing paths/modules, and permissions.
  Batched shell wrappers without per-command result envelopes are reported as
  uncovered and excluded from per-shell-output denominators.
- Token counts are model-accounted usage, not unique text or a billing estimate.
- Compare schema-2 datasets produced by this script for the same repository and
  matching-duration windows. Schema 2 derives each turn from cumulative Codex
  token deltas. Do not compare it directly with older one-off or schema-1 data.
- A local HTML report is diagnostic evidence, not a public performance claim.

## Cadence

Run monthly or after a major issue batch. Create a recurring automation only
when Bram explicitly requests scheduling.

From BramVR/mac-agent-scripts, MIT.

More from BramVR/mac-agent-scripts

Signals

Stars
0
Forks
0
Open issues
1
Last commit (this folder)
Aug 12, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from BramVR

Cite this page

agent-performance-audit skill. Agent Mart. https://agentmart.dev/skills/bramvr-agent-performance-audit (last updated 2026-10-24)