gh-cli

Enforce authenticated gh CLI usage for GitHub repository operations.

Updated Jun 9, 2026
One-click install
npx skills add https://github.com/iiammae/opero --skill gh-cli-iiammae
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-cli
Source: https://github.com/iiammae/opero/tree/main/.agents/skills/gh-cli
Command: npx skills add https://github.com/iiammae/opero --skill gh-cli-iiammae

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

The gh-cli Skill ensures that GitHub operations are performed securely using the authenticated gh CLI, thereby avoiding the risks associated with unauthenticated access via curl, wget, or web fetches.

Core Features & Use Cases

  • Authenticated Workflow: Encourages use of the gh CLI for GitHub actions to maintain security.
  • Prevents Unauthenticated Access: Protects against security vulnerabilities by avoiding direct HTTP requests.
  • Use Case: When working on private GitHub repositories, using the gh CLI for actions like viewing a repository or a pull request can enhance security by ensuring that operations are performed with the necessary authentication.

Quick Start

Run 'gh repo view owner/repo' to view a GitHub repository securely using the gh CLI.

Frequently Asked Questions about gh-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I access private GitHub repositories securely via the command line?

Use the gh CLI for secure GitHub operations, enforcing authenticated access to private repositories via API calls, pull requests, and issues while avoiding unauthenticated web fetches.

Why should I use the gh CLI instead of curl for GitHub API requests?

You should use the gh CLI instead of curl because it enforces authenticated workflows, preventing security vulnerabilities associated with unauthenticated direct HTTP requests to private repositories.

Do I need to install the gh CLI tool to view GitHub pull requests securely?

Yes, you need to install the gh CLI tool because the Skill requires it for execution to enforce secure, authenticated operations when viewing GitHub repositories or pull requests.

What GitHub actions can I perform securely using the gh CLI?

Using the gh CLI, you can securely perform GitHub actions such as viewing repositories, managing pull requests, and handling issues while maintaining necessary authentication for private repository access.

When should I avoid unauthenticated web fetches for GitHub operations?

Avoid unauthenticated web fetches when working on private GitHub repositories, as direct HTTP requests lack necessary authentication; use the gh CLI to maintain secure, authorized operations.