okite-ai: Command for Codex

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

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

A command that carries out approved implementation tasks from a project specification using test-driven development, or TDD: writing tests before the code.

In plain words
What is it for?
Loading requirements and design files, selecting pending tasks, writing tests, implementing features, and marking completed work.
Why use it?
It turns an approved plan into tracked implementation work while checking that changes pass tests and do not break existing behavior.

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-impl.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-impl

README.md
[![agentmods](https://agentmods.dev/badge/commands/j5ik2o/okite-ai/kiro-spec-impl.svg)](https://agentmods.dev/commands/j5ik2o/okite-ai/kiro-spec-impl)
Your own site
<a href="https://agentmods.dev/commands/j5ik2o/okite-ai/kiro-spec-impl"><img src="https://agentmods.dev/badge/commands/j5ik2o/okite-ai/kiro-spec-impl.svg" alt="Measured on agentmods" 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 864 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 95% 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.00864
Opus 5 $0.00000 $0.00432
Sonnet 5 $0.00000 $0.00173
Haiku 4.5 $0.00000 $0.00086

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

Security

Grade A, and why

kiro-spec-impl 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 6d 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

95% identical to kiro-spec-impl — 4 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-impl.md · 112 lines

How it starts

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

Implementation Task Executor

<background_information>

  • Mission: Execute implementation tasks using Test-Driven Development methodology based on approved specifications
  • Success Criteria:
    • All tests written before implementation code
    • Code passes all tests with no regressions
    • Tasks marked as completed in tasks.md
    • Implementation aligns with design and requirements </background_information>

Execution Steps

Step 1: Load Context

Read all necessary context:

  • .kiro/specs/$1/spec.json, requirements.md, design.md, tasks.md
  • Entire .kiro/steering/ directory for complete project memory

Validate approvals:

  • Verify tasks are approved in spec.json (stop if not, see Safety & Fallback)

Step 2: Select Tasks

Determine which tasks to execute:

  • If $2 provided: Execute specified task numbers (e.g., "1.1" or "1,2,3")
  • Otherwise: Execute all pending tasks (unchecked - [ ] in tasks.md)

Step 3: Execute with TDD

For each selected task, follow Kent Beck's TDD cycle:

  1. RED - Write Failing Test:

    • Write test for the next small piece of functionality
    • Test should fail (code doesn't exist yet)
    • Use descriptive test names
  2. GREEN - Write Minimal Code:

    • Implement simplest solution to make test pass
    • Focus only on making THIS test pass
    • Avoid over-engineering
  3. REFACTOR - Clean Up:

    • Improve code structure and readability
    • Remove duplication
    • Apply design patterns where appropriate
    • Ensure all tests still pass after refactoring
  4. VERIFY - Validate Quality:

    • All tests pass (new and existing)
    • No regressions in existing functionality
    • Code coverage maintained or improved
  5. MARK COMPLETE:

    • Update checkbox from - [ ] to - [x] in tasks.md

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

Subscribe to this mod's changes

kiro-spec-impl 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 864 tokens. A static security scan graded it A with 0 findings. It is 95% identical to kiro-spec-impl, differing in 4 lines, and is treated as a copy.