self-update

An update tool for KiroCrew, the software that provides the coding-agent environment. It can report the installed version, apply updates, and configure scheduled checks that notify you about newer versions.

In plain words
What is it for?
Use it when checking whether KiroCrew is current, updating it, or setting up automatic update notifications.
Why use it?
It removes the need to track releases and run the update process manually each time. Applying an update pulls, rebuilds, reinstalls, and requires a gateway restart.

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/kirodotdev/kirocrew/self-update
Any agent
npx skills add kirodotdev/KiroCrew --skill self-update
Clone the repo
git clone --depth 1 https://github.com/kirodotdev/KiroCrew

Made for: Claude Code, Codex.

Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,347 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.00042 $0.01347
Opus 5 $0.00021 $0.00674
Sonnet 5 $0.00008 $0.00269
Haiku 4.5 $0.00004 $0.00135

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

Security

Grade A, and why

self-update 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 2d 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.

skills/self-update/SKILL.md · 126 lines

How it starts

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

Self-Update

Overview

Check for available KiroCrew updates, apply them, and optionally set up automatic update checking via cron.

KiroCrew self-updates with kirocrew update, which does a git pull + rebuild

  • pip install + restart. There is no separate "check" subcommand; a non-destructive check means reporting the currently-installed version and comparing it against the public repo.

Core Concepts

Checking for Updates

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

kirocrew --version

kirocrew update itself has no --check flag; it applies the update directly (see "Applying Updates"). To tell the user whether they are current, compare kirocrew --version against the latest tag/commit on the public KiroCrew repository.

Applying Updates

To apply an available update:

kirocrew update

This pulls the latest code, rebuilds, reinstalls, and the gateway must be restarted afterward for the new version to take effect.

Automatic Update Checking

If the user asks for automatic updates, create a cron job that checks periodically and notifies.

Scheduling rules:

  1. Pick a random weekday and business hour — don't hardcode Monday 9am. Suggest something like "I'll check on Wednesdays around 2pm" and let the user approve or adjust.
  2. Add a random minute (0-59) to the cron expression to avoid a thundering herd of all KiroCrew instances checking simultaneously.
  3. Use the user's local timezone — get it from their Slack profile via read_slack_profile. The cron_add tool accepts a timezone parameter. Never schedule in UTC unless the user is actually in UTC.
  4. For auto-apply mode, some users prefer updates outside business hours (e.g. "update overnight"). Ask the user's preference.

Determining the user's timezone:

Check the system timezone first (fastest). If it's UTC, it may be an unconfigured cloud desktop rather than the user's actual timezone — verify with a second source.

Read the full file on GitHub · 126 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. 2d ago First seen · 126 lines · 42 tokens per session scan A 4dfb253fd386

Subscribe to this mod's changes

self-update is a skill published in the GitHub repository kirodotdev/KiroCrew (3,532 stars, last pushed today), licensed Apache-2.0. It adds 42 tokens to every session and 1,347 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.

Related

Other skills, from other repositories

copilotkit-setup

Use when adding CopilotKit to an existing project or bootstrapping a new CopilotKit project from scratch. Covers framework detection, package installation, runtime wiring (managed Intelligence or self-hosted SSE), provider setup, and first working chat integration.

CopilotKit/CopilotKit · 56 tokens

setup-slack-channel

Use for the PROVIDER half of getting a locally running CopilotKit Channels agent to answer in Slack, when no Slack app exists yet — setting up a Channels bot in Slack for the first time, creating the Slack app and its tokens, attaching it to a managed Intelligence Channel, or when a Channel reports setuprequired, sits…

CopilotKit/CopilotKit · 206 tokens

copilotkit-channels

Use for the CODE half of a managed Intelligence Channel with Slack or Microsoft Teams: customising the Channel a CLI-scaffolded project already ships, or — for a project the CLI did not generate — writing the Channel declaration, the long-running host, and the awaited activation call. Teams provider setup is in scope…

CopilotKit/CopilotKit · 112 tokens

runtime

@copilotkit/runtime — mount a fetch-native CopilotRuntime on any JS server, wire middleware, pick an AgentRunner, instantiate BuiltInAgent (Factory Mode with TanStack AI is the preferred default) or plug in any of 12 external agent frameworks (Mastra, LangGraph, CrewAI Crews/Flows, PydanticAI, ADK, LlamaIndex, Agno…

CopilotKit/CopilotKit · 150 tokens

copilotkit-integrations

Use when wiring an external agent framework (LangGraph, CrewAI, PydanticAI, Mastra, ADK, LlamaIndex, Agno, Strands, Microsoft Agent Framework, or others) into a CopilotKit application via the AG-UI protocol.

CopilotKit/CopilotKit · 61 tokens

copilotkit-develop

Use when building AI-powered features with CopilotKit v2 -- adding chat interfaces, registering frontend tools, sharing application context with agents, handling agent interrupts, and working with the CopilotKit runtime.

CopilotKit/CopilotKit · 46 tokens