axel-damage/opencode-config/github-ops

Claude Code and agent skill by axel-damage/opencode-config

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

GitHub operations via gh CLI. Use for pull requests/PRs, GitHub code search, or drafting exact gh commands (owner/repo, gh pr list, gh search). Always use instead of WebFetch for github.com. DO NOT use for: local-only git operations, non-GitHub remotes (GitLab, Bitbucket), or reading repository file content that is already available locally.

Install

npx vskill@latest install axel-damage/opencode-config/github-ops

SKILL.md

The same SKILL.md was published earlier as axel-damage/opencode-config/github-ops.

GitHub Operations Skill

Full GitHub MCP Server parity using the gh CLI. This skill provides all the functionality of the official GitHub MCP Server without the token overhead.

Requirements: gh CLI installed and authenticated (gh auth login).

Quick Reference

DomainScriptKey Operations
Repositoriesrepos.shview, clone, fork, list, create, delete, contents
Issuesissues.shlist, view, create, close, reopen, comment, labels
Pull Requestsprs.shlist, view, create, merge, diff, checks, review
Actionsactions.shruns, jobs, logs, artifacts, workflows, rerun
Releasesreleases.shlist, view, create, delete, download assets
Code Securitycode-security.shcode scanning alerts, dependabot alerts
Discussionsdiscussions.shlist, view, comments, categories
Notificationsnotifications.shlist, mark read, subscription
Searchsearch.shrepos, code, issues, PRs, users, commits
Usersusers.shprofile, followers, following, emails
Organizationsorgs.shinfo, members, teams, repos
Gistsgists.shlist, view, create, edit, delete
Projectsprojects.shlist, view, items, fields (v2)

How to Use

Method 1: Direct Script Execution

Run scripts directly from the skill directory:

bash
cd {base_directory}
# Repository operations
bash scripts/repos.sh view --owner facebook --repo react
bash scripts/repos.sh contents --owner vercel --repo next.js --path packages
# Issue operations
bash scripts/issues.sh list --owner cli --repo cli --state open --limit 10
bash scripts/issues.sh view --owner cli --repo cli --number 123
# Pull request operations
bash scripts/prs.sh list --owner facebook --repo react --state open
bash scripts/prs.sh diff --owner cli --repo cli --number 456
# And so on for each domain...
Method 2: Router Script

Use the router for unified access:

bash
cd {base_directory}
bash scripts/router.sh repos view --owner facebook --repo react
bash scripts/router.sh issues list --owner cli --repo cli --state open
bash scripts/router.sh search repos --query "language:go stars:>10000"
Command-first responses

When the user asks for commands or "exact gh commands", respond with the command(s) first (gh or scripts), then brief notes if needed. Avoid prose-only answers for command requests. If the user asks to list pull requests or to show the exact commands, always include a literal gh command line in the response. If owner/repo is missing, still provide the exact gh command with OWNER/REPO placeholders, then ask the user to confirm the repo.

Script Reference

Each script follows a consistent pattern:

bash
bash scripts/<domain>.sh <action> [options]
Common Options
OptionDescriptionExample
--ownerRepository owner--owner facebook
--repoRepository name--repo react
--numberIssue/PR number--number 123
--limitMax results--limit 10
--stateFilter by state--state open
--jsonJSON output--json
Safety Rules

Destructive operations require confirmation:

  • Creating resources (issues, PRs, releases)
  • Modifying state (close, merge, delete)
  • Force operations

The scripts will prompt for confirmation before executing destructive actions.

Detailed script reference: For full parameters, options, and examples for all 13 domain scripts, read references/script-domains.md.

Error Handling

All scripts follow these error handling rules:

  1. Max 2 attempts per operation before failing
  2. Clear error messages with suggestions
  3. Exit codes: 0 = success, 1 = error, 2 = user cancelled

Authentication

bash
# Check auth status
gh auth status
# Login
gh auth login
# Refresh with additional scopes
gh auth refresh -s repo -s workflow -s read:org

Configuration

Edit config/toolsets.json to enable/disable feature groups:

json
{
"enabled": ["repos", "issues", "prs", "actions", "users"],
"disabled": ["projects", "gists"]
}

MCP Parity: This skill provides equivalent functionality to all GitHub MCP Server toolsets.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/axel-damage/opencode-config/github-ops/badge)](https://verified-skill.com/skills/axel-damage/opencode-config/github-ops)

Something wrong with this skill or its page? Tell us.