Who it is forA repository admin who wants teammates to ask Claude questions or request changes from PR comments.
The problemSetting up a GitHub App, secrets and a workflow file by hand is easy to get wrong.
The outcomeThe action installed, so Claude answers questions and makes changes from PR and issue comments.
What you need first
- A GitHub repository where you are an admin (to install the app and add secrets)
- Claude Code in the terminal for the quickstart, with a direct Anthropic API key
- Or AWS Bedrock, Google Vertex AI or Microsoft Foundry, set up through the cloud providers guide
Steps
- Open claude in your terminal inside the repository
- Run the /install-github-app command and follow the prompts
- Confirm the GitHub app and the API key secret were added
- Mention Claude in a PR comment with a question to test it
Prompt for your agent
Install anthropics/claude-code-action on <repo> using /install-github-app in Claude Code, confirm the secrets, then open a test PR comment asking Claude to explain one function.
Caveat. The quickstart works only for direct Anthropic API users; Bedrock, Vertex AI and Foundry need the cloud providers guide.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for anthropics/claude-code-action and "Add Claude to your GitHub repo's pull requests and issues"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer