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
npx skills add https://github.com/fcakyon/claude-codex-settings/tree/main/plugins/github-dev/skills/setup
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install fcakyon-claude-codex-settings@llmmart
git clone https://github.com/fcakyon/claude-codex-settings.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole fcakyon/claude-codex-settings collection as a plugin from our marketplace. Git is the plain clone.
Skill manifest
GitHub CLI Setup
Configure gh CLI for GitHub access.
Check Current Status
gh auth status
Report one of these states:
ghis not authenticated and needs loginghis authenticated, including the current username if available
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 -
brew upgrade ghor equivalent
Files (claude-codex-settings)
-
SKILL.md 1009 B
--- name: setup description: 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. --- # GitHub CLI Setup Configure `gh` CLI for GitHub access. ## Check Current Status ```bash gh auth status ``` Report one of these states: - `gh` is not authenticated and needs login - `gh` is authenticated, including the current username if available ## Login Flow If authentication is missing or broken, guide the user through: ```bash gh auth login ``` Select: GitHub.com -> HTTPS -> Login with browser ## Verify Authentication ```bash gh auth status gh api user --jq '.login' ``` ## Troubleshooting If `gh` commands fail: 1. **Check authentication** - `gh auth status` 2. **Re-login if needed** - `gh auth login` 3. **Check scopes** - Ensure the token has repo access 4. **Refresh auth** - `gh auth refresh` 5. **Update gh** - `brew upgrade gh` or equivalent
Comments (0)
Sign in to join the conversation.
Reviews (0)
No reviews yet.
No comments yet.