openai-gh-address-comments
Help address review/issue comments on the open GitHub PR for the current branch using gh CLI; verify gh auth first and prompt the user to authenticate if not logged in. Originally from OpenAI's curated skills catalog.
How do I install this agent skill?
npx skills add https://github.com/trailofbits/skills-curated --skill openai-gh-address-commentsIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill allows the agent to address GitHub PR comments by fetching them via the GitHub CLI. It is vulnerable to indirect prompt injection because it processes untrusted text from PR comments and reviews, which could contain malicious instructions that the agent might execute while 'applying fixes'.
- Socketpass
No alerts
- Snykwarn
Risk: MEDIUM · 1 issue
- Runlayerwarn
2/2 files flagged
What does this agent skill do?
PR Comment Handler
Guide to find the open PR for the current branch and address its comments with gh CLI. Run all gh commands with elevated network access.
1) Inspect comments needing attention
- Run scripts/fetch_comments.py which will print out all the comments and review threads on the PR
2) Ask the user for clarification
- Number all the review threads and comments and provide a short summary of what would be required to apply a fix for it
- Ask the user which numbered comments should be addressed
3) If user chooses comments
- Apply fixes for the selected comments
Notes:
- If gh hits auth/rate issues mid-run, prompt the user to re-authenticate with
gh auth login, then retry.
When to Use
<!-- TODO: review -->When NOT to Use
<!-- TODO: review -->How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/trailofbits/skills-curated/openai-gh-address-comments">View openai-gh-address-comments on skillZs</a>