Skip to main content

gh-cli

Provides a comprehensive reference for using GitHub CLI to manage repositories, issues, pull requests, and more from the command line.

Install this skill

or
10/100

Security score

The gh-cli skill was audited on Jun 7, 2026 and we found 22 security issues across 4 threat categories, including 4 high-severity. Review the findings below before installing.

Categories Tested

Security Issues

medium line 21

Curl to non-GitHub URL

SourceSKILL.md
21curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
low line 656

Access to hidden dotfiles in home directory

SourceSKILL.md
656gh repo deploy-key add ~/.ssh/id_rsa.pub \
low line 1730

Access to hidden dotfiles in home directory

SourceSKILL.md
1730gh ssh-key add ~/.ssh/id_rsa.pub --title "My laptop"
low line 1733

Access to hidden dotfiles in home directory

SourceSKILL.md
1733gh ssh-key add ~/.ssh/id_ed25519.pub --type "authentication"
low line 1749

Access to hidden dotfiles in home directory

SourceSKILL.md
1749gh gpg-key add ~/.ssh/id_rsa.pub
low line 1932

Access to hidden dotfiles in home directory

SourceSKILL.md
1932gh completion -s bash > ~/.gh-complete.bash
low line 1933

Access to hidden dotfiles in home directory

SourceSKILL.md
1933gh completion -s zsh > ~/.gh-complete.zsh
low line 1934

Access to hidden dotfiles in home directory

SourceSKILL.md
1934gh completion -s fish > ~/.gh-complete.fish
low line 1935

Access to hidden dotfiles in home directory

SourceSKILL.md
1935gh completion -s powershell > ~/.gh-complete.ps1
low line 2111

Access to hidden dotfiles in home directory

SourceSKILL.md
2111# Add to ~/.bashrc or ~/.zshrc
high line 656

Access to SSH directory

SourceSKILL.md
656gh repo deploy-key add ~/.ssh/id_rsa.pub \
high line 1730

Access to SSH directory

SourceSKILL.md
1730gh ssh-key add ~/.ssh/id_rsa.pub --title "My laptop"
high line 1733

Access to SSH directory

SourceSKILL.md
1733gh ssh-key add ~/.ssh/id_ed25519.pub --type "authentication"
high line 1749

Access to SSH directory

SourceSKILL.md
1749gh gpg-key add ~/.ssh/id_rsa.pub
medium line 21

Access to system keychain/keyring

SourceSKILL.md
21curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
medium line 22

Access to system keychain/keyring

SourceSKILL.md
22echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.lis
low line 21

External URL reference

SourceSKILL.md
21curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
low line 22

External URL reference

SourceSKILL.md
22echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.lis
low line 469

External URL reference

SourceSKILL.md
469gh repo create my-repo --homepage https://example.com
low line 557

External URL reference

SourceSKILL.md
557gh repo edit --homepage https://example.com
low line 643

External URL reference

SourceSKILL.md
643--url-template https://jira.example.com/browse/<num>
low line 2184

External URL reference

SourceSKILL.md
2184- Official Manual: https://cli.github.com/manual/
Scanned on Jun 7, 2026
View Security Dashboard