yq-pre-push-checks

yq-pre-push-checks is a skill for Codex from EthanYoQ/Skill-hub. It costs 85 tokens per session (1,858 once invoked), scanned A, original, MIT.

A pre-push verification guide for checking that code changes are ready before they are pushed or declared complete.

In plain words
What is it for?
Use it to inspect outgoing Git changes, discover repository checks, run relevant tests and hooks, and verify the remote or CI state when authorized.
Why use it?
It helps match validation to the risk of the change and avoids relying on stale branches, missing tests, or incomplete checks.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to inspect outgoing Git changes, discover repository checks, run relevant tests and hooks, and verify the remote or CI state when authorized.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ethanyoq/skill-hub/yq-pre-push-checks
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 EthanYoQ/Skill-hub --skill yq-pre-push-checks
Clone the repo
git clone --depth 1 https://github.com/EthanYoQ/Skill-hub

Made for: 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 yq-pre-push-checks

README.md
[![agentmods](https://agentmods.dev/badge/skills/ethanyoq/skill-hub/yq-pre-push-checks/github.svg)](https://agentmods.dev/skills/ethanyoq/skill-hub/yq-pre-push-checks)
Your own site
<a href="https://agentmods.dev/skills/ethanyoq/skill-hub/yq-pre-push-checks"><img src="https://agentmods.dev/badge/skills/ethanyoq/skill-hub/yq-pre-push-checks/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 yq-pre-push-checks

Your own site · 80×15
<a href="https://agentmods.dev/skills/ethanyoq/skill-hub/yq-pre-push-checks"><img src="https://agentmods.dev/badge/skills/ethanyoq/skill-hub/yq-pre-push-checks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 85 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,858 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.00085 $0.01858
Opus 5.5 $0.00034 $0.00743
Sonnet 5.5 $0.00017 $0.00372
Haiku 4.5 $0.00009 $0.00186

Measured 3d ago against content hash 98fad68ea5fe, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

yq-pre-push-checks 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 3d 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/01-agent-engineering/yq-pre-push-checks/SKILL.md · 110 lines

How it starts

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

Pre-Push Checks

Establish relevant evidence once before a push or readiness claim. This skill does not authorize committing, pushing, changing PR state, bypassing hooks, or rewriting history; those actions require the user's request or existing task scope.

The normal order is inspect scope, validate, commit if authorized, push if authorized, then verify the remote and CI. A stack-management tool that rebases and publishes several branches as one indivisible operation is the exception: record the pre-state, run it only when authorized, validate every rewritten layer immediately afterward, and block merge until the evidence passes.

Inspect the outgoing change

  1. Confirm the repository, branch, worktree, and dirty state.
git rev-parse --show-toplevel
git status --short --branch
git branch --show-current
  1. Read applicable repository instructions and discover what hooks, package scripts, task runners, CI jobs, generated artifacts, and test frameworks actually exist.
  2. Verify the live PR base, upstream, or stack parent from current remote state. Fetch the exact ref when needed; do not guess main, master, or an old local tracking ref.
  3. Inspect the complete outgoing scope: committed changes from the resolved merge base plus staged, unstaged, and relevant untracked files. Use the repository's change-scope tool when it has one; otherwise combine git merge-base, git diff --name-status, git diff --cached, and git ls-files --others --exclude-standard.

After a base merge or rebase, recompute the scope. Reuse only evidence whose covered behavior and inputs were not invalidated.

When the remote base has changed a registry-style file since your merge base (a guard registry, a scenario index, an error catalog, a lockfile), merge the latest base before validating. A registry check that passes against a stale base can fail as soon as your branch meets the entries other PRs added.

Map risk to evidence

Every behavior change needs the narrowest available check that would fail for its regression. Add broader checks only for surfaces the diff can credibly affect.

Read the full file on GitHub · 110 lines

Files

What ships with it

1 file 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. 3d ago Changed · +4 lines 98fad68ea5fe
  2. 23d ago Changed · +56 tokens per session e2c0d5928445
  3. 2mo ago First seen · 106 lines · 29 tokens per session scan A e4121c7445dc

Subscribe to this mod's changes

yq-pre-push-checks is a skill published in the GitHub repository EthanYoQ/Skill-hub (12 stars, last pushed 2d ago), licensed MIT. It adds 85 tokens to every session and 1,858 once invoked, about $0.0003 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-04.

Related

yq-pre-push-checks compared with skills from other repositories

yq-pre-push-checks next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
yq-pre-push-checksEthanYoQ/Skill-hubSkill122d agoMITA85Codex
pr-watchSethGammon/CitadelSkill9433d agoMITA46Claude Code
deploy-stewardSethGammon/CitadelSkill9433d agoMITA56Claude Code
merge-reviewSethGammon/CitadelSkill9433d agoMITA40Claude Code
pr-watchs977043/PlanGateSkill3todayMITA54Claude Code
pr-decisions977043/PlanGateSkill3todayMITA53Claude Code, Codex
ci-triagecoo1white/cool-workflowSkill24d agoBSD-2-ClauseA66Claude Code, Codex