gh-api
Installation
SKILL.md
PR Review Exclusion
Do NOT use gh api for any PR review operations: reading comments, posting replies, managing
reviews, or viewing review threads. Use gh-review for all review workflows. Load the
gh-pr-review skill for details.
Output Filtering
Mutation responses (POST, PATCH, PUT, DELETE) return the full object by default, which
wastes context tokens. Always pipe through --jq to extract only the fields you need.
General pattern
For any mutation, append --jq selecting the fields the caller actually needs. Typical minimal set:
{id, body, html_url}. Add state, title, or number when relevant.