agentleFS
Arnie016Arnie016/codex-prompt-templates/skills/skill-quality-gate/SKILL.md

skill-quality-gate

Skill3 starsChanged 6 months agoMITView on GitHub

Audit Codex skills and plugins for trigger clarity, duplication, context bloat, missing references, unsafe instructions, and validation gaps. Use before installing, publishing, or relying on generated skills.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run this before considering a skill pack usable.

    line 11
  2. Very specific:

    Every skill has frontmatter name and description.

    line 15
  3. Distinctive:

    No skill silently installs or runs untrusted software.

    line 20
  4. Very specific:

    Use $low-token-context if the audit output becomes large.

    line 50

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Skill Quality Gate

Run this before considering a skill pack usable.

Checks

  1. Every skill has frontmatter name and description.
  2. Description names the job, triggers, and required tools.
  3. Skill body is short enough to load cheaply.
  4. Long details live in references.
  5. Skills do not overlap heavily.
  6. No skill silently installs or runs untrusted software.
  7. Output contracts are explicit.
  8. Scripts are executable and scoped.

Local Audit

SUPERCHARGE_PLUGIN="${SUPERCHARGE_PLUGIN:-plugins/codex-supercharge}"
scripts/skill_audit.sh skills
scripts/skill_audit.sh --strict skills
python3 "$SUPERCHARGE_PLUGIN/scripts/plugin_discovery_audit.py" --plugin-root "$SUPERCHARGE_PLUGIN" --strict
python3 "$HOME/.codex/skills/.system/skill-creator/scripts/quick_validate.py" plugins/codex-supercharge/skills/<skill-name>

Findings Format

Lead with issues:

## Findings
- [P1] ...
- [P2] ...

## Duplicates

## Missing Tests

## Recommended Changes

Use $low-token-context if the audit output becomes large.

Validation

  • skill_audit.sh reports folded descriptions, missing skip/validation/provenance, and risky commands.
  • plugin_discovery_audit.py reports index/defaultPrompt/router/boundary references with no stale skill or reference links.
  • quick_validate.py passes for every changed skill folder.
  • Findings distinguish blocking metadata failures from follow-up quality debt.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.