github-workflow

A guide to managing the full GitHub and Git workflow, including repositories, branches, commits, pull requests, issues, reviews, and releases. Git tracks code changes, while GitHub hosts projects and supports team collaboration.

In plain words
What is it for?
Use it to create or clone repositories, manage branches and commits, open or review pull requests, handle issues and milestones, configure CI/CD, and publish releases.
Why use it?
It gives developers a consistent path from creating a branch and saving changes to reviewing, merging, and releasing code.

Skill for Claude CodeCodex

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/amanning3390/hermeshub/github-workflow
Any agent
npx skills add amanning3390/hermeshub --skill github-workflow
Clone the repo
git clone --depth 1 https://github.com/amanning3390/hermeshub

Made for: Claude Code, Codex.

Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 622 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.00045 $0.00622
Opus 5 $0.00023 $0.00311
Sonnet 5 $0.00009 $0.00124
Haiku 4.5 $0.00005 $0.00062

Measured 2d ago against content hash 3ba9ac3b840f, 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 2d 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/github-workflow/SKILL.md · 74 lines

What it actually says

GitHub Workflow

Full GitHub lifecycle management through the gh CLI.

When to Use

  • User mentions GitHub, repos, branches, commits, or pull requests
  • User wants to manage issues, labels, or milestones
  • User needs code review assistance
  • User wants to set up CI/CD or manage releases

Procedure

Repository Operations

  1. Clone: gh repo clone owner/repo
  2. Create: gh repo create name --public/--private
  3. Fork: gh repo fork owner/repo

Branch Workflow

  1. Create feature branch: git checkout -b feature/name
  2. Stage changes: git add -A
  3. Commit with conventional message: git commit -m "type: description"
  4. Push: git push -u origin feature/name

Pull Request Workflow

  1. Create PR: gh pr create --title "..." --body "..." --base main
  2. List PRs: gh pr list
  3. Review PR: gh pr review <number> --approve/--request-changes
  4. Merge: gh pr merge <number> --squash

Issue Management

  1. Create: gh issue create --title "..." --body "..." --label bug
  2. List: gh issue list --state open
  3. Close: gh issue close <number>
  4. Assign: gh issue edit <number> --add-assignee @me

Release Workflow

  1. Tag: git tag -a v1.0.0 -m "Release v1.0.0"
  2. Push tags: git push --tags
  3. Create release: gh release create v1.0.0 --generate-notes

Commit Message Convention

  • feat: new feature
  • fix: bug fix
  • docs: documentation
  • refactor: code restructuring
  • test: adding tests
  • chore: maintenance

Pitfalls

  • Always check current branch before committing
  • Pull before push to avoid conflicts
  • Use --force-with-lease instead of --force
  • Verify PR base branch is correct

Verification

  • Confirm PR was created: gh pr view <number>
  • Verify merge status: gh pr status
  • Check CI status: gh run list
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. 2d ago First seen · 74 lines · 45 tokens per session scan A 3ba9ac3b840f

Subscribe to this mod's changes

github-workflow is a skill published in the GitHub repository amanning3390/hermeshub (34 stars, last pushed 2mo ago), licensed MIT. It adds 45 tokens to every session and 622 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-08-30.