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.
npx skills add pigfoot/claude-code-hubs --skill commit-push-prgit clone --depth 1 https://github.com/pigfoot/claude-code-hubsWrote 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/pigfoot/claude-code-hubs/commit-push-pr)<a href="https://agentmods.dev/skills/pigfoot/claude-code-hubs/commit-push-pr"><img src="https://agentmods.dev/badge/skills/pigfoot/claude-code-hubs/commit-push-pr/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/pigfoot/claude-code-hubs/commit-push-pr"><img src="https://agentmods.dev/badge/skills/pigfoot/claude-code-hubs/commit-push-pr.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.00051 | $0.00940 |
| Opus 5.5 | $0.00020 | $0.00376 |
| Sonnet 5.5 | $0.00010 | $0.00188 |
| Haiku 4.5 | $0.00005 | $0.00094 |
Grade A, and why
commit-push-pr 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 143 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Commit Push PR Skill
Commits staged/unstaged changes, pushes to remote, and creates a pull request in a single workflow.
Context
- Current git status: !
git status - Current git diff (staged and unstaged): !
git diff HEAD - Current branch: !
git branch --show-current - Recent commits: !
git log --oneline -10
Process
⚠️ CRITICAL: ALWAYS start with Step 1 (Environment Check) before attempting any commit
1. Environment Check (MANDATORY FIRST STEP)
Cache GPG passphrase if available:
if [ -n "$GPG_PASSPHRASE" ]; then
gpg --batch --pinentry-mode loopback \
--passphrase-file <(echo "$GPG_PASSPHRASE") \
--clearsign >/dev/null 2>&1 <<< "test" && echo "GPG passphrase cached" || echo "GPG cache failed"
else
echo "GPG_PASSPHRASE not set - GPG signing will prompt for passphrase"
fi
2. Branch Check
If currently on main or master, create a new branch first:
git checkout -b <descriptive-branch-name>
- Name based on changes:
feat/add-auth,fix/login-bug,docs/update-readme - Use a prefix matching the intended commit type
3. Analyze Changes
Use the context injected above (git status, diff, branch):
- Prefer staged files if any exist; otherwise stage all changes with
git add - For this skill: single commit only — if multi-concern, inform user and let them decide before proceeding
4. Create Commit
git add <relevant-files>
git commit --signoff --gpg-sign -m "<type>: <description>"
Conventional commit format: <type>: <description> (imperative mood, <72 chars)
5. Push
git push -u origin HEAD
6. Create PR
gh pr create --title "<commit-message>" --body "$(cat <<'EOF'
## Summary
- <key change 1>
- <key change 2>
## Test plan
- [ ] Verify <main behavior>
EOF
)"
- PR title = commit message (same text)
- Body: bullet summary of changes + basic test checklist
- Return the PR URL to the user
Commit Types
| Type | Use Case |
|---|---|
| feat | New feature |
| fix | Bug fix |
| docs | Documentation |
| style | Formatting, styling |
| refactor | Code restructure |
| perf | Performance |
| test | Tests |
| chore | Build/tools |
| ci | CI/CD |
| security | Security fix |
| build | Build system |
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.
- 1mo ago First seen · 143 lines · 51 tokens per session scan A 1cb27cace5ad
commit-push-pr is a skill published in the GitHub repository pigfoot/claude-code-hubs (5 stars, last pushed 2mo ago), licensed MIT. It adds 51 tokens to every session and 940 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-08-31.
Other skills, from other repositories
github-automation
GitHub workflow automation, PR management, issue tracking, and code review coordination. Integrates with GitHub Actions and repository management. Use when: PR creation, code review, issue management, release automation, workflow setup. Skip when: local-only changes, non-GitHub repositories.
changelog
Auto-generate a changelog from git commits and sprint data. Internal and player-facing versions.
comet-safe-delivery
A Chinese-language procedure for safely delivering specified Comet changes through Git. It covers checking worktrees and unrelated edits, staging exact files, validating hooks, and authorized commits or pushes.
git-workflow
Guided git workflows: prepare PRs, clean up branches, resolve merge conflicts, handle monorepo tags, squash-and-merge patterns. Use when asked to prepare a PR, clean branches, resolve conflicts, or tag a release.
git-push
A GitHub publishing workflow that handles first-time uploads, routine updates, and tagged releases. Git is a system for recording code changes, while GitHub hosts repositories and releases online.
close-task-commit-push-pr
Close the active backlog task (detected from branch name), commit all changes, push to remote, and open a pull request. Use when the user says "close task and ship it", "close task commit push pr", or invokes /close-task-commit-push-pr.