Skip to content
Agentmart
Submit a tool

github

How to work with GitHub issues and pull requests through the gh CLI: view, list, comment, open a PR, including from a fork.

Skill by adib-11

IndexedMIT
Write a review

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/adib-11-github

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

How to work with GitHub issues and pull requests through the gh CLI: view, list, comment, open a PR, including from a fork. Use when a skill needs to fetch an issue, list issues, post a comment, or open a pull request.

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

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/github

What's inside

Skill name
github
Description
How to work with GitHub issues and pull requests through the gh CLI: view, list, comment, open a PR, including from a fork. Use when a skill needs to fetch an issue, list issues, post a comment, or open a pull request.
License
MIT
Instructions
18 lines in SKILL.md · view on GitHub

Files (2)

  • SKILL.md
  • openai.yaml · agents/

SKILL.md (first lines)

# GitHub via gh

Use the `gh` CLI for every GitHub operation. Inside a clone, `gh` picks the repo from `git remote -v`. Outside one, or to target a different repo, add `--repo <owner>/<repo>`.

| Task | Command |
|---|---|
| View an issue | `gh issue view <n> --comments` (structured: `--json number,title,body,labels,assignees,comments`) |
| List issues | `gh issue list --state open --json number,title,body,labels,assignees,comments --jq '[.[] \| {number, title, body, labels: [.labels[].name], assignees: [.assignees[].login], comments: [.comments[].body]}]'`; filter with `--label` or `--state` |
| Comment on an issue | `gh issue comment <n> --body "..."` |
| View a PR | `gh pr view <n> --comments`; the diff is `gh pr diff <n>` |
| Open a PR | `gh pr create --title "..." --body "..."`; add `Closes #<n>` to the body to link the issue |
| Open a PR from a fork | add `--repo <upstream-owner>/<repo> --head <fork-owner>:<branch>` |
| Comment on a PR | `gh pr comment <n> --body "..."` |

- For bodies longer than one line, pass them through a heredoc.
- Issues and PRs share numbers in a repo. When `#<n>` could be either, try `gh pr view <n>` first; if it fails, use `gh issue view <n>`.

From adib-11/issue-solver, MIT.

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Sep 26, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

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

More from adib-11

Cite this page

github skill. Agent Mart. https://agentmart.dev/skills/adib-11-github (last updated 2026-10-24)