Gh Safe

Use this skill whenever you are about to run any write `gh` CLI command — `gh pr edit`, `gh pr create`, `gh issue edit`, `gh issue create`, `gh pr comment`, `gh issue comment`, `gh pr close`, `gh pr merge`, `gh release create`, or similar. High-level `gh` commands sometimes fail with "missing required scopes" auth errors even though the underlying GitHub REST API works fine with the same token. This skill makes you automatically fall back to `gh api` instead of stopping to ask the user to re-authenticate. Always invoke before running any mutating `gh` command.

blockscout 1a31eb9 2 files · 4.5 KB Updated

File contents

blockscout/mcp-server/tree/main/.agents/skills/gh-safe commit 1a31eb9622

Frequently asked questions

npx skillmds@latest add blockscout/gh-safe