ensemble-create-trd

ensemble-create-trd is a skill for Claude Code, Codex from FortiumPartners/ensemble. It costs 30 tokens per session (3,348 once invoked), scanned A, original, MIT.

A workflow that turns a Product Requirements Document (a description of what a product should do) into a Technical Requirements Document describing the design and work needed to build it.

In plain words
What is it for?
Use it to design an architecture, break work into traceable tasks, and save the resulting technical plan in docs/TRD/.
Why use it?
It helps prevent missed requirements and unclear implementation plans by checking the product document, comparing design options, and reviewing the plan for weaknesses.

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 design an architecture, break work into traceable tasks, and…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fortiumpartners/ensemble/ensemble-create-trd
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-create-trd
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-create-trd

README.md
[![agentmods](https://agentmods.dev/badge/skills/fortiumpartners/ensemble/ensemble-create-trd.svg)](https://agentmods.dev/skills/fortiumpartners/ensemble/ensemble-create-trd)
Your own site
<a href="https://agentmods.dev/skills/fortiumpartners/ensemble/ensemble-create-trd"><img src="https://agentmods.dev/badge/skills/fortiumpartners/ensemble/ensemble-create-trd.svg" alt="Measured on agentmods" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,348 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.00030 $0.03348
Opus 5 $0.00015 $0.01674
Sonnet 5 $0.00006 $0.00670
Haiku 4.5 $0.00003 $0.00335

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

Security

Grade A, and why

ensemble-create-trd 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.

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-create-trd/SKILL.md · 272 lines

How it starts

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

Ensemble Command: /ensemble:create-trd

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

Create a Technical Requirements Document (TRD) from a Product Requirements Document (PRD). Performs PRD validation, architecture design with alternatives, task breakdown with traceability, optional MCP enhancement, adversarial self-review with a Design Readiness Gate, and structured output with traceability matrices. Team configuration is handled separately by /ensemble:configure-team. All outputs are saved to docs/TRD/.

Workflow

Phase 1: PRD Ingestion and Validation

1. PRD Ingestion Parse and analyze existing PRD document from $ARGUMENTS path

  • Read PRD file from specified path
  • Validate document structure (required sections present)
  • Extract key requirements with REQ-NNN IDs
  • Build requirements registry for traceability tracking

2. Requirements Validation Ensure completeness of functional and non-functional requirements

  • Validate all required sections present (Product Summary, User Analysis, Goals, Technical Requirements, Acceptance Criteria)
  • Check acceptance criteria are testable and use Given/When/Then format
  • Verify REQ-NNN format numbering is consistent and sequential
  • Verify constraints and non-goals are documented

3. Acceptance Criteria Review Validate testable acceptance criteria from the PRD before TRD generation

  • Ensure each requirement has measurable acceptance criteria with Given/When/Then items
  • Verify AC-NNN-M sub-item format under each REQ-NNN
  • Check that every Must requirement has at least 2 ACs (happy path + edge case)
  • Do NOT validate TRD traceability here -- the TRD has not been generated yet

4. Implementation Readiness Gate Check Check if the PRD passed its own readiness gate before proceeding

Read the full file on GitHub · 272 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. 7d ago First seen · 272 lines · 30 tokens per session scan A a67ead06b793

Subscribe to this mod's changes

ensemble-create-trd is a skill published in the GitHub repository FortiumPartners/ensemble (11 stars, last pushed 1mo ago), licensed MIT. It adds 30 tokens to every session and 3,348 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

context-recovery

Recovers project handoff context from local Codex, Claude Code, Gemini, CodeBuddy, and codexmate-derived sessions. Use when the user asks what happened in prior project/PR/branch/file/error work, needs a handoff brief, wants old decisions or validations recovered, or asks to summarize cross-session project activity…

SakuraByteCore/codexmate · 72 tokens

overleaf

Sync and manage Overleaf LaTeX projects from the command line. Pull projects locally, push changes back, compile PDFs, and download compile outputs like .bbl files for arXiv submissions. Use when working with LaTeX, Overleaf, academic papers, or arXiv.

aloth/olcli · 62 tokens

dev

This skill should be used when the user asks to start, restart, keep alive, or inspect the local pikiclaw development service, including npm run dev, local debug bot startup, dashboard verification, and dev log checks.

xiaotonng/pikiloom · 48 tokens

bmad-quick-dev-new-preview

Implements any user intent, requirement, story, bug fix or change request by producing clean working code artifacts that follow the project's existing architecture, patterns and conventions. Use when the user wants to build, fix, tweak, refactor, add or modify any code, component or feature.

LarsCowe/bmalph · 65 tokens

bmad-create-story

Creates a dedicated story file with all the context the agent will need to implement it later. Use when the user says "create the next story" or "create story [story identifier]".

LarsCowe/bmalph · 42 tokens

bmad-quick-dev

Implement a Quick Tech Spec for small changes or features. Use when the user provides a quick tech spec and says "implement this quick spec" or "proceed with implementation of [quick tech spec]".

LarsCowe/bmalph · 46 tokens