Anthropic Adds GitHub Issue Triggers to Automate Claude Code Triage

Agentic Coding
Claude Code
AI Agent

Anthropic Adds GitHub Issue Triggers to Automate Claude Code Triage
Anthropic added GitHub Issue triggers to Claude Code Routines, the cloud-based engine that runs autonomous background workflows. While previous triggers were limited to schedules or manual execution, this update allows a routine to fire automatically whenever a new issue is opened in a connected repository.

This update transitions Claude Code from a proactive tool to a reactive, event-driven agent. By supporting GitHub event triggers, the system can now act as a persistent team member. It builds on the Monitor tool, which first introduced event-driven execution to reduce token consumption.

You can use these triggers to build auto-triage workflows that summarize, label, or investigate incoming bug reports. This capability is available through the Claude Code web interface and CLI. It complements the Once trigger for deferred tasks, providing a complete suite of automation options for repository maintenance.

Read the full update →

Frequently asked questions

What are Claude Code Routines?
Claude Code Routines are autonomous, cloud-based workflows that allow Anthropic's coding agent to perform tasks in the background. Unlike standard terminal sessions, routines run on managed web infrastructure, meaning they can execute repeatable prompts and repository maintenance tasks without requiring a user to keep their local computer or terminal active.
How do GitHub Issue triggers work in Claude Code?
GitHub Issue triggers allow a routine to start automatically whenever a new issue is created in a repository. When the event occurs, Claude Code launches a background session to process the issue. This enables event-driven automation where the agent reacts to external repository activity in real-time rather than waiting for a manual command.
What are the main use cases for GitHub triggers in Claude Code?
The primary use case for these triggers is automated issue triage. When a new bug report or feature request is submitted, the agent can immediately categorize the issue, apply relevant labels, or perform an initial investigation. This reduces the manual workload for maintainers by ensuring every incoming report receives a response.
What types of triggers are available for Claude Code Routines?
Claude Code Routines currently support three main trigger types: scheduled, API, and GitHub events. Users can set tasks to run on a recurring schedule, invoke them via HTTP POST requests using an API token, or configure them to react to specific GitHub events like the creation of new issues or pull requests.
Where can I access and set up Claude Code Routines?
You can get started with these automations by visiting the dedicated routines page on the Claude website. From there, you can connect your repositories and configure the specific prompts and triggers for your background agents. The tool is designed to work alongside the Claude Code command-line interface for seamless workflow management.