/kai-upgrade — Self-Updater

SkillDev tools

Update kai-marketing to the latest version. Pulls latest code, re-registers skills, shows what changed. Does NOT modify content state or MARKETING.md.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the /kai-upgrade — Self-Updater skill

What this skill tells your AI

The instructions your AI receives, as published by cgallic/kai-cmo-harness in legacy/kai-upgrade/SKILL.md and read by ahel’s review.

Update kai-marketing to the latest version. Safe — only updates skill definitions, knowledge files, and bin/ tools. Never touches your content state, config, or MARKETING.md.

The Skill

Step 1: Detect Install Location

Find the kai-marketing root directory:

KAI_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
echo "Install location: $KAI_ROOT"

Check if it's a git repo:

cd "$KAI_ROOT" && git rev-parse --is-inside-work-tree 2>/dev/null

If not a git repo: "This install was copied, not cloned. Re-install with: git clone https://github.com/cgallic/kai-marketing.git ~/.claude/skills/kai-marketing"

Step 2: Check Current Version

cat "$KAI_ROOT/VERSION"

Step 3: Pull Latest

cd "$KAI_ROOT" && git pull origin main 2>&1

If pull fails (network, conflicts): Show the error and suggest manual resolution.

Step 4: Show What Changed

OLD_VERSION=$(git show HEAD~1:VERSION 2>/dev/null || echo "unknown")
NEW_VERSION=$(cat VERSION)
echo "Updated: v${OLD_VERSION} → v${NEW_VERSION}"

Show recent changelog entries:

git log --oneline -10

If a CHANGELOG.md exists, show entries between old and new version.

Step 5: Re-Register Skills

cd "$KAI_ROOT" && ./setup

Step 6: Confirm

kai-marketing upgraded: v{old} → v{new}
  Skills re-registered
  Knowledge base updated
  Content state untouched

Signals

GitHub stars
47
Forks
6
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
kai-upgrade
Source
github.com/cgallic/kai-cmo-harness