codex-skills-library: Skill for Codex

.agents/skills/project-recovery-audit/SKILL.md

project-recovery-audit is a skill for Codex from YankielDBC2/codex-skills-library. It costs 34 tokens per session (520 once invoked), scanned A, original, MIT.

A set of guidelines for checking a repository's health before development work begins. A repository is the project's tracked code and files.

In plain words
What is it for?
Use it for inherited, stalled, or repeatedly failing projects. It checks instructions, project-state documents, package files, folders, logs, validation risks, secrets, duplicated code, and stale indexes.
Why use it?
It helps determine whether a project is healthy, outdated, or broken, and exposes mismatches between documentation, generated files, and the actual code structure.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md; mentions Codex.

This is YankielDBC2/codex-skills-library's own configuration. It tells Codex how to work on codex-skills-library 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 codex-skills-library configures →

Reuse

Borrowing it

Nothing to install: this file belongs to YankielDBC2/codex-skills-library. 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/YankielDBC2/codex-skills-library/main/.agents/skills/project-recovery-audit/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/YankielDBC2/codex-skills-library

Made for: 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 project-recovery-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/yankieldbc2/codex-skills-library/project-recovery-audit/github.svg)](https://agentmods.dev/skills/yankieldbc2/codex-skills-library/project-recovery-audit)
Your own site
<a href="https://agentmods.dev/skills/yankieldbc2/codex-skills-library/project-recovery-audit"><img src="https://agentmods.dev/badge/skills/yankieldbc2/codex-skills-library/project-recovery-audit/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 project-recovery-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/yankieldbc2/codex-skills-library/project-recovery-audit"><img src="https://agentmods.dev/badge/skills/yankieldbc2/codex-skills-library/project-recovery-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 520 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.
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.00034 $0.00520
Opus 5 $0.00017 $0.00260
Sonnet 5 $0.00007 $0.00104
Haiku 4.5 $0.00003 $0.00052

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

Security

Grade A, and why

project-recovery-audit 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.

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.

.agents/skills/project-recovery-audit/SKILL.md · 58 lines

How it starts

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

Project Recovery Audit

Goal

Determine whether a repository is healthy, degraded, or broken before making changes, and identify the smallest safe next step that restores control.

When to use

Use this skill for inherited repos, stalled projects, broken worktrees, repeated validation failures, or any task where the next action is unclear.

When not to use

Do not use this skill for a small isolated change when the repo shape and affected files are already obvious.

Inputs

  • Root AGENTS.md and any nested agent instructions.
  • docs/CODEBASE_INDEX.md, docs/CODEX_STATE.md, docs/PLANS.md, and docs/DECISIONS.md.
  • package.json, lockfiles, and top-level folders.
  • Recent failing logs, CI errors, or user-reported symptoms if available.
  • Relevant skills for the task, especially token-efficient-codex-run and codebase-map-index.

Workflow

  1. Classify the repo state as healthy, degraded, or broken.
  2. Identify the source of truth files and the generated files.
  3. Check for drift between docs, generated outputs, and actual folder structure.
  4. Identify high-risk areas: validation, secrets, duplicated logic, stale indexes, and large files.
  5. Decide whether the next step is bootstrap, recovery, targeted fix, or deeper audit.
  6. If the repo is large or unknown, keep reading minimal and use token-efficient guidance.
  7. Capture the outcome in state docs and recommend the narrowest safe next action.

Quality bar

  • The audit should leave the repo easier to continue from.
  • The report should distinguish evidence from inference.
  • The first recommended action should be small, safe, and testable.
  • If the repo is healthy, say so plainly and avoid unnecessary churn.

Validation

  • Run the narrowest useful checks for the files or symptoms involved.
  • Run npm run validate when the repo contract may be stale.
  • Run npm test when helper scripts or parsing logic changed.
  • Run npm run compare:efficiency only when measuring process improvements.

Read the full file on GitHub · 58 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 58 lines · 34 tokens per session scan A d49980c1be20

Subscribe to this mod's changes

project-recovery-audit is a skill published in the GitHub repository YankielDBC2/codex-skills-library (10 stars, last pushed 1mo ago), licensed MIT. It adds 34 tokens to every session and 520 once invoked, about $0.0002 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-31.

Related

Other skills, from other repositories

rubber-duck

Adversarial "rubber duck" review that turns explaining-out-loud into a hallucination check. The main session is the PRESENTER (it did the work — a design doc, investigation, or analysis — and holds the real reasoning) and reconstructs the topic to a LISTENER — a spawned subagent pinned to a DIFFERENT-vendor model that…

kirodotdev/KiroCrew · 161 tokens

dispatch

Use when a task file exists in .hyperflow/tasks/ and workers need dispatching. Fans out parallel workers under per-batch Reviewers, runs a final integration review, and commits per sub-task. Endpoint of the auto-chain — no auto-deploy. Trigger with /hyperflow:dispatch, "run the plan", "execute the task", "build it"…

jeremylongshore/tons-of-skills-marketplace · 81 tokens

systemic-issue-triage

Trigger: new issue, bug report, triage, backlog, issue flood, community report, root cause, dead-end, blocked user. Attack issues by root class, never one-by-one; fixes must shrink the system, not grow it.

Gentleman-Programming/gentle-ai · 57 tokens

triage-issue

Intelligently triage bug reports and error messages by searching for duplicates in Jira and offering to create new issues or add comments to existing ones. When an agent needs to: (1) Triage a bug report or error message, (2) Check if an issue is a duplicate, (3) Find similar past issues, (4) Create a new bug ticket…

atlassian/atlassian-mcp-server · 116 tokens

bug-triage

Read all open bugs in production/qa/bugs/, re-evaluate priority vs. severity, assign to sprints, surface systemic trends, and produce a triage report. Run at sprint start or when the bug count grows enough to need re-prioritization.

Donchitos/Claude-Code-Game-Studios · 59 tokens

investigation

Create an investigation ticket + live-doc for sustained root-cause work (retros, bug archaeology, regression hunts).

me2resh/apexyard · 26 tokens