cortex-updatelisted
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