# Gh CLI

> GitHub CLI for repository management. Issues, PRs, releases, and API queries from the command line.

- Skill: `plurigrid/gh-cli-2` (Agent Skill)
- Install (CLI): `npx skillmds@latest add plurigrid/gh-cli-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/plurigrid/gh-cli-2/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: plurigrid (https://skillmd.com/u/plurigrid)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/plurigrid/gh-cli-2

---



# GitHub CLI Skill

**Trit**: 0 (ERGODIC - coordinates between local and remote)  
**Foundation**: gh CLI + GitHub API  

## Core Concept

GitHub CLI bridges local development with GitHub:
- Issue and PR management
- Repository operations
- Workflow dispatch
- API queries

## Common Commands

```bash
# Issues
gh issue list
gh issue create --title "Bug" --body "Description"
gh issue view 123

# Pull Requests
gh pr list
gh pr create --fill
gh pr checkout 456
gh pr merge --squash

# Releases
gh release list
gh release create v1.0.0 --generate-notes

# API queries
gh api repos/{owner}/{repo}/issues
gh api graphql -f query='{ viewer { login } }'
```

## Extensions

```bash
# Install extension
gh extension install dlvhdr/gh-dash

# Run extension
gh dash
```

## GF(3) Integration

```bash
# Label issues with GF(3) trits
gh issue edit 123 --add-label "ternary:+"
gh issue edit 124 --add-label "ternary:0"
gh issue edit 125 --add-label "ternary:-"
```

## Canonical Triads

```
bisimulation-game (-1) ⊗ gh-cli (0) ⊗ gh-interactome (+1) = 0 ✓
code-review (-1) ⊗ gh-cli (0) ⊗ changelog-generator (+1) = 0 ✓
```



## Scientific Skill Interleaving

This skill connects to the K-Dense-AI/claude-scientific-skills ecosystem:

### Graph Theory
- **networkx** [○] via bicomodule
  - Universal graph hub

### Bibliography References

- `general`: 734 citations in bib.duckdb

## Cat# Integration

This skill maps to **Cat# = Comod(P)** as a bicomodule in the equipment structure:

```
Trit: 0 (ERGODIC)
Home: Prof
Poly Op: ⊗
Kan Role: Adj
Color: #26D826
```

### GF(3) Naturality

The skill participates in triads satisfying:
```
(-1) + (0) + (+1) ≡ 0 (mod 3)
```

This ensures compositional coherence in the Cat# equipment structure.
