okite-ai: Command for Codex

.codex/prompts/kiro-spec-requirements.md

kiro-spec-requirements is a command for Codex from j5ik2o/okite-ai. It costs 0 tokens per session (972 once invoked), scanned A, a copy of kiro-spec-requirements, MIT.

A requirements generator for Kiro specifications. It creates testable requirements from a project description using EARS, a structured way to write requirements with clear conditions and expected behavior.

In plain words
What is it for?
Use it to draft or update a Kiro requirements document from a project description and its steering files.
Why use it?
It helps produce complete requirements that match the project's guidance before design and implementation begin. It also tracks the generation status in the specification metadata.

Command for Codex

Written for Codex: installed under .codex/. Also seen: positional $N argument.

This is j5ik2o/okite-ai's own configuration. It tells Codex how to work on okite-ai itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything okite-ai configures →

Reuse

Borrowing it

Nothing to install: this file belongs to j5ik2o/okite-ai. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/j5ik2o/okite-ai/main/.codex/prompts/kiro-spec-requirements.md
Clone the repo
git clone --depth 1 https://github.com/j5ik2o/okite-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 kiro-spec-requirements

README.md
[![agentmods](https://agentmods.dev/badge/commands/j5ik2o/okite-ai/kiro-spec-requirements/github.svg)](https://agentmods.dev/commands/j5ik2o/okite-ai/kiro-spec-requirements)
Your own site
<a href="https://agentmods.dev/commands/j5ik2o/okite-ai/kiro-spec-requirements"><img src="https://agentmods.dev/badge/commands/j5ik2o/okite-ai/kiro-spec-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 kiro-spec-requirements

Your own site · 80×15
<a href="https://agentmods.dev/commands/j5ik2o/okite-ai/kiro-spec-requirements"><img src="https://agentmods.dev/badge/commands/j5ik2o/okite-ai/kiro-spec-requirements.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 972 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 88% copy Near-identical to another mod 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.00000 $0.00972
Opus 5 $0.00000 $0.00486
Sonnet 5 $0.00000 $0.00194
Haiku 4.5 $0.00000 $0.00097

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

Security

Grade A, and why

kiro-spec-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 11d 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.

Origin

This is a copy

88% identical to kiro-spec-requirements — 12 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.codex/prompts/kiro-spec-requirements.md · 98 lines

How it starts

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

Requirements Generation

<background_information>

  • Mission: Generate comprehensive, testable requirements in EARS format based on the project description from spec initialization
  • Success Criteria:
    • Create complete requirements document aligned with steering context
    • Follow the project's EARS patterns and constraints for all acceptance criteria
    • Focus on core functionality without implementation details
    • Update metadata to track generation status </background_information>

Execution Steps

  1. Load Context:

    • Read .kiro/specs/$1/spec.json for language and metadata
    • Read .kiro/specs/$1/requirements.md for project description
    • Load ALL steering context: Read entire .kiro/steering/ directory including:
      • Default files: structure.md, tech.md, product.md
      • All custom steering files (regardless of mode settings)
      • This provides complete project memory and context
  2. Read Guidelines:

    • Read .kiro/settings/rules/ears-format.md for EARS syntax rules
    • Read .kiro/settings/templates/specs/requirements.md for document structure
  3. Generate Requirements:

    • Create initial requirements based on project description
    • Group related functionality into logical requirement areas
    • Apply EARS format to all acceptance criteria
    • Use language specified in spec.json
  4. Update Metadata:

    • Set phase: "requirements-generated"
    • Set approvals.requirements.generated: true
    • Update updated_at timestamp

Important Constraints

  • Focus on WHAT, not HOW (no implementation details)
  • Requirements must be testable and verifiable
  • Choose appropriate subject for EARS statements (system/service name for software)
  • Generate initial version first, then iterate with user feedback (no sequential questions upfront)
  • Requirement headings in requirements.md MUST include a leading numeric ID only (for example: "Requirement 1", "1.", "2 Feature ..."); do not use alphabetic IDs like "Requirement A".

Read the full file on GitHub · 98 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. 11d ago First seen · 98 lines · 0 tokens per session scan A 203435436870

Subscribe to this mod's changes

kiro-spec-requirements is a command published in the GitHub repository j5ik2o/okite-ai (81 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 972 tokens. A static security scan graded it A with 0 findings. It is 88% identical to kiro-spec-requirements, differing in 12 lines, and is treated as a copy.