gate-push

gate-push is a skill for Claude Code from Jamie-BitFlight/claude_skills. It costs 36 tokens per session (856 once invoked), scanned A, original, MIT.

A branch-to-pull-request workflow that applies a quality gate before pushing a branch and opening a pull request. A pull request is a request to review and merge code changes.

In plain words
What is it for?
Use it to gate a branch, push it, and open a pull request.
Why use it?
It gathers the relevant backlog context and runs the completion checks in one workflow.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Part of the dh plugin — 70 skills, 29 agents shipped together

Good fit Use it to gate a branch, push it, and open a pull request.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jamie-bitflight/claude_skills/gate-push
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 Jamie-BitFlight/claude_skills --skill gate-push
Clone the repo
git clone --depth 1 https://github.com/Jamie-BitFlight/claude_skills

Made for: Claude Code.

Or install dh, the plugin that ships this one along with the rest of its 70 skills, 29 agents.

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 gate-push

README.md
[![agentmods](https://agentmods.dev/badge/skills/jamie-bitflight/claude_skills/gate-push/github.svg)](https://agentmods.dev/skills/jamie-bitflight/claude_skills/gate-push)
Your own site
<a href="https://agentmods.dev/skills/jamie-bitflight/claude_skills/gate-push"><img src="https://agentmods.dev/badge/skills/jamie-bitflight/claude_skills/gate-push/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gate-push

Your own site · 80×15
<a href="https://agentmods.dev/skills/jamie-bitflight/claude_skills/gate-push"><img src="https://agentmods.dev/badge/skills/jamie-bitflight/claude_skills/gate-push.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 856 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.00036 $0.00856
Opus 5.5 $0.00014 $0.00342
Sonnet 5.5 $0.00007 $0.00171
Haiku 4.5 $0.00004 $0.00086

Measured 1mo ago against content hash d3969a9b22af, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

gate-push 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 1mo 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.

plugins/development-harness/skills/gate-push/SKILL.md · 95 lines

How it starts

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

Load dh:dh-cli-usage before using <sam_cli/> or <dh_scripts/>.

Gate Push

Run /dh:gate-push <branch-name> to resolve branch context into a /dh:complete-implementation input and execute that quality-gate pipeline.

Required input

  • branch_name = $ARGUMENTS (must be non-empty)

If empty: stop with:

COMPLETION BLOCKED — Missing required argument <branch-name>.

Then re-run:
/dh:gate-push <branch-name>

Branch → backlog lookup algorithm

  1. Normalize branch_name into a lookup slug:
    • Strip leading branch type prefix when present (feature/, fix/, chore/, etc.) by removing only the prefix up to and including the first / character
    • Then replace any remaining /, _, and - with spaces (for example feature/auth/login-fix → auth login fix)
    • Trim whitespace
    • Store the result as normalized_slug
    • Expected pattern is type/slug (e.g., feature/foo-bar); multi-segment branches (type/segment1/segment2) are supported and normalize with the same replacement rule
  2. Strategy 1 (title match):
    • <sam_cli/> backlog list --title "<normalized_slug>"
  3. Strategy 2 (topic match fallback, only if Strategy 1 has zero results):
    • <sam_cli/> backlog list --topic "<normalized_slug>"
  4. If exactly one item is returned, use it as match.
  5. If multiple items are returned, do not guess — stop and follow the No-match / unresolved fallback procedure below.

Resolve complete-implementation input

From match, resolve in this order:

  1. If match.issue exists (issue number field from backlog output) → target = #<match.issue>
  2. Else if match.plan exists and non-empty → target = <match.plan> (use the backlog item's plan field directly)
  3. Else no resolvable target

Execute gate pipeline

If target is resolved:

Skill(skill: "dh:complete-implementation", args: "<target>")

/dh:complete-implementation is the source of truth for the quality-gate phases and final push/PR behavior. Do not duplicate its gate logic here.

Read the full file on GitHub · 95 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. 1mo ago Changed · +2 lines d3969a9b22af
  2. 1mo ago First seen · 93 lines · 36 tokens per session scan A 6cbd34f85f4e

Subscribe to this mod's changes

gate-push is a skill published in the GitHub repository Jamie-BitFlight/claude_skills (67 stars, last pushed 4d ago), licensed MIT. It adds 36 tokens to every session and 856 once invoked, about $0.0001 per session on Opus 5.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-automation

GitHub workflow automation, PR management, issue tracking, and code review coordination. Integrates with GitHub Actions and repository management. Use when: PR creation, code review, issue management, release automation, workflow setup. Skip when: local-only changes, non-GitHub repositories.

ruvnet/ruflo · 61 tokens

github

GitHub via gh CLI: PRs, issues, reviews, repos, auth.

NousResearch/hermes-agent · 19 tokens

otto-drive-pr

PR mergeability, CI, and live preview.

omnigent-ai/omnigent · 14 tokens

voicestudio-maintainer

Triage GitHub issues, review contributor pull requests, diagnose CI, and prepare explicitly requested releases for VoiceStudio's Electron desktop app and Python backend. Use for repository maintenance work, not ordinary VoiceStudio audio generation.

debpalash/VoiceStudio · 50 tokens

release

Cut a brooks-lint release: set the version in package.json, propagate it across all four plugin manifests and every version-bearing text file (README badges, docs site metadata), write the CHANGELOG entry, validate, then commit, push, tag, and publish the GitHub release. Triggers when the maintainer asks to "release"…

hyhmrright/brooks-lint · 135 tokens

github

Full GitHub CLI control — issues, PRs, code reviews, repo management. Uses gh CLI with auth detection, rate limiting, and templates. Triggers on: github, issue, pull request, PR, code review, repo, branch, label, assignee, milestone, release, workflow, actions.

adolfousier/opencrabs · 0 tokens