{"version":"2.1.323","anchor":"skill-sync-gate-function","canonical_anchor":"skill-sync-gate-function","heading":"Skills sync now runs only when several conditions are met","tier":"notice","area":"Skills","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.323\/e\/skill-sync-gate-function","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.323","markdown":"### Skills sync now runs only when several conditions are met\n\nSkills sync now needs `CLAUDE_CODE_SYNC_SKILLS`, an interactive session and no `ANTHROPIC_UNIX_SOCKET` before it turns on\n\n**Unclear.** It is not clear what the other checks test, so a session meeting the listed conditions may still not sync skills.\n\n**What**\n\nClaude Code now checks a set of conditions before it turns on skills sync, the downloading of skills (packaged instructions Claude can use) onto your machine. All of these must hold:\n\n- `CLAUDE_CODE_SYNC_SKILLS` is set, an environment variable (a named setting given to Claude Code when it starts)\n\n- The session is interactive, meaning you are typing into it, not running it from a script\n\n- `ANTHROPIC_UNIX_SOCKET` is not set\n\n- A few other checks pass\n\n**Why**\n\nSkills sync stays something you opt into, and it is turned off when Claude Code is launched with `ANTHROPIC_UNIX_SOCKET`.\n\n- Area: Skills\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}