Claude-codex-settings setup
This skill should be used when the user asks "how to setup GitHub CLI", "configure gh", "gh auth not working", "GitHub CLI connection failed", "gh CLI error", or needs help with GitHub authentication.
install
source · Clone the upstream repo
git clone https://github.com/fcakyon/claude-codex-settings
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/fcakyon/claude-codex-settings "$T" && mkdir -p ~/.claude/skills && cp -r "$T/plugins/github-dev/skills/setup" ~/.claude/skills/fcakyon-claude-codex-settings-setup-a0bfc8 && rm -rf "$T"
manifest:
plugins/github-dev/skills/setup/SKILL.mdsource content
GitHub CLI Setup
Configure
gh CLI for GitHub access.
Check Current Status
gh auth status
Report one of these states:
is not authenticated and needs logingh
is authenticated, including the current username if availablegh
Login Flow
If authentication is missing or broken, guide the user through:
gh auth login
Select: GitHub.com -> HTTPS -> Login with browser
Verify Authentication
gh auth status gh api user --jq '.login'
Troubleshooting
If
gh commands fail:
- Check authentication -
gh auth status - Re-login if needed -
gh auth login - Check scopes - Ensure the token has repo access
- Refresh auth -
gh auth refresh - Update gh -
or equivalentbrew upgrade gh