mach12:push

mach12:push is a command for coding agents from LeanAndMean/scramjet. It costs 15 tokens per session (945 once invoked), scanned A, original, Apache-2.0.

A command that finishes a defined batch of code changes by committing and pushing the selected files, then posting a progress note to the related GitHub pull request or issue when it can find one.

In plain words
What is it for?
Use it to finalize a bounded change, verify which files belong to it, push the commit, and document progress on GitHub.
Why use it?
It helps prevent unrelated files or secrets from being included and keeps the remote branch and work tracking record up to date.

Command

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.

agentmods
npx agentmods add commands/leanandmean/scramjet/mach12-push
Clone the repo
git clone --depth 1 https://github.com/LeanAndMean/scramjet

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 mach12:push

README.md
[![agentmods](https://agentmods.dev/badge/commands/leanandmean/scramjet/mach12-push.svg)](https://agentmods.dev/commands/leanandmean/scramjet/mach12-push)
Your own site
<a href="https://agentmods.dev/commands/leanandmean/scramjet/mach12-push"><img src="https://agentmods.dev/badge/commands/leanandmean/scramjet/mach12-push.svg" alt="Measured on agentmods" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 945 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00015 $0.00945
Opus 5 $0.00008 $0.00473
Sonnet 5 $0.00003 $0.00189
Haiku 4.5 $0.00002 $0.00094

Measured 3d ago against content hash 4928405650a8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

mach12: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 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.

packages/scramjet/mach12/commands/mach12:push.md · 70 lines

How it starts

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

Push

Finalize one bounded batch of work by committing intended files, pushing once, and documenting progress on the associated PR or issue whenever one can be identified.

This command is delegate-only. Routing belongs to the caller.

Step 1: Establish the bounded change

Run git status, inspect staged and unstaged diffs, and use the caller context to identify exactly which files belong to this batch. Never use git add . or git add -A, and never stage likely secrets.

When the caller supplies an accepted validation-proof payload, treat it as a distinct mode. Before repository or remote mutation, require:

  • an authenticated open PR, repository, head branch, upstream destination, and matching upstream repository;
  • local HEAD, upstream, and fresh GitHub headRefOid all equal the supplied implementation parent P;
  • an empty index;
  • worktree changes consisting exactly of the supplied accepted test paths;
  • a tests-only diff with no production, temporary, unrelated, or secret-bearing content;
  • every supplied node discoverable with the expected red assertion result.

Stage only the accepted test paths and require the staged diff to equal the complete worktree diff with no residual changes. If any boundary is unclear or false, stop before committing or pushing and report the observed state. Do not infer missing accepted paths or adapt the proof set.

For ordinary work, stage only the files known from the current session. If ownership is unclear, ask the user rather than guessing.

Step 2: Commit

Review recent commit messages for repository style and create one concise commit describing why the bounded change exists. Do not add model or tool co-author footers unless established repository history requires them.

In accepted validation-proof mode, create exactly one direct successor of P. Before pushing, verify that it has sole parent P and that P..HEAD is the exact accepted tests-only diff. An expected focused test failure is proof evidence, not commit failure or merge readiness.

Read the full file on GitHub · 70 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. 3d ago First seen · 70 lines · 15 tokens per session scan A 4928405650a8

Subscribe to this mod's changes

mach12:push is a command published in the GitHub repository LeanAndMean/scramjet (5 stars, last pushed 6d ago), licensed Apache-2.0. It adds 15 tokens to every session and 945 once invoked, about $0.0001 per session on Opus 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-08-31.