Skip to content
Agentmart
Submit a tool
This entry duplicates gh-cli, which is the one we list in search.

gh-cli

Interact with GitHub repositories using the GitHub CLI (gh).

Skill by ahandsel

IndexedMIT★ 2
Write a review

Chalk Labs

Need help deploying gh-cli?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/ahandsel-gh-cli-87f234

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Interact with GitHub repositories using the GitHub CLI (gh). Covers pull requests, issues, releases, workflow runs, and branch operations. Supports beginner and intermediate tracks, write-operation confirmation, and an --auto flag to skip prompts.

Use cases: writing, productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions: not checked yet.

What's inside

Skill name
gh-cli
Description
Interact with GitHub repositories using the GitHub CLI (gh). Covers pull requests, issues, releases, workflow runs, and branch operations. Supports beginner and intermediate tracks, write-operation confirmation, and an --auto flag to skip prompts.
License
MIT
Instructions
427 lines in SKILL.md · view on GitHub

Before installing

  • Instructions call the network

Files (1)

  • SKILL.md

SKILL.md (first lines)

# GitHub CLI skill

Use the `gh` CLI to read and write GitHub data for the repository in the current working directory.


## Choose your track

| Track        | You should pick this if...                                        |
| ------------ | ----------------------------------------------------------------- |
| Beginner     | You have never used `gh` or need setup help                       |
| Intermediate | `gh` is installed and authenticated; you want a command reference |


## Prerequisites

* `gh` CLI installed (see Beginner Track for instructions)
* Authenticated via `gh auth login`
* Current working directory is inside a cloned GitHub repository, or run `gh repo set-default` to set one

---


## Beginner Track


### 1 Installation


#### macOS

```bash
brew install gh
```


#### Linux (Debian / Ubuntu)

```bash
(type -p wget > /dev/null || 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 (WSL)

Inside your WSL terminal, follow the Linux instructions above.

Verify the install:

```bash
gh --version
```

Expected output (version number may differ):

```text
gh version 2.x.x (2025-xx-xx)
```


### 2 Authentication

Run:

```bash
gh auth login
```

The CLI walks you through an interactive prompt:

1. Select **GitHub.com** (or GitHub Enterprise if applicable).
2. Choose your preferred protocol - **HTTPS** is simplest.
3. Authenticate via **browser** (recommended) or paste a personal access token.

Expected output on success:

```text
✓ Logged in as your-username
```


### 3 Environment verification

Check auth status:

```bash
gh auth status
```

Expected output:

```text
github.com
  ✓ Logged in to github.com account your-username (keyring)
  - Active account: true
```

If the current directory is not inside a cloned repo, set a default:

```bash
gh repo set-default
```

This prompts you to pick from your repositories.


### 4 Command guide


#### Repository and branch operations

**Pull the latest commits on the current branch**

From ahandsel/tokyo-hiker, MIT.

Signals

Stars
2
Forks
0
Open issues
0
Last commit (this folder)
Aug 18, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

Same skill elsewhere

Copies of this SKILL.md published by others; search shows only one of them.

More from ahandsel

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get gh-cli running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying gh-cli?

CallGet help
Cite this page

gh-cli skill. Agent Mart. https://agentmart.dev/skills/ahandsel-gh-cli-87f234 (last updated 2026-10-24)