skill-audit
Skill Audit
Overview
Audit installed Codex surfaces before proposing new ones.
Treat the installed surface portfolio as the primary subject by default. Supported target kinds are:
- standalone skill
- plugin package
- bundled plugin skill
Prefer updating, merging, or disabling existing surfaces before recommending new ones. Treat project-local specializations as a last resort.
Default full-scope audits should stay workflow-first and mixed. Start from the current workflow, repo docs, named tasks, and relevant local surfaces, then widen only when the workflow or named target requires it.
This skill is Codex-dependent. It may use Codex prompt context, Codex memory artifacts, rollout summaries, and session JSONL when those are available. Treat those surfaces as evidence only; the editable source of truth lives in the owning checkout or install root.
If the user explicitly names one or more targets, such as audit skill $foo,
audit plugin $gitstack, or audit [$gitstack:yeet](...), treat those named
targets as the required audit scope and resolve them before any broader
workflow discovery.
Treat skill-audit self-audit as opt-in only. Unless the user explicitly
names skill-audit, do not audit it, do not add it implicitly because it
appears relevant, and do not include it in the audited set.
In full-portfolio audits, exclude skill-audit from the audited set by
default. After presenting the suggestions for the other audited targets,
explicitly ask the user whether they want a follow-up audit of skill-audit
too.
Target Resolution
- Resolve user-provided scope first.
- If the user names one or more targets explicitly, those names define the primary audit target set.
- Accept singular or plural phrasing such as
audit skill $foo,audit plugin $bar,audit [$gitstack:yeet](...), orreview only $foo.
- Detect target kind before going deep.
- Treat a standalone skill root or skill path as
skill. - Treat a plugin root or plugin name as
plugin. - Treat a bundled skill under a plugin package or cache snapshot as
bundled plugin skill.
- Treat a standalone skill root or skill path as
- Keep targeted audits targeted.
- If the user names specific targets, do not expand to a wider portfolio scan.
- In that mode, never auto-include
skill-audit; include it only when it was explicitly requested. - Only bring in non-requested targets when needed to explain overlap, merge candidates, or ownership conflicts.
- Keep full-portfolio audits scoped too.
- When auditing the installed portfolio, do not auto-include
skill-auditin the findings. - After presenting the non-
skill-auditrecommendations, ask the user whether they want to auditskill-audittoo.
- When auditing the installed portfolio, do not auto-include
- Be explicit about misses.
- If a named target cannot be resolved, say so clearly.
- Do not silently substitute a near match or widen the audit scope.
Reference Routing
After detecting the target kind, open the matching workflow reference:
references/standalone-skills.md- Use for standalone project-local, shared, or global skills.
references/plugins.md- Use for plugin package audits.
references/bundled-plugin-skills.md- Use for bundled plugin skills.
- When auditing a bundled plugin skill, also inspect the owning plugin
package, including
.codex-plugin/plugin.json.
references/cache-resolution.md- Use whenever a target path lives under
~/.codex/plugins/cache/...or when a bundled target's editable owner is unclear.
- Use whenever a target path lives under
Open only the references needed for the current target and questions. Do not bulk-load all reference files by default.
Shared Evidence Rules
- Start from relevant local surfaces first, then widen only when needed.
- Search the memory index first, then open only the 1-3 most relevant rollout summaries.
- Check cheap maintenance signals such as
git logand adjacent docs before deep session scans. - If the audit is making a behavior, correctness, false-positive, false-negative, or low-value claim and raw sessions exist, inspect at least one representative session trace when practical.
- If representative invocation evidence cannot be found, say that explicitly instead of implying runtime behavior from docs or summaries alone.
- Treat cache copies as verification-only evidence. Never route fixes to
~/.codex/plugins/cache/....
Output Expectations
Return a compact audit with these sections:
Audited targetsList the audited targets and the role each one plays.Evidence summarySummarize the strongest repo, memory, session, cache-verification, and live-context signals that informed the audit.Per-target update roadmapFor each audited target, include:- target name
- target kind:
skill,plugin, orbundled plugin skill - observed strengths
- missing or weak behavior
- behavior evidence status: session-confirmed, summary-only, or no invocation evidence found
- evidence source
- highest-value next update
- owning surface for the fix:
skill,bundled plugin skill,plugin, ordocs
Add / merge / disable candidatesList only candidates justified by evidence after reviewing the audited scope.Priority orderRank the top recommendations by expected value.Follow-up questionIn full-portfolio audits whereskill-auditwas not explicitly requested, end by asking whether the user wants a follow-up audit ofskill-audittoo.
Decision Rules
- Audit installed surfaces before proposing new ones.
- Audit project-local surfaces before widening to shared/global surfaces.
- Keep default full-scope audits workflow-first and mixed.
- Treat
skill-auditself-audit as explicit-scope only; never include it unless the user names it. - When the user names specific targets, treat those named targets as the primary and usually exclusive audit scope.
- Prefer improving an existing installed surface before adding a new one.
- Prefer improving a bundled plugin skill or repo docs when the problem does not justify a plugin-level change.
- Recommend a new surface only after checking whether an audited installed surface could own the workflow cleanly.
- If auditing a bundled plugin skill, inspect both the bundled skill contract and the owning plugin package.
Failure Shields
- Do not invent recurring patterns without repo, memory, or session evidence.
- Do not confuse recurrence with effectiveness.
- Do not claim runtime behavior, correctness, or low-value triggering from docs or rollout summaries alone when raw session evidence is available.
- Do not flatten skill, bundled plugin skill, plugin, and docs issues into one bucket; keep ownership decisions explicit.
- Do not jump to new-surface recommendations before evaluating existing installed surfaces as possible owners.
- Do not audit
skill-auditunless the user explicitly requestedskill-auditin scope. - Do not bulk-load all rollout summaries or raw sessions; stay targeted.
- Do not silently expand a user-targeted audit into a wider portfolio review.
Follow-up
If the user asks to create a brand-new skill or substantially reshape one,
switch to $skill-creator and implement that change rather than continuing the
audit.
If the user asks to update an existing plugin package, bundled plugin skill, or standalone skill, leave audit mode and switch into implementation mode using the owning project's maintenance workflow.
Examples
- "Audit the installed skills used in this workflow and tell me which ones should be updated first."
- "Audit plugin $gitstack and suggest the highest-value improvements."
- "Audit $gitstack:yeet and tell me whether the bundled skill or the plugin package is the real owner of the problems."
- "Before we add a new skill, check whether an existing installed surface or repo docs should own this workflow instead."
- "Audit only $Maintainer and $skill-audit and call out any overlap or weak guardrails."
More from alemar11/skills
postgres
Connect to Postgres databases, run SQL and diagnostics, inspect schemas and migrations, review query performance, and use common PostGIS or pgvector patterns.
46codex-changelog
Check the installed Codex CLI and Codex App versions, then print separate changelog sections for the CLI from GitHub Releases and the app from the OpenAI Codex changelog page.
28learn
Capture durable corrections or preferences and write confirmed learnings only to AGENTS.md. Use when the user sets lasting guidance.
27ask-questions-if-underspecified
Clarify requirements before implementing when a request is underspecified or the user asks for clarification.
24github
Handle repo-scoped GitHub work plus authenticated-user star and star-list workflows through one repo-owned skill covering triage, reviews, CI, releases, and PR publish or lifecycle flows, with `yeet` reserved for full local-worktree publish.
12commit
Create a well-formed git commit from current changes using session history for rationale and summary; prefer explicit pathspec staging and, in monorepos, default to one subproject per commit unless the user asks for a cross-cutting commit. Use when asked to commit, prepare a commit message, or finalize staged work.
7