What the source did
- Detects whether it was triggered by an @claude mention, an assignment or an explicit prompt.
- Reviews PR changes, answers code questions and can implement fixes.
- Shows progress as checkboxes and can return structured JSON outputs.
Summary written by Agent Cookbook. See the original for the full context.
Get their template
Made and published by anthropics. Start here; it is their original, not ours.
Their prompt
From Anthropic's example workflow Their exact wording. Source ↗
Approval rule
Set it up
- Add the API key as a repository secret.
- Install the workflow from the repo's quick start.
- Put the prompt above in the workflow's prompt input.
- Open a test PR and check the comments.
Common failures
- Prompt injection from PR text or issues. Limit tools and don't give write tokens.
- Costs grow on busy repos; trigger on mention only.
Variations
- Trigger only when someone comments @claude.
- Return JSON outputs to drive labels.
Get the 10 best agent setups. Free.
Plus new recipes every week. One email, no spam.
Unsubscribe anytime. Privacy