git-repo-run

git-repo-run is a skill for Claude Code, Codex from Xakki/ai-agents-skills. It costs 75 tokens per session (1,056 once invoked), scanned A, original, MIT.

A guide for carrying out scoped Git work, including staging, committing, branching, pushing, and preparing pull requests. Git is the system developers use to track changes, while a pull request proposes changes for review.

In plain words
What is it for?
It helps inspect repository state, select exact files or changes, create verified commits, manage branches, push authorized updates, and review repair commits.
Why use it?
It reduces accidental commits of unrelated or private work and helps preserve changes already staged by other contributors.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the ai-agents-skills plugin — 65 skills, 3 agents, 6 hooks shipped together

Good fit It helps inspect repository state, select exact files or changes, create verified commits, manage branches, push authorized updates, and review repair commits.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xakki/ai-agents-skills/git-repo-run
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 Xakki/ai-agents-skills --skill git-repo-run
Clone the repo
git clone --depth 1 https://github.com/Xakki/ai-agents-skills

Made for: Claude Code, Codex.

Or install ai-agents-skills, the plugin that ships this one along with the rest of its 65 skills, 3 agents, 6 hooks.

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 git-repo-run

README.md
[![agentmods](https://agentmods.dev/badge/skills/xakki/ai-agents-skills/git-repo-run/github.svg)](https://agentmods.dev/skills/xakki/ai-agents-skills/git-repo-run)
Your own site
<a href="https://agentmods.dev/skills/xakki/ai-agents-skills/git-repo-run"><img src="https://agentmods.dev/badge/skills/xakki/ai-agents-skills/git-repo-run/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 git-repo-run

Your own site · 80×15
<a href="https://agentmods.dev/skills/xakki/ai-agents-skills/git-repo-run"><img src="https://agentmods.dev/badge/skills/xakki/ai-agents-skills/git-repo-run.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,056 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.
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.00075 $0.01056
Opus 5.5 $0.00030 $0.00422
Sonnet 5.5 $0.00015 $0.00211
Haiku 4.5 $0.00007 $0.00106

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

Security

Grade A, and why

git-repo-run 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 27d 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.

skills/git-repo-run/SKILL.md · 33 lines

How it starts

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

Git work: scoped commits, branches, merges, pull requests

Use for Git operations that need a clear scope, preservation of existing work, or verification of a commit or ref. Follow the user, repository and runtime policy for the current task; loading this skill does not grant permission to commit, rewrite history, push, merge, deploy or contact others.

  1. Resolve the exact repository, worktree, current branch, destination and requested operation. Preserve the current branch unless the task or project policy requires another; do not infer a branch, remote or publication target from an example.
  2. Before mutation, inspect the authorized worktree and staged state at an appropriate scope. Distinguish existing changes, other agents' work and private files; do not read or stage content outside the permitted boundary. Coordinate overlapping writers (see git-worktree-guard) and preserve pre-existing index entries.
  3. Stage only the authorized paths and changes. Check the complete staged diff and path list before committing: selecting paths to add does not remove other entries already staged. Handle mixed hunks and partially staged files without silently adding unrelated work.
  4. Preserve the requested commit subject, body and trailers exactly; do not add attribution or other trailers unless requested or required by applicable project policy. Keep normal hooks and signing requirements enabled. Use message and staging guidance when the message or index needs careful handling.
  5. For an authorized commit, verify its ID, message, parents and affected paths against the intended result; separately report remaining work and failed or skipped checks. Do not amend or rewrite history without the necessary authorization.
  6. For merge, rebase, push, PR or deployment, verify the actual source and target and the authorization for each effect. Recheck the relevant refs before an authorized publication and confirm its result. A successful commit or local check is not evidence of remote publication or deployment.

Read the full file on GitHub · 33 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. 27d ago First seen · 33 lines · 75 tokens per session scan A e129a0d30531

Subscribe to this mod's changes

git-repo-run is a skill published in the GitHub repository Xakki/ai-agents-skills (6 stars, last pushed 7d ago), licensed MIT. It adds 75 tokens to every session and 1,056 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-11-03.

Related

git-repo-run compared with skills from other repositories

git-repo-run next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
git-repo-runXakki/ai-agents-skillsSkill67d agoMITA75Claude Code, Codex
merge-queuea5c-ai/babysitterSkill1.9k29d agoMITA29Claude Code
pr-green-sweepjscraik/Agent-SkillsSkill106d agoApache-2.0A57Claude Code, Codex
pull-requestolehsvyrydov/AI-development-teamSkill1811d agoMITA78Claude Code
resolving-merge-conflictsVoDaiLocz/kilo-kit-mcpSkill2815d agoApache-2.0A23Claude Code, Codex
review-implement-phaseprisma/ormSkill48ktodayApache-2.0A38Claude Code
github-pr-workflowpaperclipai/paperclipSkill118ktodayMITA39Claude Code, Codex