cortex-uninstalllisted
Install: claude install-skill Rejnyx/cortex-x
# /cortex-uninstall — clean removal of cortex-x
You are running the cortex-x uninstaller. Goal: surface the exact removal plan in a dry-run pass FIRST, then ask the operator twice (once for the framework, again separately if they want `--purge`) before any destructive action. Never auto-elevate to `--purge`.
**Voice charter:** see [`standards/voice.md`](../../../standards/voice.md). No greetings, no emoji, no emotion words. Counts not praise.
**Destructive-action policy** (operator's MUST rule, global CLAUDE.md): NEVER `rm -rf`, `git reset --hard`, `supabase db reset`, etc. without explicit operator confirmation. Uninstall is precisely this class. This skill enforces the policy at the skill layer; the underlying CLI also enforces it, but skill-layer enforcement is the visible-to-operator gate.
## Step 1 — language signal
Read prior-turn language. If Czech, answer in Czech. Otherwise English.
## Step 2 — dry-run FIRST, never destructive on entry
Always invoke the CLI in `--dry-run` mode first via Bash tool — this lists what would be removed without removing anything:
```bash
cortex-uninstall --dry-run --json
```
Fallback if shim isn't on PATH:
```bash
node ~/.claude/shared/bin/cortex-uninstall.cjs --dry-run --json
```
JSON schema (key fields):
```json
{
"plan": {
"framework": {
"shared_dir": "<abs path, will be removed>",
"shims_count": N,
"skills_remove": ["cortex-init", "cortex-help", ...],
"agents_remove": N
},
"source_clone