Skip to content
Back to skills

Kaif Switch Origin

ASecurity

Switch this project's KAIF tracking from the user's fork back to the official origin (Mikalai Kryvusha's repo), performing a respectful migration that preserves the project and its content artifacts. Use when the human says "switch back to official KAIF", "track the origin again", "return to upstream KAIF", "вернись на официальный KAIF", "переключись обратно на origin".

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 22, 2026
ai-agentsgogit

Security analysis

A100/100

Scanned November 22, 2026

npx -y skills add MikalaiKryvusha/KAIF --skill kaif-switch-origin --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Kaif Switch Origin?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Kaif Switch Origin
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mikalaikryvusha-kaif-switch-origin-kaif/badge)](https://www.skillsdirectory.com/skills/mikalaikryvusha-kaif-switch-origin-kaif)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: kaif-switch-origin
description: >-
  Switch this project's KAIF tracking from the user's fork back to the official origin (Mikalai Kryvusha's repo), performing a respectful migration that preserves the project and its content artifacts. Use when the human says "switch back to official KAIF", "track the origin again", "return to upstream KAIF", "вернись на официальный KAIF", "переключись обратно на origin".
whenToUse: >-
  Switch this project's KAIF tracking from the user's fork back to the official origin (Mikalai Kryvusha's repo), performing a respectful migration that preserves the project and its content artifacts. Use when the human says "switch back to official KAIF", "track the origin again", "return to upstream KAIF", "вернись на официальный KAIF", "переключись обратно на origin".
---

# /skill:kaif-switch-origin — return tracking to the official origin

> ⚙️ **Staleness warning:** this is a lifecycle procedure, and an adopted local copy of it goes stale
> silently across releases. Before following it, verify the procedure against the CURRENT origin
> release notes — the machinery and the release page win over this file's prose.

The inverse of `/skill:kaif-fork`. A project that was tracking the user's own KAIF fork can return to the
official origin (`MikalaiKryvusha/KAIF`), reconciling the two lineages respectfully.

## Procedure

1. **Read `.kaif/kaif.json`** — confirm `tracking: "fork"` and note the current (fork) version.
2. **Confirm with the human** — switching lineages can be significant if the fork diverged a lot. Make
   sure they want the official origin's evolution, not their fork's.
3. **Respectful migration to origin:** fetch the official origin's current `KAIF.md`; diff against
   the deployed (fork-derived) wrapper; apply the same careful 3-way merge as `/skill:kaif-update` — preserve
   local customizations where possible, surface conflicts, **never** touch content artifacts or the
   user's project files.
4. **Switch tracking:** set `origin` back to `https://github.com/MikalaiKryvusha/KAIF` and
   `tracking: "origin"` in `.kaif/kaif.json`; stamp the origin version + date.
5. **Validate, report, commit:** `npm run kaif:check`; summarize what reconciled and any conflicts left;
   commit `chore: switch KAIF tracking to origin vX.Y (DATE)`.

## Notes
- If the fork had valuable improvements, consider contributing them upstream (a PR to the origin) before
  switching, so they aren't lost.
- As always: respectful — the project stays whole and working throughout.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.