setup-git

setup-git is a skill for Claude Code, Codex from PacificStudio/openase. It costs 20 tokens per session (144 once invoked), scanned A, original, Apache-2.0.

A setup and repair routine for Git, a tool used to track code changes and collaborate on software projects.

In plain words
What is it for?
Installing Git, setting the minimum name and email configuration, repairing credentials when needed, and checking that basic Git operations work.
Why use it?
It removes basic Git setup problems, such as missing author details or authentication failures, before agent work starts.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Installing Git, setting the minimum name and email configuration, repairing credentials when needed, and checking that basic Git operations work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pacificstudio/openase/setup-git
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 PacificStudio/openase --skill setup-git
Clone the repo
git clone --depth 1 https://github.com/PacificStudio/openase

Made for: Claude Code, 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 setup-git

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/pacificstudio/openase/setup-git"><img src="https://agentmods.dev/badge/skills/pacificstudio/openase/setup-git.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 144 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.00020 $0.00144
Opus 5.5 $0.00008 $0.00058
Sonnet 5.5 $0.00004 $0.00029
Haiku 4.5 $0.00002 $0.00014

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

Security

Grade A, and why

setup-git 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.

internal/builtin/skills/setup-git/SKILL.md · 16 lines

What it actually says

Setup Git

Goal: make the target machine provide a working git and fill in the minimum identity configuration.

Follow this process:

  • Check whether git --version works. If not, install git first.
  • Check git config --global user.name and git config --global user.email; fill them in from ticket context when missing.
  • Repair Git authentication only when there is a real credential problem, and avoid overwriting an already working setup.
  • Finish with non-destructive commands that confirm the basic Git flow works, and record the effective configuration.
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 · 16 lines · 20 tokens per session scan A 1d998377bf34

Subscribe to this mod's changes

setup-git is a skill published in the GitHub repository PacificStudio/openase (269 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 20 tokens to every session and 144 once invoked, about $0.0001 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-30.

Related

Other skills, from other repositories

open-code-review

Performs AI-powered code review on Git changes using the ocr CLI from alibaba/open-code-review. Use when the user asks to review code, review a pull request, review staged/unstaged changes, review a commit, or compare branches for code quality issues. Produces line-level review comments and can automatically apply…

alibaba/open-code-review · 98 tokens

baby-sit

Monitor a GitHub pull request until CI is green, diagnose failures, and rerun only evidence-backed flaky GitHub Actions jobs.

langchain-ai/open-swe · 30 tokens

git-checkpoint

Use git as a safety net - create a checkpoint commit before risky or large changes and roll back cleanly if a change makes things worse. Use before multi-file refactors.

agentscope-ai/agentscope-java · 39 tokens

git

Git and code hosting platform management — GitHub, GitLab, Codeberg, Forgejo. Zero barrier — install x-cmd and manage repos from the terminal. Use for "git", "github", "gitlab", "repo", "pull request", "code hosting".

x-cmd/x-cmd · 58 tokens

meta-codereview-current-diff

Read the current uncommitted diff, run three independent reviewers (safety + tests-coverage + style) in parallel, then arbitrate a single BLOCK / BLOCKWITHOVERRIDE / PASSWITHNOTES verdict. Use before commit when you want a multi-perspective second-opinion instead of a single-reviewer agent loop.

opensquilla/opensquilla · 73 tokens

git-diff

Capture the current git diff (staged, working-tree, or staged file list) as text. Direct shell call for workflows that need repository diffs without an LLM agent loop.

opensquilla/opensquilla · 41 tokens