commit-push

commit-push is a skill for Codex from OutlineDriven/outline-driven-development. It costs 49 tokens per session (2,147 once invoked), scanned A, original, Apache-2.0.

A Git workflow for committing changes on a feature branch and pushing that branch to the remote repository, without opening a pull request. Git is a system for tracking code changes, branches, and shared history.

In plain words
What is it for?
It is for publishing committed work to a feature branch, checking the working tree, and confirming that the branch matches its remote after the push.
Why use it?
It provides a controlled commit-and-push process and avoids force-pushing or changing the remote until the stated gate is satisfied.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: names the AskUserQuestion tool; mentions Claude Code; mentions Codex.

Good fit It is for publishing committed work to a feature branch, checking the working tree, and confirming that the branch matches its remote after the push.

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

Made for: Codex.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/outlinedriven/outline-driven-development/commit-push"><img src="https://agentmods.dev/badge/skills/outlinedriven/outline-driven-development/commit-push.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,147 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 15
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
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.00049 $0.02147
Opus 5 $0.00024 $0.01073
Sonnet 5 $0.00010 $0.00429
Haiku 4.5 $0.00005 $0.00215

Measured 3d ago against content hash 97cfe9960696, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

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

.devin/skills/commit-push/SKILL.md · 59 lines

How it starts

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

Commit and push

Commit the working tree and push the branch to origin, with no pull request. Commit authoring belongs to commit. This skill adds branch placement and the push.

Contract

Field Bound contract
Trigger User asks to commit changes and push or publish them, and does not ask for a pull request.
Authority Human-gated: the write set is local commits, at most one local feature branch, and one push to origin/<branch>. The skill states the mutation set (push target and commit list) before the push. Rollback is git reset --hard <prior-HEAD> for new commits and git branch -D <branch> for a branch this skill created. A pushed commit is reverted, never removed. No remote mutation without the gate.
Side effect Local commits, at most one local feature branch, and one git push to origin. No pull request. No force push.
Done The working tree is committed and the branch is pushed: git status --porcelain is empty and git rev-list --left-right --count origin/<branch>...HEAD prints 0 0.

