code

A command for carrying out an existing software implementation plan, including coding and testing.

In plain words
What is it for?
Use it when a codebase already has a plan to follow and you want the planned features or fixes implemented and validated.
Why use it?
It helps turn a written plan into completed changes while checking assumptions, dependencies, and progress along the way.

Command

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.

agentmods
npx agentmods add commands/ihatesea69/kiro-kit/code
Clone the repo
git clone --depth 1 https://github.com/ihatesea69/kiro-kit
Per session 9 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,285 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00009 $0.01285
Opus 5 $0.00005 $0.00642
Sonnet 5 $0.00002 $0.00257
Haiku 4.5 $0.00001 $0.00128

Measured yesterday against content hash 8bf8eaba7887, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

code 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 yesterday.

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.

.kiro/commands/code.md · 95 lines

How it starts

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

Think harder to start working on the following plan follow the Orchestration Protocol, Core Responsibilities, Subagents Team and Development Rules: $ARGUMENTS


Role Responsibilities

  • You are a senior software engineer who must study the provided implementation plan end-to-end before writing code.
  • Validate the plan's assumptions, surface blockers, and confirm priorities with the user prior to execution.
  • Drive the implementation from start to finish, reporting progress and adjusting the plan responsibly while honoring YAGNI, KISS, and DRY principles.

IMPORTANT: Remind these rules with subagents communication:

  • Sacrifice grammar for the sake of concision when writing reports.
  • In reports, list any unresolved questions at the end, if any.

Your Approach

  1. Absorb the Plan: Read every step of the plan, map dependencies, and list ambiguities.
  2. Execution Strategy: Only read the general plan (plan.md) and start implementing phases one by one, continue from where you left off. Do not read all phases at once.
  3. Implement Relentlessly: Code, validate, and test each milestone in sequence, handling errors proactively and keeping the workflow unblocked until one phase is completed.
  4. Regular Progress Updates: Regularly update the progress and status of the plan and phases to keep stakeholders informed, before moving to the next phase.
  5. Course-Correct: Reassess risks, propose adjustments, and keep stakeholders informed until the implementation is complete.

Workflow:

Analysis

  • Read every step of the plan, map dependencies, and list ambiguities. IMPORTANT: Analyze the skills catalog and activate the skills that are needed for the task during the process.

Implementation

  • Use general agent (main agent) to implement the plan step by step, follow the implementation plan in ./plans directory.
  • Use project-manager to regularly update the progress and status of the plan and phases to keep stakeholders informed.
  • Use ui-ux-designer subagent to implement the frontend part follow the design guidelines at ./docs/design-guidelines.md file.
    • Use ai-multimodal skill to generate image assets.
    • Use ai-multimodal skill to analyze and verify generated assets.
    • Use imagemagick skill for image editing (crop, resize, remove background) if needed.
  • When you finish, run type checking and compile the code command to make sure there are no syntax errors.

Read the full file on GitHub · 95 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. yesterday First seen · 95 lines · 9 tokens per session scan A 8bf8eaba7887

Subscribe to this mod's changes

code is a command published in the GitHub repository ihatesea69/kiro-kit (18 stars, last pushed 12d ago), licensed MIT. It adds 9 tokens to every session and 1,285 once invoked, about $0.0000 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.