github
Use the GitHub CLI (`gh`) to inspect and manage repositories, pull requests, issues, workflows, releases, and API calls from the terminal.
Skill by IvanCampos
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/ivancampos-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.
About
Use cases: backend, devops
Reviews
Write a reviewNo 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
- Runs as
- Shell scripts
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
- Use the GitHub CLI (`gh`) to inspect and manage repositories, pull requests, issues, workflows, releases, and API calls from the terminal. Use when a user asks to use `gh`/GitHub CLI, run GitHub repo or PR workflows, automate GitHub Actions from shell, or troubleshoot `gh` authentication and configuration.
- License
- MIT
- Instructions
- 98 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (4)
- SKILL.md
- openai.yaml · agents/
- command-map.md · references/
- gh_preflight.sh · scripts/
SKILL.md (first lines)
# GitHub CLI
## Overview
Use `gh` for day-to-day GitHub operations from the terminal. Prefer read-only commands first, then run mutating commands only after clear user intent.
## Quick Start
1. Check installation and auth:
```bash
gh --version
gh auth status
```
2. Establish repository context:
```bash
scripts/gh_preflight.sh --repo owner/repo
```
3. If not in the target repository, pass `-R owner/repo` to commands.
4. Use `--json` with `--jq` or `--template` for automation-friendly output.
## Workflow
1. Establish context first.
- Determine GitHub host (`github.com` by default), repository, and branch.
- Run `scripts/gh_preflight.sh` before multi-step operations.
2. Read current state.
- Use `list`, `view`, and `status` subcommands before changing anything.
3. Apply requested mutation.
- For create/edit/merge/delete actions, restate the operation and require explicit confirmation unless the user already asked clearly.
4. Report stable identifiers.
- Return URLs and IDs for created or changed objects (PR number, issue number, run URL, release tag).
## Common Commands
- Repository:
- `gh repo view`
- `gh repo clone owner/repo`
- `gh repo create`
- `gh repo set-default owner/repo`
- Pull requests:
- `gh pr list`
- `gh pr view <number>`
- `gh pr checkout <number>`
- `gh pr create`
- `gh pr review <number> --approve|--request-changes|--comment`
- `gh pr merge <number>`
- Issues:
- `gh issue list`
- `gh issue view <number>`
- `gh issue create`
- `gh issue comment <number> --body "..."`
- `gh issue close <number>`
- Actions:
- `gh workflow list`
- `gh workflow run <workflow>`
- `gh run list`
- `gh run watch <run-id>`
- `gh run view <run-id> --log`
- Releases:
- `gh release list`
- `gh release view <tag>`
- `gh release create <tag> [assets...]`
- `gh release upload <tag> <file>`
- API:
- `gh api repos/{owner}/{repo}/pulls --paginate`
For broader command coverage, read `references/command-map.md`.
## Safety Defaults
- Confirm before commands that change remote state:
- `gh pr create|merge|close|reopen|ready`
- `gh issue create|edit|close|reopen|delete`
- `gh repo create|edit|archive|delete`
- `gh release create|edit|delete`
- `gh secret set|delete`
- `gh variable set|delete`
- `gh workflow run`
- Avoid destructive flags (`--delete-branch`, force flags) unless explicitly requested.
- Show exact command before bulk updates and prefer smallest safe scope.
## Structured Output
Use JSON output when parsing or summarizing results:
```bash
gh pr list --json number,title,url --jq '.[] | "\(.number)\t\(.title)\t\(.url)"'
gh issue list --json number,title,labels --template '{{range .}}{{printf "#%v %v\n" .number .title}}{{end}}'
```
## Troubleshooting
- Auth errors: `gh auth login` or `gh auth refresh`.
- Wrong account/host: `gh auth status --hostname github.com`, then `gh auth switch`.
- Unknown command options: `gh <command> <subcommand> --help`.
- Manual reference: `https://cli.github.com/manual/`.
## Resources
### scripts/
- `scripts/gh_preflight.sh`: Check `gh` availability, auth status, and repository context.
### references/
- `references/command-map.md`: Command map for repo, PR, issue, actions, release, and API operations.From IvanCampos/agents, MIT.
More from IvanCampos/agents
- 0.469score
screen-recorder
IvanCampos
Record the macOS screen for a fixed duration and always save the .mov in ~/Downloads.
SkillDFreshness: D★ 5Claude Code +9 - 0.469score
apple-notes
IvanCampos
Read Apple Notes content and execute checklist-driven automations in order.
SkillDFreshness: D★ 5Claude Code +9 - 0.469score
applescript-open-app
IvanCampos
Open, launch, activate, or quit macOS apps by name using AppleScript or osascript.
SkillDFreshness: D★ 5Claude Code +9 - 0.469score
confetti
IvanCampos
Trigger a two-step confetti celebration by opening the Raycast confetti URL and speaking a phrase with the Alex voice.
SkillDFreshness: D★ 5Claude Code +9 - 0.469score
launchd-non-apple-jobs
IvanCampos
List launchd jobs that are not from Apple and create user launchd jobs.
SkillDFreshness: D★ 5Claude Code +9 - 0.469score
opml-reader
IvanCampos
Store OPML files and fetch latest posts across RSS/Atom feeds.
SkillDFreshness: D★ 5Claude Code +9 - 0.469score
playwright-cli
IvanCampos
Translate natural-language browser automation requests into exact `playwright-cli` commands for interactive web testing and debugging.
SkillDFreshness: D★ 5Claude Code +9 - 0.469score
apple-music-player
IvanCampos
Play random songs or specific tracks in Music.app from the local Music library.
SkillDFreshness: D★ 5Claude Code +9 - 0.469score
git-search
IvanCampos
List recent git commits across all repos under ~/Code (excluding .build checkouts).
SkillDFreshness: D★ 5Claude Code +9 - 0.465score
open-meteo-weather
IvanCampos
Get current weather using the Open-Meteo API.
SkillDFreshness: D★ 5Claude Code +9 - 0.465score
mailapp-send-email
IvanCampos
Send emails through the macOS Mail app using AppleScript.
SkillDFreshness: D★ 5Claude Code +9 - 0.461score
ffmpeg-video-editor-h265
IvanCampos
Generate FFmpeg commands from natural language video editing requests - cut, trim, convert, compress, change aspect ratio, extract audio, and more.
SkillDFreshness: D★ 5Claude Code +9
Signals
- Stars
- 5
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Feb 6, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/IvanCampos/agents
- Website
- ivancampos.com
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from IvanCampos
- 0.469score
apple-music-player
IvanCampos
Play random songs or specific tracks in Music.app from the local Music library.
SkillDFreshness: D★ 5Claude Code +9 - 0.469score
applescript-open-app
IvanCampos
Open, launch, activate, or quit macOS apps by name using AppleScript or osascript.
SkillDFreshness: D★ 5Claude Code +9 - 0.469score
confetti
IvanCampos
Trigger a two-step confetti celebration by opening the Raycast confetti URL and speaking a phrase with the Alex voice.
SkillDFreshness: D★ 5Claude Code +9 - 0.469score
apple-notes
IvanCampos
Read Apple Notes content and execute checklist-driven automations in order.
SkillDFreshness: D★ 5Claude Code +9 - 0.469score
git-search
IvanCampos
List recent git commits across all repos under ~/Code (excluding .build checkouts).
SkillDFreshness: D★ 5Claude Code +9 - 0.469score
launchd-non-apple-jobs
IvanCampos
List launchd jobs that are not from Apple and create user launchd jobs.
SkillDFreshness: D★ 5Claude Code +9
Cite this page
github skill. Agent Mart. https://agentmart.dev/skills/ivancampos-github (last updated 2026-10-24)