Skill Usage Auditor
Overview
Audit the visible execution trail of a skill and convert it into a practical improvement report. Focus on how the work flowed: commands, tools, decisions, repeated procedures, validation steps, and where the skill could remove future friction.
Do not claim access to private reasoning. Base the audit on visible conversation text, tool traces, terminal output, files, transcripts, or artifacts the user provides.
Inputs
Use the current conversation when it contains enough evidence. Also accept exported transcripts, copied chat logs, terminal logs, automation memory files, skill folders, or individual SKILL.md files.
If evidence is incomplete, audit the visible portion and mark gaps explicitly. Ask for more material only when the missing context prevents a useful audit.
For a deeper pass or when the user asks for a checklist-style audit, load references/audit-checklist.md.
Workflow
Define the audit scope:
- Identify the target skill or skills.
- Identify the user's goal for the original task.
- Identify the available evidence: conversation, tool traces, files, logs, web pages, generated artifacts.
- State any important gaps.
Build a timeline:
- List the main phases in order.
- Capture skills invoked, tools used, shell commands, file reads, file edits, approvals, validations, and failures.
- Mark each item as observed, inferred, or missing when confidence matters.
Map commands and tool use:
- For shell commands, record the exact command when short and relevant; otherwise summarize the command family and purpose.
- For tool calls, record the namespace/tool name, purpose, and important parameters.
- For app or browser work, record the target, action, and result.
- For file edits, record the path and why it changed.
Extract the procedure:
- Group timeline items into repeatable stages.
- Identify decision points, prerequisites, fallbacks, validation checks, and manual heuristics.
- Separate one-off context gathering from reusable workflow steps.
Find repetition and friction:
- Repeated searches, reads, curl calls, parsing steps, copy-paste transformations, file templates, validation commands, approvals, or manual comparisons.
- Places where the agent had to rediscover stable knowledge.
- Brittle steps caused by ambiguous triggers, missing criteria, missing examples, missing scripts, or unclear output expectations.
- Validation gaps where the result was trusted without a concrete check.
Propose improvements:
SKILL.md updates for clearer triggers, scope, workflow order, decision rules, and output format.
references/ files for criteria, examples, schemas, source lists, or report templates that should not bloat SKILL.md.
scripts/ for deterministic or repeatedly rewritten operations.
assets/ for reusable output templates, boilerplate, or static resources.
agents/openai.yaml updates when display text, default prompt, or implicit invocation policy is stale.
- Automation candidates when the repeated task is recurring, while leaving creation to the user unless explicitly requested.
Prioritize:
- Rank improvements by impact, implementation effort, and risk.
- Prefer small, concrete changes that remove repeated work from the next run.
- Call out any changes that need user approval before editing a live skill.
Output Format
Use a concise report with these sections:
- Scope: target skill, original task goal, evidence used, gaps.
- Timeline: phases with commands, tools, files, and validations.
- Procedure Map: reusable stages and decision points.
- Repetition And Friction: where time or attention was spent repeatedly.
- Improvement Backlog: prioritized changes with rationale and suggested skill resource type.
- Next Patch: the smallest high-value edit to make first, if the user wants implementation.
Keep the report operational. Avoid generic advice; tie every recommendation to an observed command, procedure, gap, or repeated step.
1---2name: codex-ops-skill-usage-auditor3description: Audit how a Codex skill was used in a conversation or transcript, mapping invoked skills, shell/tool commands, app/browser/web calls, file edits, procedures performed, repeated steps, friction points, and concrete opportunities to improve the skill workflow. Use when the user asks to audit, review, varrer, analisar, or mapear uso de skill; list commands or procedures used by a skill; reduce repetitive work after a skill run; or turn a conversation into skill improvements.4---56# Skill Usage Auditor78## Overview910Audit the visible execution trail of a skill and convert it into a practical improvement report. Focus on how the work flowed: commands, tools, decisions, repeated procedures, validation steps, and where the skill could remove future friction.1112Do not claim access to private reasoning. Base the audit on visible conversation text, tool traces, terminal output, files, transcripts, or artifacts the user provides.1314## Inputs1516Use the current conversation when it contains enough evidence. Also accept exported transcripts, copied chat logs, terminal logs, automation memory files, skill folders, or individual `SKILL.md` files.1718If evidence is incomplete, audit the visible portion and mark gaps explicitly. Ask for more material only when the missing context prevents a useful audit.1920For a deeper pass or when the user asks for a checklist-style audit, load `references/audit-checklist.md`.2122## Workflow23241. Define the audit scope:25 - Identify the target skill or skills.26 - Identify the user's goal for the original task.27 - Identify the available evidence: conversation, tool traces, files, logs, web pages, generated artifacts.28 - State any important gaps.29302. Build a timeline:31 - List the main phases in order.32 - Capture skills invoked, tools used, shell commands, file reads, file edits, approvals, validations, and failures.33 - Mark each item as observed, inferred, or missing when confidence matters.34353. Map commands and tool use:36 - For shell commands, record the exact command when short and relevant; otherwise summarize the command family and purpose.37 - For tool calls, record the namespace/tool name, purpose, and important parameters.38 - For app or browser work, record the target, action, and result.39 - For file edits, record the path and why it changed.40414. Extract the procedure:42 - Group timeline items into repeatable stages.43 - Identify decision points, prerequisites, fallbacks, validation checks, and manual heuristics.44 - Separate one-off context gathering from reusable workflow steps.45465. Find repetition and friction:47 - Repeated searches, reads, curl calls, parsing steps, copy-paste transformations, file templates, validation commands, approvals, or manual comparisons.48 - Places where the agent had to rediscover stable knowledge.49 - Brittle steps caused by ambiguous triggers, missing criteria, missing examples, missing scripts, or unclear output expectations.50 - Validation gaps where the result was trusted without a concrete check.51526. Propose improvements:53 - `SKILL.md` updates for clearer triggers, scope, workflow order, decision rules, and output format.54 - `references/` files for criteria, examples, schemas, source lists, or report templates that should not bloat `SKILL.md`.55 - `scripts/` for deterministic or repeatedly rewritten operations.56 - `assets/` for reusable output templates, boilerplate, or static resources.57 - `agents/openai.yaml` updates when display text, default prompt, or implicit invocation policy is stale.58 - Automation candidates when the repeated task is recurring, while leaving creation to the user unless explicitly requested.59607. Prioritize:61 - Rank improvements by impact, implementation effort, and risk.62 - Prefer small, concrete changes that remove repeated work from the next run.63 - Call out any changes that need user approval before editing a live skill.6465## Output Format6667Use a concise report with these sections:6869- **Scope**: target skill, original task goal, evidence used, gaps.70- **Timeline**: phases with commands, tools, files, and validations.71- **Procedure Map**: reusable stages and decision points.72- **Repetition And Friction**: where time or attention was spent repeatedly.73- **Improvement Backlog**: prioritized changes with rationale and suggested skill resource type.74- **Next Patch**: the smallest high-value edit to make first, if the user wants implementation.7576Keep the report operational. Avoid generic advice; tie every recommendation to an observed command, procedure, gap, or repeated step.