Skip to content
BENIBIX Learn

@claude Mention

AI⌨️ Claude CodeIntegrations

Also known as @claude, trigger_phrase, Claude trigger phrase

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

Think of it like

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

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.

Why it matters

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

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 code

text
@claude add a test for the empty cart case
A comment that hands Claude a task.
The @claude comment is where the workflow begins.

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.

Key takeaways

  1. 1
    Wakes Claude up. In a comment.
  2. 2
    Write access needed. For the person.
  3. 3
    Can be renamed. With trigger_phrase.

Compare