Borrowing it
Nothing to install: this file belongs to mmnto-ai/totem. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/mmnto-ai/totem/main/.claude/skills/prepush/SKILL.mdgit clone --depth 1 https://github.com/mmnto-ai/totemWrote 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/mmnto-ai/totem/prepush)<a href="https://agentmods.dev/skills/mmnto-ai/totem/prepush"><img src="https://agentmods.dev/badge/skills/mmnto-ai/totem/prepush/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/mmnto-ai/totem/prepush"><img src="https://agentmods.dev/badge/skills/mmnto-ai/totem/prepush.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.00019 | $0.00707 |
| Opus 5.5 | $0.00008 | $0.00283 |
| Sonnet 5.5 | $0.00004 | $0.00141 |
| Haiku 4.5 | $0.00002 | $0.00071 |
Grade A, and why
prepush 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.
What it actually says
Before pushing code:
- Run
pnpm run format— fix any formatting issues - Run
pnpm exec totem lint— the deterministic enforcement floor (zero LLM). Fix any violations before proceeding; the pre-push hook enforces this in every tier. - Run
pnpm exec totem review— supplementary AI lanes over the diff (advisory sensors, not a merge gate). Address critical findings; known limits are disclosed in the run output (LLM window truncation on large diffs; non-code files skipped). Note: in strict/agent hook tiers the pre-push hook also runs this command as a push gate — the advisory framing is about what counts as the review of record, not about whether the hook runs it. - Before any external review bot is invited (the operator triggers them; you never do), drive the local lane to settled over the branch-vs-base diff with
/review-loop, runningtotem review --branch(the scope the hook grades; plaintotem reviewreads the working tree whenever it is dirty): WARN and CRITICAL are actionable, INFO is cosmetic,settledis read from the CLI, never derived, and a disputed finding or the max-rounds advisory stops the loop and is reported, as/review-loopsays (it also configuresreview.lanesfirst; with no lanes there is nothing to settle). When the run names a truncation (the-char review windowline, the file listed as "shown in part" and the files listed as "not shown"), the covariate line describes only the delivered slice, whateversettled=says: review the partly shown file and the unseen files over their commit ranges withtotem review --diff <range>(a range takes no pathspec, so a slice re-includes every file its commits touch and reads deltas, not the end state), stop and disclose when a single commit or file is itself larger than the window, and quote in the round disposition the whole-branchlocal-lane:line PLUS the slice runs and what they left unread, never calling the branch diff reviewed while a tail is unread; a lane that ABSTAINS on a truncated diff is a degraded round, never settled. The slicing this step asks you to do by hand is mmnto-ai/totem#3118, which makes the CLI do it. On mmnto-ai/totem#3114 seven of the nine covariate lines quoted through round 7 readsettled=false, and four of the seven findings of rounds 5 to 7 sat in files the window had cut. - Before a PR's first push, read the changeset's and the body's guarantees against an inventory of what the code still reads from the checkout (the rule manifest, the config, installed packs, anything not read through the diff's revision), and give every disclosed limit its issue when you file it — a limit that points nowhere is a review round waiting to happen (mmnto-ai/totem#3116 was that round).
After all checks pass, proceed with git push. The review command stamps .reviewed-content-hash automatically on PASS.
If any step fails, fix the issue and re-run from step 1.
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.
- yesterday Changed · +2 lines 9052d58e4866
- 1mo ago First seen · 15 lines · 19 tokens per session scan A 14181eeda8e9
prepush is a skill published in the GitHub repository mmnto-ai/totem (18 stars, last pushed today), licensed Apache-2.0. It adds 19 tokens to every session and 707 once invoked, about $0.0001 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-08-30.
Other skills, from other repositories
autofix-pr
Watch a pull request and fix it from a worktree of its own - CI failures, review feedback from trusted authors and merge conflicts are fixed, pushed to the PR branch and answered on the PR under the user's git and gh identity. Usage - /autofix-pr [ | ] [--once] [--every ] [--no-reply] [--yes] [instructions]…
gh-find-prs
Survey open Codewhale PRs and triage each for mergeability and disposition against the real landing branch.
hunk-launch-video
Produces Hunk videos by driving the real TUI headlessly in a PTY, compositing captioned 1080p frames in Chromium, and encoding with ffmpeg. Use for feature demos, workflow explainers, announcements, launch videos, and full-release roundups.
hunk-release
Prepares, publishes, verifies, and curates Hunk releases. Use for release metadata, benchmarks, tags, publishing, release videos, backports, or recovery.
git
Git and code hosting platform management — GitHub, GitLab, Codeberg, Forgejo. Zero barrier — install x-cmd and manage repos from the terminal. Use for "git", "github", "gitlab", "repo", "pull request", "code hosting".
vhs-e2e-gif
Record a test run, a TUI session, or any terminal command as a GIF with VHS and attach it to a GitHub PR as a release-hosted asset, never a repo commit. Use when asked to record an e2e run, demo a fix on a PR, attach a GIF or screen recording to a pull request, show a test passing visually, or produce a terminal…