# Github

> Use the gh CLI for GitHub issues, PR status, CI/logs, comments, reviews, releases, and API queries.

- Skill: `xaiht/github` (Agent Skill)
- Install (CLI): `npx skillmds@latest add xaiht/github`
- Raw SKILL.md: https://api.skillmd.com/api/skills/xaiht/github/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: XAIHT (https://skillmd.com/u/xaiht)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/xaiht/github

---

<!--
═══════════════════════════════════════════════════════════════════
  ✦  T L A M A T I N I  ✦   —   "one who knows"
  Created by  Angela López Mendoza   ·   @angelahack1
  Developer · Architect · Creator of Tlamatini
  Tlamatini Author Banner — do not remove (Angela's name is kept in every build)
═══════════════════════════════════════════════════════════════════
-->

# GitHub skill

Use the `gh` CLI for GitHub-side operations.

## When to use
- Checking PR status, reviews, merge readiness
- Viewing CI / workflow run status and logs
- Creating, closing, commenting on issues
- Querying GitHub API for repository data

## When NOT to use
- Local git operations (commit, push, pull, branch) -> use `git` directly.
- Non-GitHub repos -> use that platform's CLI.

## Setup
- Run `gh auth login` once (interactive — do not attempt from this skill).
- Confirm with `gh auth status`.

## Procedure
1. Construct the `gh` command from `${input.action}` and optional
   `${input.repo}`.
2. Run via `chat_agent_executer`.
3. Capture stdout. Truncate to ~12000 chars before returning.
4. Return `{ result: <stdout> }`.

