github-operations

github-operations is a skill for Claude Code, Codex from davidtoby/agent-skills. It costs 74 tokens per session (354 once invoked), scanned A, original, MIT.

A workflow guide for managing GitHub repositories, issues, pull requests, CI runs, releases, authentication, and Git remotes using command-line tools.

In plain words
What is it for?
Use it to inspect or update GitHub issues and pull requests, check CI, manage repositories and releases, and repair GitHub or Git authentication and remote errors.
Why use it?
It provides safe checks and recovery steps for common repository, pull request, CI, login, and credential problems.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to inspect or update GitHub issues and pull requests, check CI, manage repositories and releases, and repair GitHub or Git authentication and remote errors.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/davidtoby/agent-skills/github-operations
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add davidtoby/agent-skills --skill github-operations
Clone the repo
git clone --depth 1 https://github.com/davidtoby/agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for github-operations

README.md
[![agentmods](https://agentmods.dev/badge/skills/davidtoby/agent-skills/github-operations.svg)](https://agentmods.dev/skills/davidtoby/agent-skills/github-operations)
Your own site
<a href="https://agentmods.dev/skills/davidtoby/agent-skills/github-operations"><img src="https://agentmods.dev/badge/skills/davidtoby/agent-skills/github-operations.svg" alt="Measured on agentmods" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 354 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00074 $0.00354
Opus 5 $0.00037 $0.00177
Sonnet 5 $0.00015 $0.00071
Haiku 4.5 $0.00007 $0.00035

Measured 4d ago against content hash 3f043adc5906, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

github-operations scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/curated/github-operations/SKILL.md · 35 lines

What it actually says

GitHub Operations

Use this umbrella for GitHub and git-remote tasks.

Core workflow

  1. Inspect repository context with git status, remotes, current branch, and gh auth status before acting.
  2. Prefer gh for GitHub resources and git for local repository state.
  3. Use explicit owner/repo when outside a checkout or when multiple remotes exist.
  4. For writes, verify the target issue/PR/branch/repo and read back the result.
  5. For auth/remote fixes, avoid exposing tokens; prefer SSH remotes when keys are already configured and HTTPS credentials are broken.

Labeled playbooks

Issues, PRs, and CI

Use gh issue, gh pr, gh run, and gh api for structured data. Capture URLs/IDs after creating or updating resources.

Authentication recovery

When gh is logged out, HTTPS asks for credentials, or git says could not read Username, inspect auth status and remotes, then recover via gh auth login, credential helper repair, or SSH remote conversion.

Repository management

For clone/fork/create/release tasks, verify remotes and branch protection expectations before pushing.

Reference files

Legacy GitHub command recipes and auth-recovery notes live in references/from-*.md.

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 35 lines · 74 tokens per session scan A 3f043adc5906

Subscribe to this mod's changes

github-operations is a skill published in the GitHub repository davidtoby/agent-skills (10 stars, last pushed 1mo ago), licensed MIT. It adds 74 tokens to every session and 354 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

github-release-management

Comprehensive GitHub release orchestration with AI swarm coordination for automated versioning, testing, deployment, and rollback management.

amangit1314/repo-rag · 27 tokens

app-store-changelog

Create user-facing App Store release notes by collecting and summarizing all user-impacting changes since the last git tag (or a specified ref). Use when asked to generate a comprehensive release changelog, App Store "What's New" text, or release notes based on git history or tags.

danstrem2/clawdbot-skill-master-pack · 62 tokens

push-ci

Push to remote and monitor CI. Validates branch safety, executes git push WITH explicit user approval, then monitors CI run status via gh CLI. Use when: user says 'push', 'push and watch CI', 'ship it', 'push-ci'. Not for: committing (use /smart-commit), creating PRs (use /create-pr), merging (use /merge-prep).

sd0xdev/sd0x-harness · 82 tokens

release-new-version

Use when the user wants to release a new Zafiro version — drafting bilingual release notes, deciding the next version number, bumping app/build.gradle.kts, tagging, and publishing to GitHub (main repo, optionally the Xposed repo).

niki914/zafiro · 54 tokens

devops-pipeline

Configure pre-commit hooks and lean GitHub Actions for shift-left quality assurance. Use when adding or auditing CI/CD to maximize local test coverage and minimize CI cost. Skip for Terraform/K8s, deployment pipelines, or non-GitHub CI providers.

luongnv89/skills · 56 tokens

release-manager

Manage software releases end-to-end: bump version, generate changelog, tag, push, GitHub release, publish to PyPI/npm. Use when asked to ship, cut a release, or tag a version. Don't use for routine commits or marketplace publishing.

luongnv89/skills · 55 tokens