codex-sdd:validate

codex-sdd:validate is a skill for Claude Code, Codex from skyloevil/codex-sdd. It costs 29 tokens per session (860 once invoked), scanned A, original, MIT.

A check that compares implemented code with an OpenSpec change and reports differences. It is the fourth phase of the OpenSpec workflow, after implementation tasks have been completed or started.

In plain words
What is it for?
Use it when asked to validate a change, check a specification, or investigate unexpected behaviour in an OpenSpec workflow.
Why use it?
It helps find drift between the planned design and the code, as well as missing change files, incomplete tasks, or outdated affected documentation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit Use it when asked to validate a change, check a specification, or investigate unexpected behaviour in an OpenSpec workflow.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/skyloevil/codex-sdd/validate
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 skyloevil/codex-sdd --skill validate
Clone the repo
git clone --depth 1 https://github.com/skyloevil/codex-sdd

Made for: Claude Code, 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 codex-sdd:validate

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/skyloevil/codex-sdd/validate"><img src="https://agentmods.dev/badge/skills/skyloevil/codex-sdd/validate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 860 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.00029 $0.00860
Opus 5.5 $0.00012 $0.00344
Sonnet 5.5 $0.00006 $0.00172
Haiku 4.5 $0.00003 $0.00086

Measured 1mo ago against content hash 72e8024f0e9a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

codex-sdd:validate 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 1mo 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.

skills/validate/SKILL.md · 105 lines

How it starts

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

OpenSpec Validate

Context

Validate is the fourth phase of the OpenSpec workflow. It checks that the implementation aligns with the specification and identifies drift between the planned design and actual code. This is the "catch deviation early" step.

Trigger

Any of these patterns triggers this skill:

  • User says "openspec validate" or "openspec:validate"
  • User says "check spec" or "validate change"
  • All tasks are completed (state auto-transitions to validate)
  • User reports unexpected behavior during testing
  • openspec_get_status shows phase is validate

Prerequisites

  • All implementation tasks completed (or at least started)
  • active change artifacts exist under openspec/changes/<changeId>/

Workflow

Step 1: Run Validation

Call openspec_validate to get a programmatic drift report:

openspec_validate({})

This checks:

  • All active artifacts exist
  • All tasks are marked complete
  • Required hooks are complete
  • Completed tasks have structured validation evidence when the loop state is active

Also call docs_check_freshness for affected spec domains. Domain specs that do not include the active change should be treated as validation drift and fixed with openspec_sync_specs before archive.

Step 2: Manual Validation Checks

Beyond the automated checks, also verify:

Interface Alignment:

  • Do the implemented APIs match the design document?
  • Are request/response fields consistent with the spec?
  • Are error codes and edge cases handled?

Behavioral Coverage:

  • Are the main acceptance scenarios from the proposal covered?
  • Are edge cases handled (null inputs, empty states, timeouts)?
  • Are concurrency/locking behaviors correct?

Code Quality:

  • Are there any obvious issues (hard-coded values, security concerns)?
  • Are tests added for new functionality?

Record each concrete validation result with openspec_record_validation_evidence. Use evidence type test, lint, typecheck, manual, hook, spec_alignment, or ci. A task should not be treated as fully accepted until its required behavior has passed evidence or a human review explicitly accepts the gap.

Read the full file on GitHub · 105 lines

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. 1mo ago First seen · 105 lines · 29 tokens per session scan A 72e8024f0e9a

Subscribe to this mod's changes

codex-sdd:validate is a skill published in the GitHub repository skyloevil/codex-sdd (1 stars, last pushed 3mo ago), licensed MIT. It adds 29 tokens to every session and 860 once invoked, about $0.0001 per session on Opus 5.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.