# --disable-slash-commands Flag

> It turns off all skills and slash commands for a session.

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** claude --disable-slash-commands

## Think of it like

It is like you put all the game cards away. Then only plain play is left.

## Definition

--disable-slash-commands turns off all skills and slash commands for this session. Typing a slash does nothing special, and Claude cannot call a skill on its own. It is handy for a clean test, or for a session where a skill should never run.

## Example

Emma is checking if a skill is the reason Claude acts oddly. She starts with --disable-slash-commands, and the odd step is gone.

## Example code

```bash
claude --disable-slash-commands
```

Start with no skills or slash commands.

## Why it matters

It shows how Claude acts on its own, without any skill steering it.

## Common mistake

Expecting it to turn off plugins or MCP servers. Their skills and commands go, but their other parts still load.

## Three principles

- **No skills.** No slash commands.
- **This session only.** Nothing deleted.
- **For clean tests.** Or locked runs.

## Related terms

- [Claude Code Skill](https://learn.benibix.com/term/ai/claude-code-skill)
- [Claude Code Slash Command](https://learn.benibix.com/term/ai/claude-code-slash-command)
- [--safe-mode Flag](https://learn.benibix.com/term/ai/safe-mode-flag)

## Taught in

- [The claude plugin Commands](https://learn.benibix.com/learn/ai-claude-code-commands/claude-plugin-commands): Claude Code Commands, 13/17

---

Source: https://learn.benibix.com/term/ai/disable-slash-commands-flag
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
