push

push is a skill for Claude Code from technicalpickles/pickled-claude-plugins. It costs 69 tokens per session (602 once invoked), scanned A, original, MIT.

Guidance for running Git push and diagnosing failures when sending local commits to a remote repository. It separates connection problems, Git hook checks, and branch-history errors.

In plain words
What is it for?
Use it to investigate rejected pushes, SSH key errors, failed pre-push tests, and non-fast-forward errors.
Why use it?
It helps identify whether a push failed because of SSH access, automated checks, or a branch that needs updating.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the git plugin — 9 skills shipped together

Good fit Use it to investigate rejected pushes, SSH key errors, failed pre-push tests, and non-fast-forward errors.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/technicalpickles/pickled-claude-plugins/push
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 technicalpickles/pickled-claude-plugins --skill push
Clone the repo
git clone --depth 1 https://github.com/technicalpickles/pickled-claude-plugins

Made for: Claude Code.

Or install git, the plugin that ships this one along with the rest of its 9 skills.

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 push

README.md
[![agentmods](https://agentmods.dev/badge/skills/technicalpickles/pickled-claude-plugins/push/github.svg)](https://agentmods.dev/skills/technicalpickles/pickled-claude-plugins/push)
Your own site
<a href="https://agentmods.dev/skills/technicalpickles/pickled-claude-plugins/push"><img src="https://agentmods.dev/badge/skills/technicalpickles/pickled-claude-plugins/push/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 push

Your own site · 80×15
<a href="https://agentmods.dev/skills/technicalpickles/pickled-claude-plugins/push"><img src="https://agentmods.dev/badge/skills/technicalpickles/pickled-claude-plugins/push.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 602 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00069 $0.00602
Opus 5.5 $0.00028 $0.00241
Sonnet 5.5 $0.00014 $0.00120
Haiku 4.5 $0.00007 $0.00060

Measured 3mo ago against content hash 6daf7adac87a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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 3mo 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.

plugins/git/skills/push/SKILL.md · 57 lines

How it starts

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

Git Push

Preferences for git push, especially diagnosing failures.

Reading push failure output

When git push exits non-zero, output mixes three layers:

  • SSH/transport (key offered, accepted)
  • Hook driver header (lefthook, husky, pre-commit, etc.)
  • Hook output (test/lint/coverage walls)

Identify the failed layer before debugging:

  • lefthook or hook: pre-push → pre-push hook failed; transport was fine
  • Permission denied (publickey) → SSH auth refused
  • ! [rejected] / non-fast-forward → push needs rebase

A wall of test or coverage output is NOT an SSH problem. The hook ran tests, the tests failed, the push was blocked.

pre-push hook failures

Same rules as pre-commit failures in the commit skill: analyze the failures, autofix when possible, ask the user when unclear. Do NOT skip with --no-verify without explicit confirmation.

Debugging SSH

Before adding -v to debug an SSH issue, check whether core.sshCommand is configured:

git config --get core.sshCommand

If it returns nothing, GIT_SSH_COMMAND="ssh -v" git push origin <branch> is fine.

If it returns anything (custom IdentityFile, IdentityAgent, deploy-key flags, etc.), DO NOT use GIT_SSH_COMMAND="ssh -v". It REPLACES core.sshCommand entirely, dropping every flag. Output will look like the wrong keys are being offered, because they are, but only because you removed the constraint.

Append -v to the existing command instead:

GIT_SSH_COMMAND="$(git config core.sshCommand) -v" git push origin <branch>

Background push gotcha

If you started a push with run_in_background and then ran a foreground retry (e.g., because the first looked stuck), the background push may have already succeeded. Before re-investigating "why is push failing":

  1. git -C <worktree> log --oneline origin/<branch>..HEAD. Empty output means the push went through.
  2. Verify retry's cwd: pwd and git rev-parse --show-toplevel.
  3. gh pr view <pr> to see if the commit landed.

Read the full file on GitHub · 57 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. 3mo ago First seen · 57 lines · 69 tokens per session scan A 6daf7adac87a

Subscribe to this mod's changes

push is a skill published in the GitHub repository technicalpickles/pickled-claude-plugins (13 stars, last pushed 8d ago), licensed MIT. It adds 69 tokens to every session and 602 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-08-31.

Related

push compared with skills from other repositories

push next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pushtechnicalpickles/pickled-claude-pluginsSkill138d agoMITA69Claude Code
ecosystem-managingVidyFoo/antigravity-skill-engineSkill132mo agoMITA27Claude Code, Codex
release-prfabiandistler/agentsSkill2todaynoneA47Claude Code, Codex
releaseu9401066/template-is-all-you-needSkill38mo agoApache-2.0A60Claude Code
git-precommitu9401066/template-is-all-you-needSkill38mo agoApache-2.0A92Claude Code
Worktree Managersmith-horn/product-builder-starterSkill118mo agononeA43Claude Code, Codex
commit-messageLion-1209/Lion-SkillsSkill55mo agoMITA15Claude Code