github-cli
GitHub CLI (gh) and API operations for branches, PRs, issues, releases, workflows, and GraphQL queries.
Skill by agent-rails
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/agent-rails-github-cli
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
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
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/github-cli
What's inside
- Skill name
github-cli- Description
- GitHub CLI (gh) and API operations for branches, PRs, issues, releases, workflows, and GraphQL queries. Use when creating branches, opening PRs, managing issues, viewing releases, triggering workflows, or using gh api. Trigger phrases include "create PR", "gh api", "list issues", "merge PR", "create branch", "gh command".
- License
- Apache-2.0
- Instructions
- 234 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# GitHub CLI Operations Comprehensive guide for `gh` CLI and `gh api` operations. ## Issues ### List issues ```bash gh issue list # Open issues gh issue list --state all # All issues gh issue list --author @me # Your issues gh issue list --assignee @me # Assigned to you gh issue list --label "bug" # By label gh issue list --json number,title,state # JSON output ``` ### Create issue ```bash gh issue create --title "Title" --body "Description" gh issue create --title "Title" --body "Body" --label "bug" --assignee "@me" ``` ### View/Edit issue ```bash gh issue view 123 # View issue gh issue view 123 --json body,comments # JSON with comments gh issue edit 123 --title "New title" gh issue close 123 gh issue reopen 123 ``` ## Pull Requests ### List PRs ```bash gh pr list # Open PRs gh pr list --author @me # Your PRs gh pr list --state all --json number,title,state,url ``` ### Create PR ```bash gh pr create --title "Title" --body "Description" gh pr create --title "Title" --body "$(cat <<'EOF' ## Summary - Change 1 - Change 2 EOF )" gh pr create --draft # Draft PR gh pr create --base main --head feature # Explicit branches ``` ### View/Edit PR ```bash gh pr view 123 gh pr view 123 --json body,comments,reviews gh pr edit 123 --title "New title" --body "New body" gh pr edit 123 --add-label "ready" ``` ### PR Review ```bash gh pr review 123 --approve gh pr review 123 --approve --body "LGTM!" gh pr review 123 --request-changes --body "Please fix X" gh pr review 123 --comment --body "Thoughts..." ``` ### PR Actions ```bash gh pr merge 123 # Default merge gh pr merge 123 --squash # Squash merge gh pr merge 123 --rebase # Rebase merge gh pr merge 123 --auto # Auto-merge when ready gh pr close 123 gh pr reopen 123 gh pr ready 123 # Mark ready for review ``` ### PR Comments ```bash gh pr comment 123 --body "Comment text" ``` ## Releases ### List releases ```bash gh release list gh release view v1.0.0 ``` ### Create release ```bash gh release create v1.0.0 --title "v1.0.0" --notes "Release notes" gh release create v1.0.0 --generate-notes # Auto-generate from commits gh release create v1.0.0 ./dist/*.tar.gz # With assets ``` ## Actions/Workflows ### List/View runs ```bash gh run list # Recent runs gh run list --workflow=ci.yml # Specific workflow gh run view 12345 # View run details gh run view 12345 --log # View logs ``` ### Trigger workflow ```bash gh workflow run ci.yml gh workflow run ci.yml --ref feature-branch gh workflow run ci.yml -f input1=value1 ``` ### Re-run failed ```bash
From agent-rails/agentic-fabric, Apache-2.0.
More from agent-rails/agentic-fabric
- 0.529score
pr-sizer
agent-rails
Classify a pull request against the PR size rubric and, for too-large PRs, spawn a sub-agent to propose concrete split plans.
SkillBFreshness: BClaude Code +9 - 0.524score
draft-pr-fixes
agent-rails
Draft cross-vendor patches addressing findings from a prior PR review.
SkillBFreshness: BClaude Code +9 - 0.524score
daily-report
agent-rails
Generate end-of-day report from GitHub, Slack, and K8s activity.
SkillBFreshness: BClaude Code +9 - 0.524score
review-pr
agent-rails
Review a GitHub PR using the your-pr-reviewer agent with wiki-backed institutional knowledge.
SkillBFreshness: BClaude Code +9 - 0.521score
security-signal-amplifier
agent-rails
Amplify external AI/MCP security advisories into the right channels for your org — summarize the advisory, cross-post to
SkillBFreshness: BClaude Code +9 - 0.479score
self-review
agent-rails
Multi-lens local self-review of a branch (pre-PR) or any remote PR.
SkillCFreshness: CClaude Code +9 - 0.474score
proactive-delegation
agent-rails
Patterns for delegating independent subtasks to subagents when planning multi-part tasks.
SkillCFreshness: CClaude Code +9 - 0.474score
standup
agent-rails
Generate daily standup summaries for Slack from git commits and GitHub activity.
SkillCFreshness: CClaude Code +9 - 0.474score
ci-investigation
agent-rails
Investigate CI/CD failures on PRs using subagents for parallel log analysis.
SkillCFreshness: CClaude Code +9 - 0.474score
first-principles
agent-rails
Run a first-principles derivation pass before adopting a framework, tool, pattern, or template.
SkillCFreshness: CClaude Code +9 - 0.474score
github-pr-review
agent-rails
GitHub PR review operations using gh CLI and gh api.
SkillCFreshness: CClaude Code +9 - 0.474score
memory-lint
agent-rails
Health-check the auto-memory dir (MEMORY.md + topic files).
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jul 17, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/agent-rails/agentic-fabric
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from agent-rails
- 0.529score
pr-sizer
agent-rails
Classify a pull request against the PR size rubric and, for too-large PRs, spawn a sub-agent to propose concrete split plans.
SkillBFreshness: BClaude Code +9 - 0.524score
daily-report
agent-rails
Generate end-of-day report from GitHub, Slack, and K8s activity.
SkillBFreshness: BClaude Code +9 - 0.524score
draft-pr-fixes
agent-rails
Draft cross-vendor patches addressing findings from a prior PR review.
SkillBFreshness: BClaude Code +9 - 0.524score
review-pr
agent-rails
Review a GitHub PR using the your-pr-reviewer agent with wiki-backed institutional knowledge.
SkillBFreshness: BClaude Code +9 - 0.521score
security-signal-amplifier
agent-rails
Amplify external AI/MCP security advisories into the right channels for your org — summarize the advisory, cross-post to
SkillBFreshness: BClaude Code +9 - 0.479score
self-review
agent-rails
Multi-lens local self-review of a branch (pre-PR) or any remote PR.
SkillCFreshness: CClaude Code +9
Cite this page
github-cli skill. Agent Mart. https://agentmart.dev/skills/agent-rails-github-cli (last updated 2026-10-24)