github-workflow

github-workflow is a skill for Claude Code, Codex, Cursor from mamahoos/dot-files. It costs 30 tokens per session (2,255 once invoked), scanned A, original, MIT.

A skill for managing GitHub issues, pull requests, labels, reviews, and merges with the GitHub command-line tool.

In plain words
What is it for?
It helps discover repository conventions, reuse existing issues, create linked branches and pull requests, assign work, apply labels, verify checklists, and merge after checks pass.
Why use it?
It gives teams a repeatable process and blocks merges when linked issue or pull-request checklists are incomplete.

Skill for Claude CodeCodexCursor

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.

agentmods
npx agentmods add skills/mamahoos/dot-files/github-workflow
Any agent
npx skills add mamahoos/dot-files --skill github-workflow
Clone the repo
git clone --depth 1 https://github.com/mamahoos/dot-files

Made for: Claude Code, Codex, Cursor.

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-workflow

README.md
[![agentmods](https://agentmods.dev/badge/skills/mamahoos/dot-files/github-workflow.svg)](https://agentmods.dev/skills/mamahoos/dot-files/github-workflow)
Your own site
<a href="https://agentmods.dev/skills/mamahoos/dot-files/github-workflow"><img src="https://agentmods.dev/badge/skills/mamahoos/dot-files/github-workflow.svg" alt="Measured on agentmods" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,255 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00030 $0.02255
Opus 5 $0.00015 $0.01128
Sonnet 5 $0.00006 $0.00451
Haiku 4.5 $0.00003 $0.00226

Measured today against content hash dbebb2dd07db, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

github-workflow 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 today.

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.

home/.cursor/skills/github-workflow/SKILL.md · 211 lines

How it starts

The opening of the file, as written. The whole thing — 211 lines — stays where its author put it; the contents beside it link to each section on GitHub.

GitHub Workflow

Git history is git-workflow-and-versioning. This skill is GitHub: issues, labels, assignees, reviews, merge.

Docs: linking PRs, sub-issues, labels.

Verification is mandatory. gh pr merge is not allowed while any linked body still contains an unchecked - [ ] or * [ ].

0. Discover (every repo, every time)

OWNER_REPO=$(gh repo view --json nameWithOwner -q .nameWithOwner)
gh repo view --json nameWithOwner,defaultBranchRef,viewerPermission
gh label list
gh api "repos/${OWNER_REPO}/collaborators" --jq '.[] | {login, role_name}'
gh api "repos/${OWNER_REPO}/contents/.github/CODEOWNERS" >/dev/null 2>&1 || true
ls .github/PULL_REQUEST_TEMPLATE.md .github/ISSUE_TEMPLATE .github/ISSUE_TEMPLATE.md 2>/dev/null || true
gh issue list --state open --limit 20
gh pr list --state open --limit 20
gh issue list --state all --search "KEYWORD" --limit 10

If a template exists, use it. Reuse an issue that already covers the work. Do not duplicate.

0a. When the standard GitHub flow is mandatory

Chores may skip an issue. These use cases must not:

Use case Why
User asked for an issue, a PR, or "GitHub flow" Explicit
Bug with repro that should outlive the branch Durable record
Feature that needs acceptance criteria Reviewable contract
Work spanning (or likely to span) multiple PRs Tracker + Closes per slice
Other humans will review; breaking, security, or public behavior Collaboration
CI, install, or shared automation Test plan on the PR
An issue already covers this work Join it; Closes #N

Order: issue → branch → PR with Closes #N → tick boxes (0b) → grep gate (section 5) → review → gh pr checks → merge.

Read the full file on GitHub · 211 lines

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. today First seen · 211 lines · 30 tokens per session scan A dbebb2dd07db

Subscribe to this mod's changes

github-workflow is a skill published in the GitHub repository mamahoos/dot-files (4 stars, last pushed yesterday), licensed MIT. It adds 30 tokens to every session and 2,255 once invoked, about $0.0002 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-04.