Report the KAIF version deployed in this project and check the origin repository for a newer release. Reads the .kaif/kaif.json marker (version, release date, origin, tracking mode). Use when the human says "what KAIF version", "check for KAIF updates", "is there a new framework version", "kaif version", "проверь версию KAIF", "есть ли обновление фреймворка".
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Kaif Version?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/mikalaikryvusha-kaif-version)
---
name: kaif-version
description: Report the KAIF version deployed in this project and check the origin repository for a newer release. Reads the .kaif/kaif.json marker (version, release date, origin, tracking mode). Use when the human says "what KAIF version", "check for KAIF updates", "is there a new framework version", "kaif version", "проверь версию KAIF", "есть ли обновление фреймворка".
---
# /kaif-version — report the deployed KAIF version & check origin for updates
> ⚙️ **The current mechanical command comes FIRST:** `npm run kaif:version`
> (`node .kaif/kaif-core.mjs version`). If this file's prose disagrees with the machinery, trust the
> machinery and the origin release notes — an adopted local copy of a lifecycle skill goes stale
> silently across releases.
KAIF is deployed (injected) into a project with a specific version. This skill tells the human which
version is in the project and whether a newer one exists upstream.
## What to do
1. **Read the local marker** `.kaif/kaif.json`:
```json
{ "framework": "KAIF", "version": "X.Y", "released": "YYYY-MM-DD",
"origin": "https://github.com/MikalaiKryvusha/KAIF", "tracking": "origin", "sphere": "...", "agent": "..." }
```
Report: current version + release date, the `tracking` mode (`origin` or `fork`), the sphere and agent.
(Equivalent quick command: `npm run kaif:version`.)
2. **Check the origin for a newer release.** Query the latest release/tag of the `origin` repo, e.g.:
```bash
gh release view --repo MikalaiKryvusha/KAIF --json tagName,publishedAt 2>/dev/null \
|| gh api repos/MikalaiKryvusha/KAIF/releases/latest --jq '.tag_name + " " + .published_at'
```
Compare semantic versions (`MAJOR.MINOR`).
3. **Report to the human:**
- If up to date → say so.
- If a newer version exists → say which, and offer: *"I see a newer KAIF version (vX.Y, DATE). Want me
to run a respectful update & migration for this project?"* → if yes, hand off to `/kaif-update`.
- If `tracking` is `fork` → note that this project follows the user's own KAIF fork, not the official
origin; origin updates are informational only (see `/kaif-switch-origin` to return to official).
## Notes
- If `.kaif/kaif.json` is missing, KAIF may not be deployed here (or the marker was lost) — say so and
point to `KAIF.md` for (re)deployment.
- Read-only skill: it never changes the project. Updates go through `/kaif-update`.
- **Feedback channel** (epic M): defects and improvement wishes for KAIF itself live in `bugs/KAIF/`
(skill `/report-bug`, templates A/B — with dedup attestation); an origin-tracked deployment also
checks open origin issues for the same class before filing. Field update/install reports live in
`reports/KAIF_UPDATES/` — mention any unreported ones when reporting the version.