SuperAPI AI Directory

nmt-upgrade

General & other

View repository

Updated 10-16 05:45

About this skill

nmt-upgrade — update to the latest canon + skills

Installed-suite Canon anchor. When this Skill is installed with the full suite, the bundled Canon is available at ../nmt-chat/references/Next-Move-Theory-Canon/. This packaging pointer does not change the Legacy updater's project-root target.

Re-runs the official Next Move Theory installer from the project root. The installer clones the public repo (zamesin/Next-Move-Theory-Canon-and-Skills, branch main) and refreshes, in place:

  • Next-Move-Theory-Canon/ — the canon
  • .claude/skills/nmt-* — Claude skills (invoke with /nmt-…)
  • .agents/skills/nmt-* — Codex skills (invoke with $nmt-…)
  • the <!-- Next-Move-Theory-Rules:start … end --> block in CLAUDE.md and AGENTS.md
  • NextMoveTheory-README.md

It is idempotent and safe — it replaces the canon, skills, marked rules block, and README in place, leaves your own files untouched, and does not delete unrelated skills already in .claude/skills or .agents/skills.

Steps

  1. Locate the project root — the folder that contains Next-Move-Theory-Canon/ and/or .claude/skills/. That is where the canon + skills must be refreshed. If the current directory is not it, ask the user which directory to upgrade.
  2. Run the installer from that directory:
    curl -fsSL https://nextmovetheory.com/install.sh | bash
    
    (Windows / PowerShell: irm https://nextmovetheory.com/install.ps1 | iex.)
  3. Report what changed. Show the installer's final summary. If the project is a git repo, run git status --short and list which canon files / skill folders were added or modified so the user sees exactly what the upgrade pulled in.
  4. Confirm done. Tell the user the upgrade is complete and that any new/updated skills are available immediately (e.g. /nmt-diagnose, /nmt-chat). No restart is needed.

Notes

  • Best-effort. The installer needs curl and git. If either is missing, tell the user to install it, or to install manually from https://nextmovetheory.com.
  • Non-destructive. Your own CLAUDE.md / AGENTS.md content outside the marked rules block is preserved; unrelated skills are left alone.
  • Source of truth. What gets installed is always the current main of the public repo — the installer clones it fresh on every run, so there is no stale cache for the canon or skills.