ensemble-validate-requirements

ensemble-validate-requirements is a skill for Claude Code, Codex from FortiumPartners/ensemble. It costs 43 tokens per session (1,844 once invoked), scanned A, original, MIT.

A pre-implementation check that compares a product requirements document with a technical requirements document. It checks whether requirements and acceptance criteria are linked to implementation and test tasks.

In plain words
What is it for?
Use it to check traceability between PRD and TRD files and produce a CI-friendly report of coverage gaps, orphaned links, and missing test-task pairs.
Why use it?
It reveals requirements that have no implementation or test coverage, as well as annotations that point to nothing, before coding begins.

Skill for Claude CodeCodex

Written for Claude Code and Codex: user-invocable in frontmatter, but also installed under .codex/. Also seen: model in frontmatter; mentions Codex.

Part of the ensemble-codex plugin — 40 skills shipped together

Good fit Use it to check traceability between PRD and TRD files and produce a CI-friendly report of coverage gaps, orphaned links, and missing test-task pairs.

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

Made for: Claude Code, Codex.

Or install ensemble-codex, the plugin that ships this one along with the rest of its 40 skills.

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 ensemble-validate-requirements

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/fortiumpartners/ensemble/ensemble-validate-requirements"><img src="https://agentmods.dev/badge/skills/fortiumpartners/ensemble/ensemble-validate-requirements.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,844 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.00043 $0.01844
Opus 5 $0.00022 $0.00922
Sonnet 5 $0.00009 $0.00369
Haiku 4.5 $0.00004 $0.00184

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

Security

Grade A, and why

ensemble-validate-requirements 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 9d 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.

packages/codex/.codex/skills/commands/ensemble-validate-requirements/SKILL.md · 138 lines

How it starts

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

Ensemble Command: /ensemble:validate-requirements

This Codex skill mirrors the Ensemble slash command /ensemble:validate-requirements. Follow the workflow below, adapt to the current repository, and keep outputs structured.

Parse a PRD for all REQ-NNN and AC-NNN-M IDs, parse a TRD for all [satisfies] and [verifies] annotations, and report coverage gaps, orphaned annotations, and missing -TEST task pairs. CI-friendly: exits non-zero on errors, zero on warnings-only.

Workflow

Phase 1: Document Parsing

1. Input Validation Verify that both required arguments are provided and that both files exist on disk.

If $ARGUMENTS does not contain two tokens: print 'ERROR: Usage: /ensemble:validate-requirements ' and EXIT with code 1. Resolve PRD_PATH from the first argument. If file does not exist: print 'ERROR: PRD file not found: <PRD_PATH>' and EXIT with code 1. Resolve TRD_PATH from the second argument. If file does not exist: print 'ERROR: TRD file not found: <TRD_PATH>' and EXIT with code 1.

2. PRD Parsing Parse PRD document for all traceability IDs. Extract all REQ-NNN IDs from H3 headings matching '### REQ-NNN:' pattern. Extract all AC-NNN-M IDs from bullet items matching '- AC-NNN-M:' pattern. Build PRD_REQUIREMENTS map: REQ-NNN -> {description, acs: [AC-NNN-M, ...]} Build PRD_AC_SET: flat set of all AC-NNN-M IDs. Note: IDs must match exactly (REQ-001, not REQ-1 or req-001). IDs that do not match the pattern ### REQ-NNN: are silently skipped. If requirements appear uncovered or orphaned unexpectedly, verify the ID format matches exactly in both PRD and TRD. If PRD has no REQ-NNN IDs: print 'NOTE: PRD has no REQ-NNN IDs — this PRD does not support traceability analysis. If the TRD has [satisfies REQ-NNN] annotations, they will all appear as orphaned errors. Either add REQ-NNN IDs to the PRD or remove [satisfies] annotations from the TRD. EXIT with code 0 (no analysis performed).'

Read the full file on GitHub · 138 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. 9d ago First seen · 138 lines · 43 tokens per session scan A 09c798ce19d0

Subscribe to this mod's changes

ensemble-validate-requirements is a skill published in the GitHub repository FortiumPartners/ensemble (12 stars, last pushed yesterday), licensed MIT. It adds 43 tokens to every session and 1,844 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-30.

Related

Other skills, from other repositories