Inputs

  • Working-tree state (git status, git diff HEAD): required, gathered by the skill.
  • Current branch and recent history (git branch --show-current, git log --oneline -10): required, gathered by the skill.
  • Remote default branch (git rev-parse --abbrev-ref origin/HEAD, then git ls-remote --symref origin HEAD, then gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name' verified against git ls-remote --heads origin <default>): required for branch placement. When every resolver fails, the skill stops; a default branch is never guessed.
  • User decision in detached HEAD state: required only when the repository is in detached HEAD.
  • User decision on unpushed local default-branch commits: required only when the local default branch is ahead of origin/<default> at branch creation.

Procedure

  1. Gather context: run git status, git diff HEAD, git branch --show-current, git log --oneline -10, git remote, and git rev-parse --abbrev-ref origin/HEAD 2>/dev/null || echo DEFAULT_BRANCH_UNRESOLVED. When git remote lists no origin, skip the resolution: nothing will be pushed. If HEAD is detached, still run the step 2 detached-HEAD decision; then commit on the current branch at step 4 and end at the step 5 local-only report. Do not classify against a default. Otherwise, strip the origin/ prefix from the default branch; treat DEFAULT_BRANCH_UNRESOLVED or bare HEAD as unresolved. When unresolved, run git ls-remote --symref origin HEAD and take the branch named by the first ref: refs/heads/<name> line. When that fails too, run gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name' and accept its name only when git ls-remote --heads origin <name> lists it. When every resolver fails, report DEFAULT_BRANCH_UNRESOLVED and stop; never guess main or any other default. Done when: tree state, branch, recent history, and default branch are known, or the skill has stopped.
  2. Classify the branch state. Done when: HEAD is on the branch that will be pushed, or the skill has stopped.
    • Detached HEAD (empty branch name): ask whether to create a feature branch. Use the platform blocking question tool (AskUserQuestion in Claude Code, request_user_input in Codex, ask_question in Antigravity, ask_user in Pi). Fall back to chat only when no blocking tool exists or the call errors. On no, stop. On yes, derive the typed branch name per commit and run git checkout -b <branch>.
    • Default branch, no work (clean tree, nothing unpushed): report nothing to do and stop.
    • Default branch with work: create a feature branch by step 3. Do not ask. Pushing the default branch is not supported here.
    • Feature branch: continue at step 4.
  3. Create the feature branch from a fresh default tip. A stale local default forks the branch from old history. Run git fetch --no-tags origin refs/heads/<default>:refs/remotes/origin/<default> (the explicit refspec materializes the tracking ref even on a single-branch clone), then git log origin/<default>..HEAD --oneline. Empty output: the base is origin/<default>. Non-empty output: show the list and ask, with the blocking question tool, whether to carry those commits onto the new branch (base HEAD) or leave them on the local default (base origin/<default>). Never pick silently. Derive the typed branch name per commit and run git checkout -b <branch> <base>. If checkout refuses because uncommitted changes would be overwritten, run git stash push -u -m "commit-push: pre-branch <branch>", repeat the checkout, then git stash pop. If the fetch fails, report and stop; do not branch from HEAD or from an unverified base. Done when: git branch --show-current prints the new branch and the working tree carries the work.
  4. Author the commits with commit. Its message conventions, atomicity rules, and staging discipline apply. Do not restate them here. Its default-branch auto-branching is already satisfied by step 3. Done when: commit reports the working tree committed, or reports nothing to commit.
  5. Detect the remote with git remote. If no origin remote exists (empty output, or other remotes but none named origin), do not push and do not add or guess a remote. Report local-only and stop. Done when: origin is confirmed present, or the local-only result is reported.
  6. Preview the push and wait for explicit human approval. Detect a branch new to origin by observing the remote: git ls-remote --heads origin <branch>. Non-empty output means the branch exists; empty output means it is new; a failed call means the remote cannot be observed, so report and stop without pushing. Existing branch: refresh the tracking tip with git fetch --no-tags origin refs/heads/<branch>:refs/remotes/origin/<branch>; when the fetch fails, report and stop without pushing. List git log --oneline origin/<branch>..HEAD. New branch: say so, then list the full commit range git log --oneline origin/<default>..HEAD; origin/<default> comes from the step 3 fetch when this skill created the branch, otherwise materialize it first with git fetch --no-tags origin refs/heads/<default>:refs/remotes/origin/<default>. When no fetched base exists (that fetch failed and origin/<default> is absent), report and stop without pushing; never fall back to an unanchored or truncated listing. Show the target and the commit list, then wait for the human to approve the exact mutation set (platform blocking question tool, chat fallback). On no answer or refusal, stop with nothing pushed. After approval, re-run the listing and confirm it is unchanged; on any difference, re-preview the new set and wait again. Then push with git push -u origin HEAD. Never force-push. Done when: the push is accepted, or the rejection or a stop is reported.
  7. Verify: git status --porcelain is empty and git rev-list --left-right --count origin/<branch>...HEAD prints 0 0. Done when: both read clean, or the residue is reported.

Read the full file on GitHub · 59 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 59 lines · 49 tokens per session scan A 97cfe9960696

Subscribe to this mod's changes

commit-push is a skill published in the GitHub repository OutlineDriven/outline-driven-development (52 stars, last pushed 3d ago), licensed Apache-2.0. It adds 49 tokens to every session and 2,147 once invoked, about $0.0002 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-09-06.

Related

Other skills, from other repositories

commit-push-pr

Use when asked to commit, push a feature branch, and open or update a pull request with gh in one pass. Not for a push with no PR: use commit-push. Not for a PR body alone: use create-pull-request.

OutlineDriven/odin-claude-plugin · 55 tokens

commit

Use when asked to commit changes, create a typed branch, format history for a changelog, or rewrite messages of HEAD or an unpushed range. Not for pushing or a PR: use commit-push or commit-push-pr.

OutlineDriven/odin-claude-plugin · 50 tokens

git-branchless

Use when asked for multi-commit stack edits, rebases, fixups, or stacked-PR publishing with branchless git idioms. Not for plain-git workflows in repos without branchless.

OutlineDriven/odin-claude-plugin · 45 tokens

publish-branch

Use when asked to publish the checked-out branch: commit and push it on whatever branch it is, the default branch included. Not for creating branches, PRs, force pushes, or pushing any other branch; when the request excludes the default branch, use commit-push-current.

OutlineDriven/odin-claude-plugin · 60 tokens

commit-push

Use when asked to commit and push to a feature branch off the default branch, with no pull request. Not for a PR: use commit-push-pr. Not for the checked-out branch: use commit-push-current.

OutlineDriven/odin-claude-plugin · 49 tokens

commit-push-current

Use when a human explicitly asks to commit and push to the checked-out branch, with no branch creation and no pull request. Not for the default branch by name: use commit-push-main.

OutlineDriven/odin-claude-plugin · 44 tokens