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.
npx skills add EthanYoQ/Skill-hub --skill yq-pre-push-checksgit clone --depth 1 https://github.com/EthanYoQ/Skill-hubWrote 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.
[](https://agentmods.dev/skills/ethanyoq/skill-hub/yq-pre-push-checks)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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
- Confirm the repository, branch, worktree, and dirty state.
git rev-parse --show-toplevel
git status --short --branch
git branch --show-current
- Read applicable repository instructions and discover what hooks, package scripts, task runners, CI jobs, generated artifacts, and test frameworks actually exist.
- 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. - 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, andgit 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.
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.
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.
- 3d ago Changed · +4 lines 98fad68ea5fe
- 23d ago Changed · +56 tokens per session e2c0d5928445
- 2mo ago First seen · 106 lines · 29 tokens per session scan A e4121c7445dc
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.
yq-pre-push-checks compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| yq-pre-push-checksEthanYoQ/Skill-hub | Skill | 12 | 2d ago | MIT | A | 85 | Codex |
| pr-watchSethGammon/Citadel | Skill | 943 | 3d ago | MIT | A | 46 | Claude Code |
| deploy-stewardSethGammon/Citadel | Skill | 943 | 3d ago | MIT | A | 56 | Claude Code |
| merge-reviewSethGammon/Citadel | Skill | 943 | 3d ago | MIT | A | 40 | Claude Code |
| pr-watchs977043/PlanGate | Skill | 3 | today | MIT | A | 54 | Claude Code |
| pr-decisions977043/PlanGate | Skill | 3 | today | MIT | A | 53 | Claude Code, Codex |
| ci-triagecoo1white/cool-workflow | Skill | 2 | 4d ago | BSD-2-Clause | A | 66 | Claude Code, Codex |