kirocrew-prepare-pr

kirocrew-prepare-pr is a skill for Claude Code, Codex from kirodotdev/KiroCrew. It costs 85 tokens per session (14,241 once invoked), scanned C, original, Apache-2.0.

A repository-specific workflow for preparing and completing a pull request in Kiro Crew. It can take a change from preparation through checks, review, auto-merge setup, and watching for the merge, unless the request asks it to stop or hold.

In plain words
What is it for?
Use it when opening or updating a Kiro Crew pull request, synchronising and pushing changes, responding to checks and review bots, and handling merge or hold instructions.
Why use it?
It makes the expected pull-request process explicit and distinguishes a full merge process from an update-only or no-merge request.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is --attach ./evidence/after.png --attach ./evidence/demo.mp4.

Good fit Use it when opening or updating a Kiro Crew pull request, synchronising and pushing changes, responding to checks and review bots, and handling merge or hold instructions.

Compare 6 skills from other repositories ↓
About the project

Kiro Crew is a persistent development workspace where agents continue multi-step software work across sessions, schedules, and connected interfaces. Developers use it locally or remotely through a desktop app, web dashboard, CLI, Slack, or Discord, with unattended tasks and recurring jobs. The catalogue contains skills and instructions for working with this workspace.

kirodotdev/KiroCrew · 4,449 stars · on GitHub · kiro.dev

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/kirodotdev/KiroCrew
agentmods
npx agentmods add skills/kirodotdev/kirocrew/kirocrew-prepare-pr

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 kirocrew-prepare-pr

README.md
[![agentmods](https://agentmods.dev/badge/skills/kirodotdev/kirocrew/kirocrew-prepare-pr/github.svg)](https://agentmods.dev/skills/kirodotdev/kirocrew/kirocrew-prepare-pr)
Your own site
<a href="https://agentmods.dev/skills/kirodotdev/kirocrew/kirocrew-prepare-pr"><img src="https://agentmods.dev/badge/skills/kirodotdev/kirocrew/kirocrew-prepare-pr/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 kirocrew-prepare-pr

Your own site · 80×15
<a href="https://agentmods.dev/skills/kirodotdev/kirocrew/kirocrew-prepare-pr"><img src="https://agentmods.dev/badge/skills/kirodotdev/kirocrew/kirocrew-prepare-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 85 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 14,241 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00085 $0.14241
Opus 5.5 $0.00034 $0.05696
Sonnet 5.5 $0.00017 $0.02848
Haiku 4.5 $0.00009 $0.01424

Measured today against content hash 0bd2cef85c77, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

kirocrew-prepare-pr scanned grade C with 1 finding 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 today.

The scan reads SKILL.md. This mod also ships 12 executable files (scripts/_review_contract.py, scripts/diff_signals.py, scripts/enable_automerge.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Tells the agent never to refusehighAnti-refusal

Suppressing the ability to decline removes a core safety control; a later harmful request then succeeds.

- **Never decline a reviewer's wider scope without a failing test proving the narrower scope is sufficient.**
src/kiro_crew/builtin_skills/kirocrew-dev/kirocrew-prepare-pr/SKILL.md · 749 lines

How it starts

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

Prepare PR

Drive the working tree to a merged PR: open it review-ready, then keep driving until CI and the review bots are satisfied and GitHub lands it. Opening the PR is the midpoint, not the end. Every Kiro Crew author — maintainer or outside contributor — runs this same loop, so it also states the repository's rules. It is for the Kiro Crew repository only: in any other repository, ignore it.

This file carries only what the loop executes: which script to run and what its exit code means. A script's flags live in its usage text, each CI lane's rules in references/ci.md, and the reasons in references/rationale.md (read it before deviating).

Mode — decide once, at the start

Signal in the request Mode
Anything else, including ambiguity and a PR you opened incidentally Full loop (default): ends by arming auto-merge and watching until it merges
An explicit stop: "update the PR", "push my changes", "sync my branch", "just update the body/description", "don't wait for CI" Prepare-only
An explicit hold: "don't merge", "leave the merge to me", "review only" Full loop without auto-merge

Precedence: a stop signal wins only when it is the whole ask — "push this and make it green" is the full loop. A hold turns off Phase 4's auto-merge, nothing else.

  • Full loop — Phase 0 once, then Phase 1 → 2 → 3 until review-ready, then Phase 4.
  • Prepare-only — Phase 0 once, then ONE pass of Phase 1 → 2 → push → a single pr_status.py snapshot → report → STOP. The Phase 2 gate still runs; a push always goes out locally-green. No server poll, no auto-merge.
  • Say in one line which mode you picked, so the user can redirect.

Never gh pr merge without --auto, and never bypass a required review or check. Auto-merge hands the merge to GitHub, which lands it only once the repo's own required reviews and checks pass.

Kiro Crew CI at a glance

Full detail: docs/ci/ci-and-reviews.md and CONTRIBUTING.md. CI wins over prose.

Read the full file on GitHub · 749 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. today Changed 0bd2cef85c77
  2. 4d ago Changed · -3 lines 0ee539166ff6
  3. 6d ago Changed b76f95f63e9c
  4. 8d ago Changed · +13 lines 86e5ce0fc0bb
  5. 9d ago Changed · +24 lines 1c9bb2b49b0e
  6. 10d ago Changed · -20 lines 12b72a6a9440
  7. 11d ago First seen · 735 lines · 85 tokens per session scan C 4aeb74169436

Subscribe to this mod's changes

kirocrew-prepare-pr is a skill published in the GitHub repository kirodotdev/KiroCrew (4,449 stars, last pushed today), licensed Apache-2.0. It adds 85 tokens to every session and 14,241 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it C with 1 finding (tells the agent never to refuse). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-05.