Anthropic has launched support for individual Max subscription plans in the GitHub Actions integration of its AI coding assistant “Claude Code.” This enables Max plan users to utilize Claude Code in CI/CD environments without purchasing separate API keys1.
In July 2025, Anthropic announced new features for Max subscription users on GitHub. With Claude Code v1.0.44 and later, GitHub Actions integration can be configured using the /install-github-app command, enabling seamless integration through OAuth token authentication1.
Overview of Max Subscription Support
This update makes GitHub Actions integration, which previously required separate API key purchases, available with existing Max subscriptions. This provides significant benefits for individual developers and startups in terms of both cost reduction and improved convenience12.
Key features:
- Seamless integration through OAuth token authentication
- No need for separate API key purchases
- GitHub Actions available with existing Max subscriptions
- Unified access permissions for Pro/Max plans
Technical Implementation
OAuth tokens are generated using the claude setup-token command and stored in GitHub Secrets as CLAUDE_CODE_OAUTH_TOKEN. This serves as an alternative to the traditional ANTHROPIC_API_KEY, providing a more secure authentication mechanism3.
Setup Instructions
1. Update Claude Code
First, update Claude Code to v1.0.44 or later:
claude update
2. Generate OAuth Token
Generate a token using Claude Code in your local environment:
claude setup-token
This command generates an OAuth token linked to your Max subscription account. If manual generation is needed, using this command is recommended1.
3. Configure GitHub Actions Workflow
Add the following configuration to your .github/workflows/claude-assistant.yml file:
name: Claude Assistant
on:
issue_comment:
types: [created]
pull_request_review_comment:
types: [created]
issues:
types: [opened, assigned, labeled]
pull_request_review:
types: [submitted]
jobs:
claude-response:
runs-on: ubuntu-latest
steps:
- uses: anthropics/claude-code-action@beta
with:
# Max subscription users use OAuth token
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
4. Configure GitHub Secrets
Add the Secret in your repository settings:
- Navigate to repository “Settings” → “Secrets and variables” → “Actions”
- Click “New repository secret”
- Name:
CLAUDE_CODE_OAUTH_TOKEN - Value: Paste the generated OAuth token
Available Features
GitHub Actions integration enables the following automation2:
Code Reviews
Automated code reviews for pull requests, providing code quality assessments, potential bug detection, and improvement suggestions.
Automated Implementation
Automatically implement requested features or bug fixes by mentioning “@claude” in issues.
Documentation Generation
Automated generation and updates of documentation based on your codebase.
Test Code Creation
Automated generation of unit tests and integration tests for new features.
Pricing Plans and Usage Limits
Max Plans ($20-$200/month)
- Basic plan ($20/month): Approximately 10-40 prompts/5 hours
- 5x plan ($100/month): Approximately 50-200 prompts/5 hours
- 20x plan ($200/month): Approximately 200-800 prompts/5 hours3
Available models:
- Sonnet 4 (all plans)
- Opus 4 (5x and 20x plans only)
Unified access enables web interface, desktop/mobile apps, and Claude Code all under a single subscription3.
Important Notes and Limitations
Single User Focus
Anthropic emphasizes that Max subscriptions are intended for single users. For repositories with multiple users, traditional API key usage is still recommended1.
Authentication Issues
Some users have reported OAuth authentication issues, particularly in corporate network environments. In such cases, the following steps are recommended3:
- Log out with
/logoutcommand - Update Claude Code to the latest version
- Restart your terminal
- Delete existing credentials and set up again
Beta Version Limitations
Claude Code GitHub Actions is currently provided as a beta version with the following limitations2:
- Possibility of unexpected behavior changes
- Some advanced features not yet implemented
- Performance optimization ongoing
Future Outlook
Anthropic continues to improve GitHub Actions integration. Based on community feedback, the following enhancements are being considered:
- Dedicated support for enterprise plans
- More detailed logging and debugging features
- Custom workflow templates
- Enhanced third-party tool integration
Max subscription support for Claude Code’s GitHub Actions integration is gaining attention as a feature that significantly contributes to developer productivity. The ability to utilize AI assistance without purchasing expensive API keys separately is particularly beneficial for individual developers and startups.
To better understand these features, here are some helpful resources:
- The Claude Code GitHub Actions official documentation provides detailed setup guides and best practices
- Check the GitHub Marketplace for the latest version and updates of Claude Code Action
- The sample repository offers real usage examples and workflow configurations
Sources
- Claude Code GitHub Actions Issue #4 - Max subscription support - Official Anthropic announcement
- Claude Code Documentation - GitHub Actions - Official documentation
- Claude Code Repository - Official repository