# @claude Mention

> Writing @claude in a GitHub comment to give Claude a task.

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** @claude, trigger_phrase, Claude trigger phrase

## Think of it like

It is like calling out a friend's name so they come over.

## Definition

An @claude mention is the phrase that wakes Claude up in a GitHub workflow. When a workflow has no prompt of its own, Claude waits for @claude in a comment, a review or a new issue. Then it reads the request and the thread, and answers there. The person who writes it must have write access to the repository. The trigger_phrase input can change the word.

## Example

Lucy reviews a pull request and spots a missing test. She writes @claude add a test for this, and Claude pushes one to the same branch.

## Example code

```text
@claude add a test for the empty cart case
```

A comment that hands Claude a task.

## Why it matters

Anyone on the team can give Claude a job right where they talk about it.

## Common mistake

Expecting a bot's comment to start it. Bots are turned away unless listed, which stops Claude from setting itself off in a loop.

## Three principles

- **Wakes Claude up.** In a comment.
- **Write access needed.** For the person.
- **Can be renamed.** With trigger_phrase.

## Related terms

- [Claude Code GitHub Actions](https://learn.benibix.com/term/ai/claude-code-github-actions)
- [@claude review](https://learn.benibix.com/term/ai/claude-review-comment)
- [Claude Code in Slack](https://learn.benibix.com/term/ai/claude-code-in-slack)

## Told apart from

- [@claude vs @claude review](https://learn.benibix.com/compare/claude-mention-vs-claude-review-comment): People think @claude and @claude review start the same thing. They do not. A plain @claude mention starts the GitHub Action, which needs a workflow file and runs on a GitHub runner. @claude review starts Code Review, a service with no workflow file. In a repo that has both, @claude review starts the Action too. So give the Action its own trigger phrase.

![A comment that says @claude starts a workflow. Claude Code runs on the runner and answers with a comment or a pull request.](https://learn.benibix.com/diagrams/ci-github-actions.svg)

---

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