/cortex:upgradefrom cortex
Update the cortex to a newer kit version without touching the person's own pages - update the plugin, refresh the kit-managed block in AGENTS.md, bump the version, rebuild and save. Use when the person says "update my cortex", "upgrade my cortex", "is there a new version", "get the latest cortex", or after being told a new version is out.
Ships in cortex. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The kit (plugin) is replaced as a whole; the person's pages are never edited, moved or deleted by an update. Only the block between the markers in their AGENTS.md is rewritten.
Explain and guide them, one step at a time:
claude plugin update cortex@personal-cortex. It fetches the new version from GitHub. If claude is not found, use the newest app copy: ls -d ~/Library/Application\ Support/Claude/claude-code/*/ | tail -1, then run the claude program found under that folder (find <folder> -type f -name claude).~/.cortex/engine/.claude-plugin/plugin.json -> version.kit_version in the vault kit.yaml (vault path from ~/.cortex/config.json).~/.cortex/engine/docs/CHANGELOG.md exists, show the entries between X and Y in plain words.Run python3 ~/.cortex/engine/scripts/cortex.py backup so the current state is saved before anything changes. If it fails, stop and say why; do not upgrade without a saved copy. The one exception is a cortex with no backup set up (it says "not a git repository"): tell the person, run cp -R "<vault>" "<vault>-before-<Y>" with no trailing slash, say where the copy is, and carry on. If that copy already exists, use the one that is there and do not copy again. In section 6, skip steps 3 and 4 and the backup in step 5, and tell them "say 'set up my cortex' to add backup".
If the vault has a CLAUDE.md that contains the <!-- cortex:begin marker, and no AGENTS.md:
CLAUDE.md to AGENTS.md unchanged, so their own notes below the markers come along.CLAUDE.md with the single line @AGENTS.md.~/.cortex/engine/templates/vault/GEMINI.md into the vault if it is missing.AGENTS.md, CLAUDE.md and GEMINI.md.AGENTS.md and the template ~/.cortex/engine/templates/vault/AGENTS.md.<!-- cortex:begin to the line <!-- cortex:end --> in the vault file with the same block from the template (the begin line carries a version and a note, so match its start, not the whole line). Keep every line outside the markers exactly as it was.If ~/.cortex/engine/migrations/ contains steps numbered above the old version, describe each in plain words, ask for a yes, then run them in order. Each migration must only add or rename fields or folders as it describes; if one wants to delete pages, stop and ask.
kit_version: Y in kit.yaml and "kit_version": "Y" in ~/.cortex/config.json (keep other keys).python3 ~/.cortex/engine/scripts/cortex.py build - fix any errors before continuing.git -C <vault> add -- AGENTS.md kit.yaml home.md _cortex/ plus any files a migration changed, by name.git -C <vault> commit -m "upgrade: kit X -> Y" then cortex.py backup.~/Library/LaunchAgents/com.cortex.backup.plist exists, run python3 ~/.cortex/engine/scripts/cortex.py install-backup once, so the weekly backup gets the newest code. It may save and push right away. Say: "Your weekly backup now catches up if your Mac was off on Sunday."cortex.py doctor and show the result."Only the kit's own section of your instructions changed; every page you wrote is exactly as it was, and your backup has the version from before the update." With teach: short: "Updated to Y - your pages untouched."
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub thehimanshushukla/personal-cortex --plugin cortex16 skills in this plugin
/boardOpen the person's board and inbox in the browser - their to-dos and follow-ups in columns (Overdue, This week, Later, In progress, Waiting on others, Done) and the notes waiting to be filed. Use when the person says "show my board", "open my board", "my board", "open the inbox", "show me the overdue ones on the board", or the card says "say 'show my board'"./build-skillBuild an improvement the person approved - a new skill, a standing rule, a page template, a scheduled job, or an automatic action - grounded in their real examples and started on a 30-day trial. Use after a "yes" to a Suggest proposal, or when the person says "make this a skill", "turn this into a skill", "automate this", "always do this from now on", "make a template for this", or "do this every Friday"./