pre-push-check

pre-push-check is a skill for Claude Code, Codex from AtomicBot-ai/atomic-agent. It costs 29 tokens per session (797 once invoked), scanned B, original, MIT.

A pre-push check that asks a developer three questions about code written or edited by an agent before it is sent to a shared Git repository.

In plain words
What is it for?
It is for checking the outgoing commits before pushing agent-written code, with exceptions for documentation-only changes or an explicit request to skip.
Why use it?
It gives the developer a chance to review unfamiliar changes before teammates receive them, without replacing normal push approval.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for checking the outgoing commits before pushing agent-written code, with exceptions for documentation-only changes or an explicit request to skip.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/atomicbot-ai/atomic-agent/pre-push-check
About the project

Atomic Agent is a local-first AI agent that runs its control loop and state on a user's machine while using local or cloud models. It drives browsers, edits files, runs approved commands, remembers context, schedules follow-ups, and connects to external tools, with the catalogue providing skills for its use.

AtomicBot-ai/atomic-agent · 3,603 stars · on GitHub · atomicagent.io

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 AtomicBot-ai/atomic-agent --skill pre-push-check
Clone the repo
git clone --depth 1 https://github.com/AtomicBot-ai/atomic-agent

Made for: Claude Code, 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 pre-push-check

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/atomicbot-ai/atomic-agent/pre-push-check"><img src="https://agentmods.dev/badge/skills/atomicbot-ai/atomic-agent/pre-push-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 797 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00029 $0.00797
Opus 5.5 $0.00012 $0.00319
Sonnet 5.5 $0.00006 $0.00159
Haiku 4.5 $0.00003 $0.00080

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

Security

Grade B, and why

pre-push-check scanned grade B with 1 finding 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 13d 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.

Strips warnings and disclaimersmediumAnti-refusal

Omitting safety caveats hides risk from the user and is a common jailbreak preamble.

- Do not lecture, score or repeat the questions after they answered.
starter-skills/pre-push-check/SKILL.md · 76 lines

How it starts

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

pre-push-check

A push sends code into a shared place where other people build on it. If the agent wrote that code, the person pushing often has not read it. This check takes a minute: three questions about the diff, answered by the human, before the push goes out.

The user can turn this off at any time with /skill disable pre-push-check (or the switch on the Skills screen) and back on with /skill enable pre-push-check.

When it applies

Run the check before os.git.push (or git push through the shell) when the commits being pushed contain code you wrote or edited in this session.

Skip it, and push as asked, when:

  • the user says "skip the check", "just push" or similar, now or earlier in this session for the same commits;
  • nothing in the push came from you (the user's own commits, a merge of someone else's branch, a tag);
  • the push only touches docs, comments or formatting;
  • the user already answered the check for these same commits in this session.

The check never replaces the normal push approval and never blocks a push the user insists on.

How to run it

  1. Look at what goes out. os.git.log for the commits not yet on the remote branch, os.git.diff for their combined change. Note the files you touched and the behaviour that changed.
  2. Write three questions, one of each kind, about this diff and nothing else:
    • What changed: about a concrete behaviour. Not "what does this PR do?" but "After this push, what happens when a user opens the app with no config file?"
    • What could break: about the riskiest line you wrote. "The retry loop in sync.ts:88 now runs up to five times. What does the user see if the server is down for a minute?"
    • How to check it: "Which command or click would show this works?" Have a real answer ready: a test name, a command, a screen. Keep each question to one or two sentences, in the user's language, in plain words. Name files with path:line so they can look.
  3. Ask all three in one message and wait. Say they can answer in a few words, and that "skip" pushes without the check.
  4. Compare each answer with what the code does.
    • Right or close enough: say so in a few words.
    • Wrong or "I don't know": explain the real answer in two sentences, pointing at the line. This is the point of the check, so be kind and concrete, not a grader.
    • An answer that shows the change does something the user did not want: stop, say so, and ask whether to fix it before pushing.
  5. Then push with os.git.push as originally asked. The usual approval prompt still shows.

Read the full file on GitHub · 76 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. 13d ago Changed · -2 tokens per session e26d33ad54ce
  2. 17d ago First seen · 76 lines · 31 tokens per session scan B 1b7832de2587

Subscribe to this mod's changes

pre-push-check is a skill published in the GitHub repository AtomicBot-ai/atomic-agent (3,603 stars, last pushed yesterday), licensed MIT. It adds 29 tokens to every session and 797 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (strips warnings and disclaimers). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-13.

Related

pre-push-check compared with skills from other repositories

pre-push-check next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pre-push-checkAtomicBot-ai/atomic-agentSkill3.6kyesterdayMITB29Claude Code, Codex
release-llama-launcherairiclenz/llama-launcherSkill213d agoMITA167Claude Code, Codex
release-notes-llama-launcherairiclenz/llama-launcherSkill213d agoMITC127Claude Code, Codex
hunk-launch-videomodem-dev/hunkSkill9.9ktodayMITA60Claude Code, Codex
hunk-releasemodem-dev/hunkSkill9.9ktodayMITA38Claude Code, Codex
shipgriffinwork40/agent-afkSkill66todayApache-2.0A93Claude Code
afk-releasegriffinwork40/agent-afkSkill66todayApache-2.0A156Claude Code