agentsclimarketplace

Kai upgrade

Skill cgallic/kai-cmo-harness/legacy/kai-upgrade

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

Install
npx -y skills add cgallic/kai-cmo-harness --skill kai-upgrade

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.

SKILL.md

1.6 KB, 405 tokens by cl100k_base, as published. Nobody here has run it

/kai-upgrade — Self-Updater

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

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.