# Github

> GitHub operations via gh CLI — list issues, create branches, create PRs, clone repos. Use when this capability is needed.

- Skill: `tomevault-io/github-29` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/github-29`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/github-29/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/github-29

---


# GitHub Skill

Interact with GitHub repositories using the `gh` CLI. Use these tools for automated workflows like issue triage, bug fixing, and PR creation.

## Prerequisites

- `gh` CLI installed (`brew install gh`)
- Authenticated: `gh auth login`

## Tools

- **gh_list_issues** — List open issues for a repository
- **gh_get_issue** — Get full details of a specific issue
- **gh_create_branch** — Create and checkout a new branch in a local repo
- **gh_create_pr** — Create a pull request from the current branch
- **gh_clone_repo** — Clone a repository into a workspace directory
- **gh_commit_and_push** — Stage all changes, commit with a message, and push to remote

## Automated Workflow

For autonomous issue-fixing, chain the tools:

1. `gh_list_issues` → pick the first open issue
2. `gh_clone_repo` → clone into a workspace (or `cd` to existing clone)
3. `gh_create_branch` → create a fix branch (`fix/issue-123`)
4. Use `codex_run` (codex-cli skill) to fix the issue
5. `gh_commit_and_push` → commit the fix
6. `gh_create_pr` → create a PR referencing the issue
7. `notify` → tell the human

## When to use

- Checking issues to fix
- Creating branches and PRs programmatically
- Any GitHub operation from the viber

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/dustland) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-13 -->

