Description
Install the GitHub CLI (gh) if not already installed
SKILL.md
Install GitHub CLI
Before using any gh commands, check if gh is installed by running:
gh --version
If gh is not found, install it based on the operating system:
macOS
brew install gh
Linux (Debian/Ubuntu)
(type -p wget >/dev/null || (sudo apt update && sudo apt-get install wget -y)) && sudo mkdir -p -m 755 /etc/apt/keyrings && out=$(mktemp) && wget -nv -O$out https://cli.github.com/packages/githubcli-archive-keyring.gpg && cat $out | sudo tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null && sudo chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg && echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null && sudo apt update && sudo apt install gh -y
Windows
winget install --id GitHub.cli
After installation
Authenticate with GitHub:
gh auth login
If the user needs notifications access, ensure the token has the notifications scope:
gh auth refresh -s notifications
Disable the pager to prevent terminal buffer issues:
gh config set pager cat
More skills from the vscode-team-kit repository
View all 14 skillscouncil-plan
perform multi-model council planning
May 13ArchitectureEngineeringMulti-AgentSystem Designcouncil-review
perform multi-model council code reviews
May 13Code ReviewEngineeringMulti-AgentPull Requestsfollow-goal
manage agent goals and stopping conditions
Jul 7AgentsMicrosoftProductivityinbox-add-reaction
add reactions to GitHub issues and PRs
Jul 7GitHubPull Requestsinbox-mark-all-read
mark GitHub notifications as read
May 13GitHubProductivityinbox-memory
manage agent memory and rules
May 13AgentsConfigurationMemory
More from Microsoft
View publisherrushstack-best-practices
manage Rush monorepos with best practices
rushstack
Apr 6EngineeringLocal DevelopmentMicrosoftProject Management +1azure-ai-agents-persistent-dotnet
build AI agents with Azure .NET SDK
skills
Jul 3.NETAgentsAzureLLMazure-ai-anomalydetector-java
build anomaly detection applications with Java
skills
May 13AnalyticsAzureData AnalysisJava +2azure-ai-contentsafety-java
build content moderation applications with Azure AI
skills
Jul 7AI InfrastructureAzureJavaSecurityazure-ai-contentsafety-py
detect harmful content with Azure AI Content Safety
skills
Jul 18AzureComplianceLLMMicrosoft +2azure-ai-language-conversations-py
implement conversational language understanding with Python
skills
Jul 31AnalyticsAzureLLMPython
