creating-kiro-packages

creating-kiro-packages is a skill for Claude Code, Codex from pr-pm/prpm. It costs 45 tokens per session (2,539 once invoked), scanned A, original, MIT.

A guide for creating Kiro steering files and hooks. Steering files provide context-aware instructions, while hooks are JSON settings that automate actions when events occur.

In plain words
What is it for?
It helps create always-on, file-matched, or manually activated guidance, define foundational project files, and configure event-triggered hooks.
Why use it?
It explains when each package type is included, reducing configuration mistakes and ensuring instructions appear in the right situations.

Skill for Claude CodeCodex

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 skills/pr-pm/prpm/creating-kiro-packages
Any agent
npx skills add pr-pm/prpm --skill creating-kiro-packages
Clone the repo
git clone --depth 1 https://github.com/pr-pm/prpm

Made for: Claude Code, 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 creating-kiro-packages

README.md
[![agentmods](https://agentmods.dev/badge/skills/pr-pm/prpm/creating-kiro-packages.svg)](https://agentmods.dev/skills/pr-pm/prpm/creating-kiro-packages)
Your own site
<a href="https://agentmods.dev/skills/pr-pm/prpm/creating-kiro-packages"><img src="https://agentmods.dev/badge/skills/pr-pm/prpm/creating-kiro-packages.svg" alt="Measured on agentmods" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,539 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.00045 $0.02539
Opus 5 $0.00023 $0.01269
Sonnet 5 $0.00009 $0.00508
Haiku 4.5 $0.00005 $0.00254

Measured 5d ago against content hash a2d006e9500c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

creating-kiro-packages 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 5d 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.

.claude/skills/creating-kiro-packages/SKILL.md · 428 lines

How it starts

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

Creating Kiro Packages

Overview

Kiro uses two package types:

  1. Steering files (.kiro/steering/*.md) - Markdown with optional YAML frontmatter
  2. Hooks (.kiro/hooks/*.json) - JSON configuration for event-driven automation

Package Types

Type Location Format Purpose
Steering Files .kiro/steering/*.md Markdown + YAML Context-aware instructions
Hooks .kiro/hooks/*.json JSON Event-driven automation

Steering Files

Inclusion Modes

Mode Frontmatter When Applied
always (default) inclusion: always All contexts
fileMatch inclusion: fileMatch + fileMatchPattern Files matching pattern
manual inclusion: manual User manually triggers

Quick Reference

---
inclusion: always  # always, fileMatch, or manual
fileMatchPattern: "components/**/*.tsx"  # Required for fileMatch
domain: testing  # Optional: for organization
---

Creating Always-Included Steering Files

Used for workspace-wide standards that influence all code generation:

---
inclusion: always
---

# Core Technology Stack

Our workspace uses the following technologies and standards.

## Stack

- **Frontend**: React 18 + TypeScript + Vite
- **Backend**: Node.js + Express + Prisma
- **Database**: PostgreSQL
- **Testing**: Vitest + Testing Library

## Universal Principles

- Write self-documenting code
- Keep functions under 50 lines
- Use meaningful variable names
- Add comments only for complex logic

Creating FileMatch Steering Files

Applied automatically when working with files matching the pattern:

---
inclusion: fileMatch
fileMatchPattern: "components/**/*.tsx"
domain: frontend
---

# React Component Guidelines

Applied automatically when working with React components.

## Component Standards

- Use functional components with hooks
- Keep components under 200 lines
- Extract logic into custom hooks
- Co-locate styles with components

## Example

\`\`\`tsx
// Good: Focused component
function UserProfile({ userId }: Props) {
  const user = useUser(userId);
  return <div>{user.name}</div>;
}
\`\`\`

Read the full file on GitHub · 428 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. 5d ago First seen · 428 lines · 45 tokens per session scan A a2d006e9500c

Subscribe to this mod's changes

creating-kiro-packages is a skill published in the GitHub repository pr-pm/prpm (120 stars, last pushed 2mo ago), licensed MIT. It adds 45 tokens to every session and 2,539 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.