← ClaudeAtlas

cortex-updatelisted

Update the cortex-x install on this machine — fetch latest source, fast-forward if possible, re-run installer. Wraps the bin/cortex-update.cjs CLI. Useful weekly or when CHANGELOG mentions a new version. Triggers (EN+CZ) "/cortex-update", "update cortex", "upgrade cortex", "cortex je staré", "aktualizuj cortex", "what's new in cortex", "is there a cortex update", "máš novou verzi cortexu". Safe by default — refuses on dirty tree, only fast-forwards (never rewrites history), aborts cleanly on network failure. After update finishes, recommends `claude` session restart so Claude Code reloads the refreshed `~/.claude/shared/`.
Rejnyx/cortex-x · ★ 2 · AI & Automation · score 71
Install: claude install-skill Rejnyx/cortex-x
# /cortex-update — fetch latest + re-install on top You are running the cortex-x updater. Goal: report whether the local install is behind, offer to update, and explain the session-restart implication AFTER the update finishes. **Voice charter:** see [`standards/voice.md`](../../../standards/voice.md). No greetings, no emoji, no emotion words. Counts not praise. ## Why this skill is thin `cortex-update` is a real CLI shipped at `~/.claude/shared/bin/cortex-update` (and `bin/cortex-update.cjs` in source). This skill exists for discoverability — running the CLI directly in terminal is functionally identical. The only thing the skill adds: the session-restart explanation + a Czech/English UX wrapper. ## Step 1 — language signal Read prior-turn language. If Czech, answer in Czech. Otherwise English. ## Step 2 — check first, never auto-pull Run the CLI in `--check` mode via Bash tool — this is read-only (fetch + compare, no pull, no installer run): ```bash cortex-update --check ``` Fallback if shim isn't on PATH: ```bash node ~/.claude/shared/bin/cortex-update.cjs --check ``` Or in `--json` mode for structured parsing: ```bash cortex-update --json ``` The JSON schema is: ```json { "ok": true|false, "status": "up_to_date" | "behind" | "ahead" | "diverged" | "dirty" | "no_remote" | "offline", "behind_by": N, "ahead_by": N, "current_sha": "<short>", "remote_sha": "<short>", "source_path": "<abs>", "channel": "stable" | "beta" } ``` ## Step 3 — report s