dsh-pre-push-checks

dsh-pre-push-checks is a skill for Codex from qufei1993/skills-hub. It costs 51 tokens per session (486 once invoked), scanned A, original, MIT.

A delivery-readiness check for software changes before they are pushed or released. It compares required checks with the actual source, build output, tests, and user-facing behavior.

In plain words
What is it for?
Use it to inspect project instructions, run required tests and builds, verify the running artifact, check the final diff, and report passed, failed, skipped, or blocked checks.
Why use it?
It prevents outdated builds, missing checks, hidden failures, and claims that work is ready when tests were skipped or blocked by the environment.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to inspect project instructions, run required tests and builds, verify the running artifact, check the final diff, and report passed, failed, skipped, or blocked checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/qufei1993/skills-hub/dsh-pre-push-checks
About the project

Skills Hub is a cross-platform desktop application for installing, organizing, updating, and syncing Agent Skills across AI coding tools. Developers use it to maintain one central skill library and distribute selected skills to tools such as Claude Code, Codex, Cursor, OpenCode, and Antigravity. Its catalogue instructions describe how to work with the managed skills.

qufei1993/skills-hub · 1,848 stars · on GitHub · aiskillshub.link

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 qufei1993/skills-hub --skill dsh-pre-push-checks
Clone the repo
git clone --depth 1 https://github.com/qufei1993/skills-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 dsh-pre-push-checks

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/qufei1993/skills-hub/dsh-pre-push-checks"><img src="https://agentmods.dev/badge/skills/qufei1993/skills-hub/dsh-pre-push-checks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 486 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.00051 $0.00486
Opus 5.5 $0.00020 $0.00194
Sonnet 5.5 $0.00010 $0.00097
Haiku 4.5 $0.00005 $0.00049

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

Security

Grade A, and why

dsh-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 yesterday.

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/dsh-pre-push-checks/SKILL.md · 17 lines

What it actually says

验证是否具备交付条件

阅读项目上下文和验证证据。本流程负责验证;推送、提交和部署须属于相应任务范围。

  1. 检查当前改动、适用指令、清单、构建脚本和 CI。将必需检查与有针对性的辅助检查分开。即使只改文档,也保留项目要求的完整检查。
  2. 确认前置条件以及实际测试的源码或构建产物。需要时重新构建,并验证运行入口确实使用该产物。根据实际进程和产物识别旧服务,不能只看熟悉的端口或页面标题。
  3. 执行必需检查,记录命令、退出状态、选中的用例和输出。查明失败原因,不通过删除断言、盲改期望、串行化测试或添加重试掩盖问题。资源或并发故障使用测试可靠性。不得隐瞒工具缺失或网络失败。
  4. 验收规则变化时,在隔离样例中故意违反规则,确认真实检查入口会拒绝,再确认合法样例通过。现有检查未覆盖的行为,应通过真实调用方验证并查看结果。
  5. 检查最终差异和工作区状态,确认没有意外修改、生成产物遗漏或陈旧文档。修复改变了被测内容时,重跑受影响检查;不能声称早先证据适用于后来的文件状态。

只有全部必需检查和变化的行为都有证据支持时,才报告“可以交付”。否则明确列出失败、跳过、未运行或环境阻塞的检查,以及下一步最小操作。单元测试通过,但必需集成检查失败或交付构建陈旧,仍不具备交付条件。

Files

What ships with it

7 files 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. yesterday First seen · 17 lines · 51 tokens per session scan A f1fe06ad9259

Subscribe to this mod's changes

dsh-pre-push-checks is a skill published in the GitHub repository qufei1993/skills-hub (1,848 stars, last pushed today), licensed MIT. It adds 51 tokens to every session and 486 once invoked, about $0.0002 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-10-31.