GitHub CLI
Operate GitHub via gh for repos, issues, PRs
Trumppo
@trumppo
What This Skill Does
Command-line interface for GitHub operations including repository management, issues, pull requests, and releases. Authenticates via gh auth and supports idempotent commands with explicit flags.
Replaces manual GitHub web UI workflows by enabling repo create, clone, fork, issue/PR management, and release creation directly from the terminal.
When to Use It
- Create a new private GitHub repository with description and confirm
- Clone or fork an existing repository to your local machine
- List open issues or create a new issue with title and body
- Create a pull request from the current branch with title and body
- Merge an open pull request using the merge method
- Create a new GitHub release with version tag and release notes
Install
$ openclaw skills install @trumppo/ghGitHub CLI (gh)
Overview
Use gh for authenticated GitHub operations from the terminal. Prefer explicit, idempotent commands and report URLs back to the user.
Quick checks
- Auth status:
gh auth status
- Current repo context:
gh repo view --json nameWithOwner,url,defaultBranchRef
Core workflows
Repo create (private by default)
gh repo create OWNER/NAME --private --confirm --description "..."
If running inside a local repo, use --source . --remote origin --push.
Clone / fork
gh repo clone OWNER/NAME
gh repo fork OWNER/NAME --clone
Issues
- List:
gh issue list --limit 20
- Create:
gh issue create --title "..." --body "..."
- Comment:
gh issue comment <num> --body "..."
Pull requests
- Create from current branch:
gh pr create --title "..." --body "..."
- List:
gh pr list --limit 20
- View:
gh pr view <num> --web
- Merge (use explicit method):
gh pr merge <num> --merge
Releases
gh release create vX.Y.Z --title "vX.Y.Z" --notes "..."
Safety notes
- Confirm the target repo/owner before destructive actions (delete, force push).
- For private repos, ensure
--privateis set on create. - Prefer
--confirmto avoid interactive prompts in automation.
Top skills in this category
Skill Vetter
@spclaudehomeSecurity-first skill vetting for AI agents. Use before installing any skill from ClawdHub, GitHub, or other sources. Checks for red flags, permission scope, and suspicious patterns.
Github
@steipeteInteract with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Humanizer
@biostartechnologyRemove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, negative parallelisms, and excessive conjunctive phrases.
Free Ride - Unlimited free AI
@shaivpidadiManages free AI models from OpenRouter for OpenClaw. Automatically ranks models by quality, configures fallbacks for rate-limit handling, and updates opencla...
Elite Longterm Memory
@nextfrontierbuildsUltimate AI agent memory system for Cursor, Claude, ChatGPT & Copilot. WAL protocol + vector search + git-notes + cloud backup. Never lose context again. Vibe-coding ready.