okite-ai: Command for Claude Code

.claude/commands/kiro/spec-requirements.md

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

A command that creates detailed, testable requirements for a software specification.

In plain words
What is it for?
Writing the requirements phase of specification-driven development.
Why use it?
It helps turn a project description into requirements that can guide implementation and checking.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: positional $N argument.

This is j5ik2o/okite-ai's own configuration. It tells Claude Code 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/.claude/commands/kiro/spec-requirements.md
Clone the repo
git clone --depth 1 https://github.com/j5ik2o/okite-ai

Made for: Claude Code.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/j5ik2o/okite-ai/spec-requirements"><img src="https://agentmods.dev/badge/commands/j5ik2o/okite-ai/spec-requirements.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 6 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 984 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 91% 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.00006 $0.00984
Opus 5 $0.00003 $0.00492
Sonnet 5 $0.00001 $0.00197
Haiku 4.5 $0.00001 $0.00098

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

Security

Grade A, and why

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 8d 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

91% identical to kiro-spec-requirements — 27 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.

.claude/commands/kiro/spec-requirements.md · 99 lines

How it starts

The opening of the file, as written. The whole thing — 99 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 · 99 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. 8d ago First seen · 99 lines · 6 tokens per session scan A e9fc19d7ff55

Subscribe to this mod's changes

spec-requirements is a command published in the GitHub repository j5ik2o/okite-ai (81 stars, last pushed 4mo ago), licensed MIT. It adds 6 tokens to every session and 984 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. It is 91% identical to kiro-spec-requirements, differing in 27 lines, and is treated as a copy.