spec-quality-review

spec-quality-review is a skill for Codex from Eliyce/paqad-ai. It costs 17 tokens per session (641 once invoked), scanned A, original, MIT.

A review step that checks a specification, meaning a document describing required behavior, for internal defects before it is used as the authority for implementation.

In plain words
What is it for?
Use it before extracting compliance requirements, after editing a specification, or when a bug suggests the specification may be wrong.
Why use it?
It finds contradictions, inconsistent formulas, missing boundary cases, conflicting goals, and other gaps that can cause implementation or compliance errors.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it before extracting compliance requirements, after editing a specification, or when a bug suggests the specification may be wrong.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/eliyce/paqad-ai/spec-quality-review
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Eliyce/paqad-ai --skill spec-quality-review
Clone the repo
git clone --depth 1 https://github.com/Eliyce/paqad-ai

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 spec-quality-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/eliyce/paqad-ai/spec-quality-review/github.svg)](https://agentmods.dev/skills/eliyce/paqad-ai/spec-quality-review)
Your own site
<a href="https://agentmods.dev/skills/eliyce/paqad-ai/spec-quality-review"><img src="https://agentmods.dev/badge/skills/eliyce/paqad-ai/spec-quality-review/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 spec-quality-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/eliyce/paqad-ai/spec-quality-review"><img src="https://agentmods.dev/badge/skills/eliyce/paqad-ai/spec-quality-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 641 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.00017 $0.00641
Opus 5 $0.00009 $0.00320
Sonnet 5 $0.00003 $0.00128
Haiku 4.5 $0.00002 $0.00064

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

Security

Grade A, and why

spec-quality-review 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 7d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/lint-output.sh, scripts/scan-defects.sh), 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.

runtime/base/skills/spec-quality-review/SKILL.md · 59 lines

How it starts

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

What It Does

Surfaces likely spec defects — contradictions, formula inconsistencies, boundary gaps, goal conflicts, dangling references, and missing negative cases — as a human-readable list, so an author can fix them before freezing. It is an optional pre-pass, not the gate: paqad-ai spec freeze runs the authoritative, deterministic spec-quality review itself and blocks on a critical defect (issue #401). This skill neither persists a report nor hands anything authoritative downstream.

Use This When

Use this after a spec edit and before you run paqad-ai spec freeze, or when an implementation bug suggests the spec may be internally inconsistent, to catch defects early rather than at freeze time. Skipping it changes nothing about the freeze — the freeze runs its own review regardless.

Inputs

  • Read the target spec markdown file in full.
  • Read references/spec-defect-checklist.md before issuing findings.
  • Use agents/openai.yaml for the reasoning contract when the workflow executes through agent infrastructure.

Procedure

  1. Run scripts/scan-defects.sh <spec.md> — it skips Open Questions and TBD lines and emits candidate hits across the categories in assets/categories.txt (vague-quantifier, missing-actor, unbounded-modal, tbd-leak, dangling-ref, goal-collision, no-negative).
  2. Confirm each hit (or dismiss with a reason) — the script flags candidates, you judge severity.
  3. Format a markdown summary per assets/output.template.md; validate it with scripts/lint-output.sh.
  4. Order findings by severity, then by source line.

Output Contract

  • Return a ## Findings section listing active defects with severity, category, location, and the specific clarification or rewrite needed.
  • Return a ## Resolved section only when a prior finding is now absent; omit it otherwise.
  • Persist nothing. This pre-pass writes no spec-review.json and no .paqad/compliance/** file — the freeze owns the authoritative record (its defect summary is folded into the bundle's specification.json).

Read the full file on GitHub · 59 lines

Files

What ships with it

6 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. 7d ago Changed · -2 lines · +4 tokens per session 8622e6838fc3
  2. 12d ago First seen · 61 lines · 13 tokens per session scan A 0ac3530a1acc

Subscribe to this mod's changes

spec-quality-review is a skill published in the GitHub repository Eliyce/paqad-ai (8 stars, last pushed yesterday), licensed MIT. It adds 17 tokens to every session and 641 once invoked, about $0.0001 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.