{"name":"\/code","slug":"code","family":"slash","title":"Slash commands","noun":"slash command","description":"Registering a repo root now accepts launch-time --add-dir roots and clearly rejects duplicates or bad paths.","description_source":"entry","described_by":{"version":"2.1.219","anchor":"register-repo-root-accepts-launch-time-roots-and-rejects-dup"},"presence":{"first_seen":null,"removed_in":null,"in_current_build":false,"newest_mined":"2.1.308","builds":0,"mined_builds":149,"first_cited":{"version":"2.1.136","released_at":"2026-05-08 16:30:41","spans":4}},"aliases":[],"entries":[{"version":"2.1.307","anchor":"claude-code-ignore-persisted-trust-makes-workspace-trust-rec","heading":"New CLAUDE_CODE_IGNORE_PERSISTED_TRUST makes earlier workspace trust not count","line":"With `CLAUDE_CODE_IGNORE_PERSISTED_TRUST` set, Claude Code ignores every saved record that you trusted a workspace","released_at":"2026-10-21 20:47:18","reason":"found in this entry's text"},{"version":"2.1.307","anchor":"windows-sandbox-uninstall-command","heading":"New claude sandbox uninstall command removes the Windows sandbox","line":"On native Windows, `claude sandbox uninstall` removes the sandbox account, group, stored password and network filters, then lists what remains","released_at":"2026-10-21 20:47:18","reason":"found in this entry's text"},{"version":"2.1.307","anchor":"update-added-to-the-slash-command-category-map-as-an-action","heading":"\/update is now listed as an action command","line":"Claude Code's grouping of slash commands now files `\/update` under the \"action\" category","released_at":"2026-10-21 20:47:18","reason":"found in this entry's text"},{"version":"2.1.307","anchor":"new-hidden-cli-flag-runner-declares","heading":"A new hidden --runner-declares command-line flag","line":"Claude Code now recognises a hidden `--runner-declares` flag, listed beside flags used for launching sessions elsewhere","released_at":"2026-10-21 20:47:18","reason":"found in this entry's text"},{"version":"2.1.307","anchor":"plugin-refresh-announces-fresh-loads-subtask-refactor-wri","heading":"Plugin refresh, \/subtask and a new writer setting","line":"Plugin refresh now marks fresh loads, `\/subtask` was reorganised, and settings gain a `writer` entry with `fable` and `opus` values","released_at":"2026-10-21 20:47:18","reason":"found in this entry's text"},{"version":"2.1.307","anchor":"claude-code-disable-artifact-env-var-dropped-from-the-artifa","heading":"CLAUDE_CODE_DISABLE_ARTIFACT dropped from the Artifact tool's setting entry","line":"The Artifact tool's setting entry no longer names `CLAUDE_CODE_DISABLE_ARTIFACT`, though the variable name still appears elsewhere in Claude Code","released_at":"2026-10-21 20:47:18","reason":"found in this entry's text"},{"version":"2.1.307","anchor":"new-sshhostcommands-setting-desktop-only","heading":"New sshHostCommands setting is for Claude Desktop only","line":"The new `sshHostCommands` setting defines SSH connections whose host comes from a command, for Claude Desktop; Claude Code itself ignores it","released_at":"2026-10-21 20:47:18","reason":"found in this entry's text"},{"version":"2.1.307","anchor":"policyonlyleads-now-disables-the-admin-env-union-opt-out","heading":"A managed policy can override CLAUDE_CODE_DISABLE_ADMIN_ENV_UNION","line":"When a managed policy sets `policyOnlyLeads`, Claude Code merges admin `env` blocks even if `CLAUDE_CODE_DISABLE_ADMIN_ENV_UNION` is set","released_at":"2026-10-21 20:47:18","reason":"found in this entry's text"},{"version":"2.1.307","anchor":"model-context-window-logic-reworked-removing-the-1m-beta-as","heading":"Context window size is worked out differently, and [1m] handling was removed","line":"A model's context window is now the smaller of its stated window and a per-model value, and model names ending in `[1m]` are no longer handled","released_at":"2026-10-21 20:47:18","reason":"found in this entry's text"},{"version":"2.1.307","anchor":"claude-test-helper-messages-added","heading":"Claude Test tells you to type \/claude-test when its browser helper is not ready","line":"When the browser helper is not ready, Claude Code now says Claude Test did not run and asks you to type `\/claude-test`","released_at":"2026-10-21 20:47:18","reason":"found in this entry's text"}],"entries_total":1255,"docs":[{"source":"api","path":"about-claude\/api-credits-for-subscribers","title":"api-credits-for-subscribers","documented":false},{"source":"api","path":"about-claude\/models\/migration-guide","title":"Or, for the model with the same capabilities and no access approval requirement:","documented":false},{"source":"api","path":"about-claude\/models\/optimizing-for-cost-and-intelligence","title":"optimizing-for-cost-and-intelligence","documented":false},{"source":"api","path":"about-claude\/use-case-guides\/commerce-agents","title":"commerce-agents","documented":false},{"source":"api","path":"about-claude\/use-case-guides\/content-moderation","title":"content-moderation","documented":false},{"source":"api","path":"about-claude\/use-case-guides\/customer-support-chat","title":"customer-support-chat","documented":false},{"source":"api","path":"about-claude\/use-case-guides\/legal-summarization","title":"legal-summarization","documented":false},{"source":"api","path":"about-claude\/use-case-guides\/overview","title":"overview","documented":false},{"source":"api","path":"about-claude\/use-case-guides\/ticket-routing","title":"ticket-routing","documented":false},{"source":"api","path":"agents-and-tools\/agent-skills\/best-practices","title":"PDF Processing","documented":false}],"docs_total":12,"gates":[],"related":[],"url":"https:\/\/changelogs.core-directive.com\/reference\/slash\/code","family_url":"https:\/\/changelogs.core-directive.com\/reference\/slash.json"}