Skills

Self Update

Check for and apply Kiro Crew updates.

Install

npx skills add kirodotdev/KiroCrew --skill self-update -g -a claude-code -y
Repository
kirodotdev/KiroCrew4.7k
Category
Engineering
Updated
3d ago
License
Apache-2.0
Context cost
Mediumabout 1,548 tokens
Runs scripts
No, instructions only

What it does

Check for and apply Kiro Crew updates. Use when user says "update yourself", "check for updates", "are you up to date", "keep yourself updated", or "auto-update".

Self-Update

Overview

Check for available Kiro Crew updates and use the install layout's supported apply path. The gateway already performs periodic update checks; do not add a duplicate cron.

kirocrew update behaves differently on three install layouts, and which one the user is on decides everything below:

  • git checkout, fetch, then reset --hard to the upstream tip. Only a fast-forwardable checkout is updated; a DIVERGED checkout (local commits both ahead and behind) is refused, because the reset would discard them.
  • wheel / cli.sh, fetch the release feed, compare versions, re-run the installer.
  • externally managed (desktop app, Docker), prints guidance and returns without updating. The desktop app updates itself over its own OTA channel.

There is no separate "check" subcommand.

A policy-defined update provider, when one is configured, owns updating this host: it runs before any layout dispatch, the built-in mechanism never runs, and there is no fallback, kirocrew update exits 1 on provider failure. Report the provider's failure; do not try to route around it.

Core Concepts

Checking for Updates

Non-destructive, safe to run anytime. Report the installed version:

kirocrew --version

Then use that layout's own source of truth: the tracked upstream branch for a git checkout, the signed release feed for a wheel install, or the app's own updater for desktop. Do not compare a checkout against public tags; source updates are based on commit distance from its configured upstream, not release tags.

Applying Updates

To apply an available update:

kirocrew update

The gateway must be restarted afterward for the new version to take effect.

Two more verbs:

kirocrew update approve   # approve a pending in-app update armed from the dashboard
kirocrew update --force   # git installs only
Read the whole SKILL.md on GitHub

More in Engineering