vale-ai-tells: Skill for Claude Code

.claude/skills/codex-analyze-session/SKILL.md

codex-analyze-session is a skill for Claude Code, Codex from tbhb/vale-ai-tells. It costs 79 tokens per session (1,199 once invoked), scanned A, original, MIT.

A skill for examining a past Codex transcript line by line without loading the entire transcript into the current conversation, then saving a retrospective to disk.

In plain words
What is it for?
Use it to review a completed coding-agent session, verify its conclusions, check figures, and record recommended fixes.
Why use it?
It helps identify failures and repeated tool calls while keeping the current session focused and preserving the review after the session ends.

Skill for Claude CodeCodex

Written for Claude Code and Codex: installed under .claude/, but also reads ~/.codex or $CODEX_HOME. Also seen: mentions Codex.

This is tbhb/vale-ai-tells's own configuration. It tells Claude Code and Codex how to work on vale-ai-tells itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything vale-ai-tells configures →

Reuse

Borrowing it

Nothing to install: this file belongs to tbhb/vale-ai-tells. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/tbhb/vale-ai-tells/main/.claude/skills/codex-analyze-session/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/tbhb/vale-ai-tells

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for codex-analyze-session

README.md
[![agentmods](https://agentmods.dev/badge/skills/tbhb/vale-ai-tells/codex-analyze-session/github.svg)](https://agentmods.dev/skills/tbhb/vale-ai-tells/codex-analyze-session)
Your own site
<a href="https://agentmods.dev/skills/tbhb/vale-ai-tells/codex-analyze-session"><img src="https://agentmods.dev/badge/skills/tbhb/vale-ai-tells/codex-analyze-session/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for codex-analyze-session

Your own site · 80×15
<a href="https://agentmods.dev/skills/tbhb/vale-ai-tells/codex-analyze-session"><img src="https://agentmods.dev/badge/skills/tbhb/vale-ai-tells/codex-analyze-session.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,199 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 4
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00079 $0.01199
Opus 5 $0.00039 $0.00600
Sonnet 5 $0.00016 $0.00240
Haiku 4.5 $0.00008 $0.00120

Measured 10d ago against content hash 736b99a3084d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

codex-analyze-session scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/new-retro.sh, scripts/preflight.sh, scripts/session.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/codex-analyze-session/SKILL.md · 87 lines

How it starts

The opening of the file, as written. The whole thing — 87 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Analyze a session

Work the steps in order. This skill ends once the retrospective exists on disk and the operator has its path. Acting on what it recommends is separate work. Use the codex-commit skill for any change that comes out of it.

Which session

Use the absolute transcript path from the user's request. A bare session ID also works when it names exactly one file under ~/.codex/sessions/.

If the user gives neither, preflight explains how to find a session. Spawn a fresh delegated agent with fork_turns: "none". Run preflight again with the path it returns. Never load session files into model context merely to locate one because the locator can stream them.

Preflight

Run bash .agents/skills/codex-analyze-session/scripts/preflight.sh <path-or-id> and read its report.

Step 0: open the task list

Create these tasks with update_plan, then move each to in_progress and completed as you go. They're the checklist the rest of this document expands.

  1. Read the lines the preflight listed
  2. Test the session's own conclusions
  3. Verify every figure with three agents
  4. Recommend fixes across the five areas
  5. Write the retrospective

Stop before any of it where preflight couldn't resolve the transcript, or reports a missing precondition. Say what's wrong and hand back.

The preflight already resolved the transcript and summarized the session. It created the retro directory at <main worktree>/.codex/retros/YYYYMMDD_<session ID>/ and copied the evidence into it. Read that report before forming any hypothesis, because it writes everything it prints to artifacts/ as well, where a later reader can check it.

.agents/skills/codex-analyze-session/references/SESSION_CLI.md documents every subcommand, for when a report needs more detail than the preflight printed.

Step 1: read the lines the preflight listed

The preflight listed the failing lines and the line ranges of each repeated sequence. Open those, and nothing else:

.agents/skills/codex-analyze-session/scripts/session.py grep <transcript> 'pattern' --context 300
.agents/skills/codex-analyze-session/scripts/session.py show <transcript> 361,408,1938

Read the full file on GitHub · 87 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 87 lines · 79 tokens per session scan A 736b99a3084d

Subscribe to this mod's changes

codex-analyze-session is a skill published in the GitHub repository tbhb/vale-ai-tells (91 stars, last pushed today), licensed MIT. It adds 79 tokens to every session and 1,199 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

anti-slop

Remove AI slop from any voice-bearing prose — original posts, threads, articles, long-form, emails, docs, READMEs, marketing copy, bios, scripts. Use when drafting text meant to sound like a specific person or brand, when rewriting text that reads generic, corporate, or AI-generated, or when asked to humanize…

aixarizzo/kill-slop · 138 tokens

kill-slop

Audit a file or draft for AI slop and off-voice lines against the author's bound voice, report findings with in-voice swaps, then apply approved fixes. Use when the user says "kill slop", "/kill-slop [file]", "find the slop in this", "audit this for slop", or wants a deck, article, page, or draft cleaned to sound like…

aixarizzo/kill-slop · 119 tokens

humanizer

Humanize and de-slop AI-sounding prose while preserving meaning, specific detail, and genuine human quirks. When a voice sample or style profile is available, rewrite in that writer's actual voice. Remove recurring AI tells such as inflated significance, stock vocabulary, uniform rhythm, excessive hedging, formulaic…

hannsxpeter/humanizer · 168 tokens

authenticity-check

Score how authentically text reads as a real human author's work, flag spans that read as AI-generated, AI-templated, or generically derivative, and run a separate read-only scan for suspicious Unicode provenance carriers. Return an authenticity band, a 0-100 score, provenance signals, and span-level reasons. Use when…

hannsxpeter/authenticity-check · 185 tokens

ai-slop-detector

Universal prose audit. Scores writing on TWO axes — AI-Slop (does this read like AI wrote it?) and Comprehension (can a fresh reader follow this?). Use PROACTIVELY as a mandatory final QA pass on ANY prose generated for humans to read — every email (internal or external), proposal, report, status update, blog post…

MahmoudHalat/slop-cop · 239 tokens

humanizer-czech

Odstraň znaky AI-generovaného psaní z českého textu. Použij při editaci nebo revizi textu, aby zněl přirozeněji a lidštěji. Detekuje a opravuje 27 vzorců včetně: nafouklého významu, propagačního jazyka, anglického slovosledu, kalků, nominalizace, monotónního rytmu, nadužívání spojek, typických českých AI klišé…

bejek/humanizer-czech · 168 tokens