# /hooks Command

> It lists your hooks and where each one comes from.

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** /hooks, Hooks menu

## Think of it like

It is like a list of the house alarms, and who set each one.

## Definition

/hooks opens a list of the hooks set up in your session, which you can read but not change. Each hook says the event it runs on and where it came from: your user settings, the project's settings, a plugin or this session. Pick one to see the full command it runs and the file that holds it. To change or remove a hook, edit that file.

## Example

A hook keeps formatting Emma's files, and she cannot find where it is set. /hooks shows it comes from a plugin, not her settings.

## Example code

```console
/hooks
```

See every hook and where it was set.

## Why it matters

Hooks run on their own, so a strange one is hard to trace. This shows each one and its source.

## Common mistake

Trying to edit a hook in the list. The list is read-only. Change the settings file or plugin it names.

## Three principles

- **Read-only list.** Every hook.
- **Shows the source.** Settings, plugin, session.
- **Edit the file.** To change one.

## Related terms

- [/update-config Command](https://learn.benibix.com/term/ai/update-config-command)
- [Claude Code Plugin](https://learn.benibix.com/term/ai/claude-code-plugin)
- [/debug Command](https://learn.benibix.com/term/ai/debug-command)

## Taught in

- [MCP, Skills and Hooks Menus](https://learn.benibix.com/learn/ai-claude-code-commands/mcp-skills-and-hooks-menus): Claude Code Commands, 11/17

![The /hooks list. Each hook shows the event it runs on and where it was set: user settings, project settings, a plugin or this session.](https://learn.benibix.com/diagrams/cmd-hooks.svg)

---

Source: https://learn.benibix.com/term/ai/hooks-command
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-16
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
