Skip to content
Back to skills

Audit

ASecurity

Audit past agent sessions for wasted effort and playbook misfires - steps that added nothing, loops, rules that were skipped or followed for no benefit - and propose concrete rule changes. Use when the human asks to audit, review or measure a session, a thread, or the playbook itself.

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
ai-agentspython

Works with

  • claude code

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 11, 2026

npx -y skills add NickolasBenakis/agent-playbook --skill audit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Audit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Audit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nickolasbenakis-audit/badge)](https://www.skillsdirectory.com/skills/nickolasbenakis-audit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: audit
description: Audit past agent sessions for wasted effort and playbook misfires - steps that added nothing, loops, rules that were skipped or followed for no benefit - and propose concrete rule changes. Use when the human asks to audit, review or measure a session, a thread, or the playbook itself.
---

# Audit

The playbook is only worth what it measurably saves. This skill keeps
measuring it, one real session at a time.

## Find the transcripts

- **Claude Code**: `~/.claude/projects/<cwd with / replaced by ->/<session-id>.jsonl`.
  The newest files are the most recent sessions.
  Subagent transcripts sit next to it in `<session-id>/subagents/`; the
  summary script adds their tokens.
- **bb**: `bb thread output <id>` for the final report, `bb thread context <id>`
  for usage; Claude Code threads also have a `.jsonl` as above.
- **Codex**: `~/.codex/sessions/`.

Don't read raw transcripts whole. For Claude Code, start with the
`summarize.py` script that sits next to this file (this skill's base
directory; `~/.claude/skills/audit/` after `install.sh`):

```sh
python3 <this skill's directory>/summarize.py <session.jsonl> [...]
```

It prints duration, tokens, tool calls, skills, subagents, child threads,
failed tool calls and commands repeated 3+ times. Then read only the parts of
the transcript those numbers point to.

## What to look for

1. **Ceremony without payoff**: plan files, triage tables, child threads or
   reviews that didn't change the outcome. Compare their token cost with what
   they caught.
2. **Loops**: the same command or edit repeated, failures retried unchanged.
3. **Rule misses**: work reported red; decisions made silently (caps,
   fallbacks, interpretations not listed under "Decisions"); scope creep;
   status title not kept up to date; questions asked one at a time.
4. **Human attention spent**: every point where the human had to step in,
   repeat themselves or ask "what happened?". This is the main cost the
   playbook exists to cut.
5. **What worked**: steps that caught a real problem. Keep these.

## Output

A table, then at most 3 proposed changes to `AGENTS.md` or a skill, each with
the evidence (session, step) that motivates it:

| Finding | Evidence | Cost | Proposed change |
|---|---|---|---|

Propose, don't edit: the human decides which rules change. Prefer removing a
rule over adding one.

Files in this skill

  • SKILL.md2.3 KB
  • summarize.py5.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.