Agent skill
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 this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/setup-fcakyon-claude-codex-setting
SKILL.md
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
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?