ghUse the GitHub CLI (gh) to perform core GitHub operations: auth status, repo create/clone/fork, issues, pull requests, releases, and basic repo management. Trigger for requests to use gh, manage GitHub repos, PRs, or issues from the CLI.
Install via ClawdBot CLI:
clawdbot install Trumppo/ghUse gh for authenticated GitHub operations from the terminal. Prefer explicit, idempotent commands and report URLs back to the user.
gh auth status
gh repo view --json nameWithOwner,url,defaultBranchRef
gh repo create OWNER/NAME --private --confirm --description "..."
If running inside a local repo, use --source . --remote origin --push.
gh repo clone OWNER/NAME
gh repo fork OWNER/NAME --clone
gh issue list --limit 20
gh issue create --title "..." --body "..."
gh issue comment <num> --body "..."
gh pr create --title "..." --body "..."
gh pr list --limit 20
gh pr view <num> --web
gh pr merge <num> --merge
gh release create vX.Y.Z --title "vX.Y.Z" --notes "..."
--private is set on create.--confirm to avoid interactive prompts in automation.Generated Mar 1, 2026
Maintainers use gh to automate repository setup, issue tracking, and pull request workflows for community contributions. It streamlines creating private repos for sensitive work and managing releases with consistent versioning.
Teams integrate gh commands into scripts to clone repos, create issues for build failures, and automate PR merges in deployment pipelines. This reduces manual intervention and ensures traceability in automated workflows.
Instructors use gh to quickly set up private student repos, fork templates for assignments, and manage issue-based feedback. It simplifies GitHub operations for beginners in classroom environments.
Small teams leverage gh to create and manage private repositories, track bugs via issues, and coordinate features through pull requests. It accelerates iteration cycles without relying heavily on GUI tools.
Organizations use gh for authenticated CLI access to enforce policies like private repo creation, standardized release processes, and audit trails via issue and PR management. It supports compliance in large-scale projects.
Companies embed gh as a CLI tool within their SaaS offerings to enable GitHub operations directly from customer dashboards. This adds value by streamlining developer workflows and can be monetized through premium support tiers.
Providers offer courses and certifications on using gh for GitHub automation, targeting developers and DevOps professionals. Revenue is generated from course sales, workshops, and certification exams.
Agencies provide consulting to help organizations integrate gh into their development pipelines, optimizing GitHub workflows for efficiency. Services include setup, customization, and ongoing support contracts.
💬 Integration Tip
Integrate gh into existing CI/CD tools like Jenkins or GitHub Actions by embedding commands in scripts; use environment variables for authentication to avoid hardcoded credentials.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Query the DeepWiki MCP server for GitHub repository documentation, wiki structure, and AI-powered questions.
Automated GitHub PR code review with diff analysis, lint integration, and structured reports. Use when reviewing pull requests, checking for security issues,...
Essential Git commands and workflows for version control, branching, and collaboration.
Advanced git operations beyond add/commit/push. Use when rebasing, bisecting bugs, using worktrees for parallel development, recovering with reflog, managing subtrees/submodules, resolving merge conflicts, cherry-picking across branches, or working with monorepos.
Format commit messages using the Conventional Commits specification. Use when creating commits, writing commit messages, or when the user mentions commits, git commits, or commit messages. Ensures commits follow the standard format for automated tooling, changelog generation, and semantic versioning.