commit-push-pr

commit-push-pr is a skill for Claude Code from jh941213/codex-lattice. It costs 99 tokens per session (611 once invoked), scanned B, original, MIT.

A workflow for committing Git changes, pushing a branch to a remote repository, and opening a pull request. A pull request is a proposed change that others can review before it is merged.

In plain words
What is it for?
Use it when a finished change needs a commit, a remote branch, and a GitHub pull request.
Why use it?
It adds checks against committing directly to the main branch or accidentally including sensitive files, and it records tests and the reason for the change.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads ~/.codex paths; mentions Codex.

Good fit Use it when a finished change needs a commit, a remote branch, and a GitHub pull request.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jh941213/codex-lattice/commit-push-pr
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 jh941213/codex-lattice --skill commit-push-pr
Clone the repo
git clone --depth 1 https://github.com/jh941213/codex-lattice

Made for: Claude Code.

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 commit-push-pr

README.md
[![agentmods](https://agentmods.dev/badge/skills/jh941213/codex-lattice/commit-push-pr/github.svg)](https://agentmods.dev/skills/jh941213/codex-lattice/commit-push-pr)
Your own site
<a href="https://agentmods.dev/skills/jh941213/codex-lattice/commit-push-pr"><img src="https://agentmods.dev/badge/skills/jh941213/codex-lattice/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.

agentmods 80×15 button for commit-push-pr

Your own site · 80×15
<a href="https://agentmods.dev/skills/jh941213/codex-lattice/commit-push-pr"><img src="https://agentmods.dev/badge/skills/jh941213/codex-lattice/commit-push-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 611 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.00099 $0.00611
Opus 5.5 $0.00040 $0.00244
Sonnet 5.5 $0.00020 $0.00122
Haiku 4.5 $0.00010 $0.00061

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

Security

Grade B, and why

commit-push-pr 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 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

`~/.codex/config.toml`의 `commit_attribution`을 설정했다면 그 값을 따른다.
skills/commit-push-pr/SKILL.md · 89 lines

What it actually says

커밋, 푸시, PR 생성

현재 변경사항을 커밋하고 푸시한 후 PR을 생성합니다.

Step 1: 사전 검증

# 현재 브랜치 확인 — main/master면 STOP
BRANCH=$(git branch --show-current)
if [ "$BRANCH" = "main" ] || [ "$BRANCH" = "master" ]; then
  echo "BLOCKED: main/master 브랜치에서 직접 커밋 금지"
  exit 1
fi

# 상태 확인
git status
git diff --stat
git log --oneline -5

Step 2: 위험 파일 확인

# 민감한 파일이 staged 되었는지 검사
git diff --cached --name-only | grep -E '\.(env|pem|key|credentials)' && echo "WARNING: 민감 파일 포함!"

Step 3: 커밋

# 변경 파일 선택적 staging (git add -A 지양)
git add [specific-files]

# 커밋 메시지 작성
git commit -m "$(cat <<'EOF'
[타입] 제목 (50자 이내)

본문 (선택 — 무엇이 아닌 왜를 설명)

Co-Authored-By: Codex <[email protected]>
EOF
)"

Codex 기본 attribution을 쓰는 경우:

Co-Authored-By: Codex <[email protected]>

~/.codex/config.toml의 commit_attribution을 설정했다면 그 값을 따른다.

타입: feat, fix, docs, style, refactor, test, chore

Step 4: 푸시

# 원격 브랜치 설정 + 푸시
git push -u origin $(git branch --show-current)

Step 5: PR 생성

gh pr create --title "[타입] 제목" --body "$(cat <<'EOF'
## 요약
- 변경 내용 1
- 변경 내용 2

## 테스트
- [ ] typecheck 통과
- [ ] lint 통과
- [ ] test 통과
EOF
)"

출력

완료 시 PR URL을 반환합니다.

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. 1mo ago First seen · 89 lines · 99 tokens per session scan B b6eb94b3eb53

Subscribe to this mod's changes

commit-push-pr is a skill published in the GitHub repository jh941213/codex-lattice (19 stars, last pushed 5mo ago), licensed MIT. It adds 99 tokens to every session and 611 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

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.

ruvnet/ruflo · 61 tokens

changelog

Auto-generate a changelog from git commits and sprint data. Internal and player-facing versions.

Donchitos/Claude-Code-Game-Studios · 22 tokens

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.

rpamis/comet · 78 tokens

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.

jezweb/claude-skills · 52 tokens

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.

yunshu0909/yunshu_skillshub · 223 tokens

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.

devoxx/DevoxxGenieIDEAPlugin · 64 tokens